@interface urlConnectionExample {
NSOperationQueue *queue;
}
@implementation urlConnectionExample {
-(void) urlConnection {
queue = [[NSOperationQueue alloc] init];
URLConnectionOperation *plo = [[URLConnectionOperation alloc]
initWithURL:urlpath]; // class to establish connection
[queue addOperation:plo];
[plo release];
[queue release];
No comments:
Post a Comment