{"action":"closed","issue":{"url":"https://api.github.com/repos/StefanLage/SLPagingView/issues/10","labels_url":"https://api.github.com/repos/StefanLage/SLPagingView/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/StefanLage/SLPagingView/issues/10/comments","events_url":"https://api.github.com/repos/StefanLage/SLPagingView/issues/10/events","html_url":"https://github.com/StefanLage/SLPagingView/issues/10","id":55742268,"number":10,"title":"Use without auto layout?","user":{"login":"komocode","id":226526,"avatar_url":"https://avatars.githubusercontent.com/u/226526?v=3","gravatar_id":"","url":"https://api.github.com/users/komocode","html_url":"https://github.com/komocode","followers_url":"https://api.github.com/users/komocode/followers","following_url":"https://api.github.com/users/komocode/following{/other_user}","gists_url":"https://api.github.com/users/komocode/gists{/gist_id}","starred_url":"https://api.github.com/users/komocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/komocode/subscriptions","organizations_url":"https://api.github.com/users/komocode/orgs","repos_url":"https://api.github.com/users/komocode/repos","events_url":"https://api.github.com/users/komocode/events{/privacy}","received_events_url":"https://api.github.com/users/komocode/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-28T11:04:54Z","updated_at":"2015-02-14T10:37:22Z","closed_at":"2015-02-14T10:37:22Z","body":"Wondering if we can use this without auto constraints? I'm going to be targeting only the iPhone 5 screen so using autoresizing masks (springs/struts) is much faster than setting up constraints.\r\n\r\nI tried using it without auto constraints, but I'm getting this error: \r\n```\r\nThe view hierarchy is not prepared for the constraint: <NSLayoutConstraint:0x7d166fe0 H:[UIView:0x7d160ef0]-(0)-[UIView:0x7d161970]>\r\n\tWhen added to a view, the constraint's items must be descendants of that view (or the view itself). This will crash if the constraint needs to be resolved before the view hierarchy is assembled. Break on -[UIView _viewHierarchyUnpreparedForConstraint:] to debug.\r\nAssertion failure in -[UIScrollView _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:], /SourceCache/UIKit_Sim/UIKit-3318.16.14/NSLayoutConstraint_UIKitAdditions.m:560\r\nTerminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Impossible to set up layout with view hierarchy unprepared for constraint.'\r\n```"}}