Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. @interface Weibo : NSObject
  2. + (Weibo*)weibo;
  3. @end
  4.  
  5. let w = Weibo.weibo() as Weibo
  6.  
  7. let w = Weibo.getWeibo() as Weibo // the method has been changed.
  8.  
  9. let w:Weibo = Weibo.weibo()
  10.  
  11. let w:Weibo = Weibo.getWeibo() // works: method name changed
  12.  
  13. let w = Weibo.weibo()
  14.  
  15. let w:Weibo = Weibo.weibo() as Weibo
  16.  
  17. +(instancetype _Nonnull)manager;
  18.  
  19. @property(nonatomic, class, strong, readonly) CKKNetManager *_Nonnull manager;
  20.  
  21. CKKNetManager.manager.get(kGetCompanyInfo, success: {[unowned self] (obj) in
  22.  
  23. self.hideEmptyView()
  24. self.info = CKKCorpInfo.init(dictionary: obj as! [String : AnyObject])
  25. }) {[unowned self] (errorString) in
  26.  
  27. self.showEmptyView(in: self.view, with: EmptyViewType.pageLoadFailed)
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement