{"action":"created","issue":{"url":"https://api.github.com/repos/SnapKit/SnapKit/issues/216","repository_url":"https://api.github.com/repos/SnapKit/SnapKit","labels_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/216/comments","events_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/216/events","html_url":"https://github.com/SnapKit/SnapKit/pull/216","id":143466234,"number":216,"title":"Removed Prefixed APIs","user":{"login":"MP0w","id":1812932,"avatar_url":"https://avatars.githubusercontent.com/u/1812932?v=3","gravatar_id":"","url":"https://api.github.com/users/MP0w","html_url":"https://github.com/MP0w","followers_url":"https://api.github.com/users/MP0w/followers","following_url":"https://api.github.com/users/MP0w/following{/other_user}","gists_url":"https://api.github.com/users/MP0w/gists{/gist_id}","starred_url":"https://api.github.com/users/MP0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MP0w/subscriptions","organizations_url":"https://api.github.com/users/MP0w/orgs","repos_url":"https://api.github.com/users/MP0w/repos","events_url":"https://api.github.com/users/MP0w/events{/privacy}","received_events_url":"https://api.github.com/users/MP0w/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-25T09:42:02Z","updated_at":"2016-03-29T07:46:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SnapKit/SnapKit/pulls/216","html_url":"https://github.com/SnapKit/SnapKit/pull/216","diff_url":"https://github.com/SnapKit/SnapKit/pull/216.diff","patch_url":"https://github.com/SnapKit/SnapKit/pull/216.patch"},"body":"Swift should use static dispatch for methods, properties and functions that use features not available in objc, instead for categories of objc types and methods that are @objc (will use dynamic dispatch) we can use `@objc(snp_method) func method()` to make sure we don't override private APIs\r\n\r\nWould you consider this Breaking change? It looks like useless to use prefixes in swift extension [except  some cases](https://pspdfkit.com/blog/2016/surprises-with-swift-extensions/) where @objc(prefix_name) can be used"},"comment":{"url":"https://api.github.com/repos/SnapKit/SnapKit/issues/comments/202765140","html_url":"https://github.com/SnapKit/SnapKit/pull/216#issuecomment-202765140","issue_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/216","id":202765140,"user":{"login":"MP0w","id":1812932,"avatar_url":"https://avatars.githubusercontent.com/u/1812932?v=3","gravatar_id":"","url":"https://api.github.com/users/MP0w","html_url":"https://github.com/MP0w","followers_url":"https://api.github.com/users/MP0w/followers","following_url":"https://api.github.com/users/MP0w/following{/other_user}","gists_url":"https://api.github.com/users/MP0w/gists{/gist_id}","starred_url":"https://api.github.com/users/MP0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MP0w/subscriptions","organizations_url":"https://api.github.com/users/MP0w/orgs","repos_url":"https://api.github.com/users/MP0w/repos","events_url":"https://api.github.com/users/MP0w/events{/privacy}","received_events_url":"https://api.github.com/users/MP0w/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T07:46:44Z","updated_at":"2016-03-29T07:46:44Z","body":"I will ask clarifications in the swift evolution, I'm not understanding why two methods with the same name are non ambiguous but 2 properties or 1 method and 1 property are ambiguous.\r\n```\r\nextension Array {\r\n    var test: Int { return 1 }\r\n\r\n    func test() -> String { return \"\" }\r\n}\r\n```\r\n\r\nI'm also wondering if then it would be cleaner to move the risky-properties somewhere else and keep what we can un-prefixed, like:\r\n```\r\nview.snp.height\r\n```"}}