Skip to content

Do something with the NetworkManager (use NSOperation)

License

Notifications You must be signed in to change notification settings

dangdangfeng/NetworkManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NetworkManager

###Description

Do something with the NetworkManager (use NSOperation)

###Use:

[[NetworkManager sharedNetworkManager] requestWithTarget:self completeHandler:@selector(requestFinished:) errorHandler:@selector(requestError)];

####Done:

- (void)requestFinished:(id)sender{
NSLog(@"%@",sender);
}

- (void)requestError:(id)sender{
NSLog(@"%@",sender);
}

###How Do It?

USE NSOperation ; NSOperationQueue ; NSURLConnection ; NSURLSession

About

Do something with the NetworkManager (use NSOperation)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published