{"action":"created","issue":{"url":"https://api.github.com/repos/tomvanzummeren/TZStackView/issues/61","labels_url":"https://api.github.com/repos/tomvanzummeren/TZStackView/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/tomvanzummeren/TZStackView/issues/61/comments","events_url":"https://api.github.com/repos/tomvanzummeren/TZStackView/issues/61/events","html_url":"https://github.com/tomvanzummeren/TZStackView/pull/61","id":118928589,"number":61,"title":"Add a polyfill for Objective-C to select TZStackView only when UIStackView is Unavailable","user":{"login":"fbartho","id":209712,"avatar_url":"https://avatars.githubusercontent.com/u/209712?v=3","gravatar_id":"","url":"https://api.github.com/users/fbartho","html_url":"https://github.com/fbartho","followers_url":"https://api.github.com/users/fbartho/followers","following_url":"https://api.github.com/users/fbartho/following{/other_user}","gists_url":"https://api.github.com/users/fbartho/gists{/gist_id}","starred_url":"https://api.github.com/users/fbartho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbartho/subscriptions","organizations_url":"https://api.github.com/users/fbartho/orgs","repos_url":"https://api.github.com/users/fbartho/repos","events_url":"https://api.github.com/users/fbartho/events{/privacy}","received_events_url":"https://api.github.com/users/fbartho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-25T21:42:01Z","updated_at":"2015-12-01T12:18:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tomvanzummeren/TZStackView/pulls/61","html_url":"https://github.com/tomvanzummeren/TZStackView/pull/61","diff_url":"https://github.com/tomvanzummeren/TZStackView/pull/61.diff","patch_url":"https://github.com/tomvanzummeren/TZStackView/pull/61.patch"},"body":"This messes with xcode's preprocessor and the Objective-C runtime so that you as a developer can just write UIStackView, and not worry about the fact that TZStackView is used under the hood when you're on older-iOS Versions.\r\n\r\nThen when you're ready to drop iOS 8.x, you can just delete TZStackView and none of the rest of your code will need to change."},"comment":{"url":"https://api.github.com/repos/tomvanzummeren/TZStackView/issues/comments/160951465","html_url":"https://github.com/tomvanzummeren/TZStackView/pull/61#issuecomment-160951465","issue_url":"https://api.github.com/repos/tomvanzummeren/TZStackView/issues/61","id":160951465,"user":{"login":"CosynPa","id":6405696,"avatar_url":"https://avatars.githubusercontent.com/u/6405696?v=3","gravatar_id":"","url":"https://api.github.com/users/CosynPa","html_url":"https://github.com/CosynPa","followers_url":"https://api.github.com/users/CosynPa/followers","following_url":"https://api.github.com/users/CosynPa/following{/other_user}","gists_url":"https://api.github.com/users/CosynPa/gists{/gist_id}","starred_url":"https://api.github.com/users/CosynPa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CosynPa/subscriptions","organizations_url":"https://api.github.com/users/CosynPa/orgs","repos_url":"https://api.github.com/users/CosynPa/repos","events_url":"https://api.github.com/users/CosynPa/events{/privacy}","received_events_url":"https://api.github.com/users/CosynPa/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T12:18:54Z","updated_at":"2015-12-01T12:18:54Z","body":"It it never guaranteed that a TZStackView has exactly the same behavior as a UIStackView. I think using UIStackView in iOS 9 and replacing it with TZStackView prior to iOS 8 is dangerous. And your approach would become very confusing if both Objective-C and Swift were used."}}