Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. @interface ViewController : UIViewController
  2.  
  3. @end
  4.  
  5. @implementation ViewController
  6.  
  7. - (void)viewDidLoad {
  8. [superviewDidLoad];
  9. // 別スレッドを起動させたい所で起動
  10. NSThread* thread;
  11. thread = [[[NSThread alloc] initWithTarget:self selector:@selector(loadRssAndShowToUI) object:nil] autorelease];
  12. [thread start];
  13. }
  14.  
  15. // 別スレッドで処理を行う
  16. -(void)loadRssAndShowToUI {
  17.  
  18. }
  19.  
  20. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement