{"action":"created","issue":{"url":"https://api.github.com/repos/smileyborg/PureLayout/issues/69","labels_url":"https://api.github.com/repos/smileyborg/PureLayout/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/smileyborg/PureLayout/issues/69/comments","events_url":"https://api.github.com/repos/smileyborg/PureLayout/issues/69/events","html_url":"https://github.com/smileyborg/PureLayout/issues/69","id":87117842,"number":69,"title":"Enhancements for iOS 9 & OS X El Capitan","user":{"login":"smileyborg","id":1372557,"avatar_url":"https://avatars.githubusercontent.com/u/1372557?v=3","gravatar_id":"","url":"https://api.github.com/users/smileyborg","html_url":"https://github.com/smileyborg","followers_url":"https://api.github.com/users/smileyborg/followers","following_url":"https://api.github.com/users/smileyborg/following{/other_user}","gists_url":"https://api.github.com/users/smileyborg/gists{/gist_id}","starred_url":"https://api.github.com/users/smileyborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smileyborg/subscriptions","organizations_url":"https://api.github.com/users/smileyborg/orgs","repos_url":"https://api.github.com/users/smileyborg/repos","events_url":"https://api.github.com/users/smileyborg/events{/privacy}","received_events_url":"https://api.github.com/users/smileyborg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/smileyborg/PureLayout/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"smileyborg","id":1372557,"avatar_url":"https://avatars.githubusercontent.com/u/1372557?v=3","gravatar_id":"","url":"https://api.github.com/users/smileyborg","html_url":"https://github.com/smileyborg","followers_url":"https://api.github.com/users/smileyborg/followers","following_url":"https://api.github.com/users/smileyborg/following{/other_user}","gists_url":"https://api.github.com/users/smileyborg/gists{/gist_id}","starred_url":"https://api.github.com/users/smileyborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smileyborg/subscriptions","organizations_url":"https://api.github.com/users/smileyborg/orgs","repos_url":"https://api.github.com/users/smileyborg/repos","events_url":"https://api.github.com/users/smileyborg/events{/privacy}","received_events_url":"https://api.github.com/users/smileyborg/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/smileyborg/PureLayout/milestones/2","html_url":"https://github.com/smileyborg/PureLayout/milestones/v3.0.0","labels_url":"https://api.github.com/repos/smileyborg/PureLayout/milestones/2/labels","id":1159317,"number":2,"title":"v3.0.0","description":"The next major release of PureLayout, with full support for the new Auto Layout APIs in iOS 9 and Mac OS X El Capitan.","creator":{"login":"smileyborg","id":1372557,"avatar_url":"https://avatars.githubusercontent.com/u/1372557?v=3","gravatar_id":"","url":"https://api.github.com/users/smileyborg","html_url":"https://github.com/smileyborg","followers_url":"https://api.github.com/users/smileyborg/followers","following_url":"https://api.github.com/users/smileyborg/following{/other_user}","gists_url":"https://api.github.com/users/smileyborg/gists{/gist_id}","starred_url":"https://api.github.com/users/smileyborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smileyborg/subscriptions","organizations_url":"https://api.github.com/users/smileyborg/orgs","repos_url":"https://api.github.com/users/smileyborg/repos","events_url":"https://api.github.com/users/smileyborg/events{/privacy}","received_events_url":"https://api.github.com/users/smileyborg/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":3,"state":"open","created_at":"2015-06-10T21:42:39Z","updated_at":"2015-08-17T05:17:51Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-06-10T21:46:12Z","updated_at":"2015-08-17T07:13:41Z","closed_at":"2015-08-16T23:40:59Z","body":"There are some new Auto Layout APIs and related changes introduced with iOS 9 and OS X El Capitan that PureLayout will want to take advantage of.\r\n\r\nExact details are still TBD, but here are some links to changes of interest:\r\n\r\n* [NSLayoutAnchor](https://developer.apple.com/library/prerelease/ios/documentation/AppKit/Reference/NSLayoutAnchor_ClassReference/index.html)\r\n  * Related new APIs on [UIView](https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIView_Class/index.html#//apple_ref/doc/uid/TP40006816-CH3-DontLinkElementID_29)/[NSView](https://developer.apple.com/library/prerelease/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/index.html#//apple_ref/doc/uid/20000014-SW71)\r\n* [UILayoutGuide](https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UILayoutGuide_Class_Reference/index.html) and [NSLayoutGuide](https://developer.apple.com/library/prerelease/mac/documentation/AppKit/Reference/NSLayoutGuide_ClassReference/index.html)\r\n  * Related new APIs on [UIView](https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIView_Class/index.html#//apple_ref/doc/uid/TP40006816-CH3-DontLinkElementID_30)/[NSView](https://developer.apple.com/library/prerelease/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/index.html#//apple_ref/doc/uid/20000014-SW210)\r\n* [UIStackView](https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIStackView_Class_Reference/index.html) (and existing OS X counterpart, [NSStackView](https://developer.apple.com/library/mac/documentation/AppKit/Reference/NSStackView_Class/index.html))\r\n\r\nPureLayout will adopt new Objective-C syntax:\r\n\r\n* Nullability annotations\r\n* Generics\r\n\r\nAll the above changes will be made in a backwards-compatible fashion, both for compile time (older versions of Xcode) and runtime (maintaining the existing deployment targets).\r\n\r\nSeparately, for v3.0.0 the existing methods that were deprecated in v2.0.0 will be removed entirely.\r\n\r\n### Current Status\r\n\r\n* [x] Remove deprecated methods 6d20408\r\n* [x] Nullability annotations for all headers b030f4f\r\n* [x] Generics for public headers b030f4f\r\n* [x] Generics in .m files bcd91bf\r\n* [x] Add a new API to batch activate and return constraints. Similar to [this existing API](https://github.com/smileyborg/PureLayout/blob/b030f4f3289271a688d1f67a0fc8b43b675f6d2b/PureLayout/PureLayout/ALView%2BPureLayout.h#L58), but activates all the constraints before returning. c2bcb1f\r\n* [x] Move class methods on UIView/NSView to NSLayoutConstraint 1583f7b\r\n* [x] Investigate new SDK changes and potential impact\r\n  * No direct impact -- the new APIs are complementary to PureLayout."},"comment":{"url":"https://api.github.com/repos/smileyborg/PureLayout/issues/comments/131702671","html_url":"https://github.com/smileyborg/PureLayout/issues/69#issuecomment-131702671","issue_url":"https://api.github.com/repos/smileyborg/PureLayout/issues/69","id":131702671,"user":{"login":"jkyin","id":1644903,"avatar_url":"https://avatars.githubusercontent.com/u/1644903?v=3","gravatar_id":"","url":"https://api.github.com/users/jkyin","html_url":"https://github.com/jkyin","followers_url":"https://api.github.com/users/jkyin/followers","following_url":"https://api.github.com/users/jkyin/following{/other_user}","gists_url":"https://api.github.com/users/jkyin/gists{/gist_id}","starred_url":"https://api.github.com/users/jkyin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkyin/subscriptions","organizations_url":"https://api.github.com/users/jkyin/orgs","repos_url":"https://api.github.com/users/jkyin/repos","events_url":"https://api.github.com/users/jkyin/events{/privacy}","received_events_url":"https://api.github.com/users/jkyin/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T07:13:40Z","updated_at":"2015-08-17T07:13:40Z","body":":+1: "}}