Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @interface Weibo : NSObject
- + (Weibo*)weibo;
- @end
- let w = Weibo.weibo() as Weibo
- let w = Weibo.getWeibo() as Weibo // the method has been changed.
- let w:Weibo = Weibo.weibo()
- let w:Weibo = Weibo.getWeibo() // works: method name changed
- let w = Weibo.weibo()
- let w:Weibo = Weibo.weibo() as Weibo
- +(instancetype _Nonnull)manager;
- @property(nonatomic, class, strong, readonly) CKKNetManager *_Nonnull manager;
- CKKNetManager.manager.get(kGetCompanyInfo, success: {[unowned self] (obj) in
- self.hideEmptyView()
- self.info = CKKCorpInfo.init(dictionary: obj as! [String : AnyObject])
- }) {[unowned self] (errorString) in
- self.showEmptyView(in: self.view, with: EmptyViewType.pageLoadFailed)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement