{"action":"created","issue":{"url":"https://api.github.com/repos/mxcl/PromiseKit/issues/269","labels_url":"https://api.github.com/repos/mxcl/PromiseKit/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/mxcl/PromiseKit/issues/269/comments","events_url":"https://api.github.com/repos/mxcl/PromiseKit/issues/269/events","html_url":"https://github.com/mxcl/PromiseKit/issues/269","id":106878016,"number":269,"title":"UIAlertView promise (PromiseKit 3.0.0)","user":{"login":"warpling","id":220240,"avatar_url":"https://avatars.githubusercontent.com/u/220240?v=3","gravatar_id":"","url":"https://api.github.com/users/warpling","html_url":"https://github.com/warpling","followers_url":"https://api.github.com/users/warpling/followers","following_url":"https://api.github.com/users/warpling/following{/other_user}","gists_url":"https://api.github.com/users/warpling/gists{/gist_id}","starred_url":"https://api.github.com/users/warpling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warpling/subscriptions","organizations_url":"https://api.github.com/users/warpling/orgs","repos_url":"https://api.github.com/users/warpling/repos","events_url":"https://api.github.com/users/warpling/events{/privacy}","received_events_url":"https://api.github.com/users/warpling/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-16T22:40:44Z","updated_at":"2015-09-17T03:09:32Z","closed_at":null,"body":"Hey Max,\r\n\r\nThank you for all the speedy updates. I hate to bother you but I'm stuck in the middle of an upgrade of a Obj-C project to PromiseKit 3.0.0 and could use some help.\r\n\r\nI've been unable to remedy this error: `No visible @interface for 'UIAlertView' declares the selector 'promise'` for my use of:\r\n````\r\nUIAlertView *alert = [UIAlertView …];\r\n[alert promise].then(^(NSNumber *dismissedButtonIndex){...}));\r\n````\r\nAfter multiple pod reinstalls, clean builds, I'm not sure what to try next.\r\n\r\n---\r\nIn this file I import PromiseKit like so:\r\n````\r\n@import PromiseKit;\r\n````\r\n\r\nIn my Podfile I install PromiseKit like this:\r\n````\r\n    use_frameworks! pod 'PromiseKit', :git => 'https://github.com/mxcl/PromiseKit.git', :branch => 'swift-2.0-beta5'\r\n    use_frameworks! pod 'PromiseKit/CoreLocation', :git => 'https://github.com/mxcl/PromiseKit.git', :branch => 'swift-2.0-beta5'\r\n    use_frameworks! pod 'PromiseKit/UIKit', :git => 'https://github.com/mxcl/PromiseKit.git', :branch => 'swift-2.0-beta5'\r\n````"},"comment":{"url":"https://api.github.com/repos/mxcl/PromiseKit/issues/comments/140955690","html_url":"https://github.com/mxcl/PromiseKit/issues/269#issuecomment-140955690","issue_url":"https://api.github.com/repos/mxcl/PromiseKit/issues/269","id":140955690,"user":{"login":"mxcl","id":58962,"avatar_url":"https://avatars.githubusercontent.com/u/58962?v=3","gravatar_id":"","url":"https://api.github.com/users/mxcl","html_url":"https://github.com/mxcl","followers_url":"https://api.github.com/users/mxcl/followers","following_url":"https://api.github.com/users/mxcl/following{/other_user}","gists_url":"https://api.github.com/users/mxcl/gists{/gist_id}","starred_url":"https://api.github.com/users/mxcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxcl/subscriptions","organizations_url":"https://api.github.com/users/mxcl/orgs","repos_url":"https://api.github.com/users/mxcl/repos","events_url":"https://api.github.com/users/mxcl/events{/privacy}","received_events_url":"https://api.github.com/users/mxcl/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T03:09:32Z","updated_at":"2015-09-17T03:09:32Z","body":"You have to import PromiseKit with the old syntax:\r\n\r\n```objc\r\n#import <PromiseKit/PromiseKit.h>\r\n```\r\n\r\nOtherwise none of the categories get imported.\r\n\r\nIt's a limitation of modules."}}