Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @interface ViewController : UIViewController
- @end
- @implementation ViewController
- - (void)viewDidLoad {
- [superviewDidLoad];
- // 別スレッドを起動させたい所で起動
- NSThread* thread;
- thread = [[[NSThread alloc] initWithTarget:self selector:@selector(loadRssAndShowToUI) object:nil] autorelease];
- [thread start];
- }
- // 別スレッドで処理を行う
- -(void)loadRssAndShowToUI {
- }
- @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement