Sample Code:
-(void)ConnectWithRequest:(NSMutableURLRequest*)req{
if(![req isEqual:theRequest]){
[req retain];
[theRequest release];
theRequest = req;
}
XMLConnection = [[XMLWebServiceConnection alloc]init];
Connection=[[NSURLConnection alloc]initWithRequest:theRequest delegate:XMLConnection];
}
In XMLConnection class ...
hi, i want to implement a UIScrollView where paging is enabled and i can just flick through some images. Thats all i want to be able to do for now.
I have done this so far in interface builder: can someone help?
I dont know how to do the rest. Can someone please help me with this. I dont need any zooming functionality. I dont want an...
Hi guys,
I hope you can help with that.
OK i have created new group/folder under Classes - Libs: Classes/Libs and have created class there Msg.h
now I am trying to import it into my RootViewController
#import "Libs/Msg.h"
but I am getting an error:
Libs/Msg.h = no such file or directory
what should i Do ?
cheers,
/marcin
...
I am trying to left justify text on a UIButton. It is middle justified by default. The following doesnt seem to work. Can someone suggest what may work.
aButton.titleLabel.textAlignment = UITextAlignmentLeft;
...
Hi,
I'm a beginner. I tried to get an image from Xml file. When I'm loading a .png file it is getting, but when I'm trying to load a .jpeg image I won't Please help me . Thanks in advance.
The url is http://static.gamesradar.com/images/mb/GamesRadar/us/Games/U/Underworlds/Bulk%20Viewers/iphone/2010-10-12/IMG_0077%20thumb--game_thumbnai...
Hi All,
i created TAb bar programatically in this manner
UITabBarController *tabBarController = [[UITabBarController alloc] init];
contacts *vc1 = [[contacts alloc]init];
vc1.tabBarItem.image=[UIImage imageNamed:@"contacts.png"];
search* vc2 = [[search alloc] init];
vc2.tabBarItem.image=[UIImage imageNamed:@"search...
Hi Guys,
I am facing a problem while displaying the image in iphone. I used the below code but it work only for .png files.
UIImageView* imageView=[[UIImageView alloc] initWithFrame:CGRectMake(6,10, 80, 80)];
imageView.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:customerListObject.custo...
Hey,
Everything is in the title, here some things that I tried :
[[UIApplication sharedApplication] setStatusBarHidden:YES];
[self setWantsFullScreenLayout:YES];
[[self view] setNeedsLayout];
CGRect frame = self.view.frame;
frame.size.height += 20.0;
[[self view] setFrame:frame];
Could you tell me what to do ? I thing it might be...
is any tool is there to retrieve/view datas from .sqllite iphone local database and is there any way to view data without fetching and storing it to tableview.
...
Is there a limitation on the number of files in an iphone app?
My app will contain about 2000 or more text files.Would i be in trouble?
...
Can we update the content of an existing plist file of an iphone app such that the older plist file is replaced by the updated one in the app?
...
Hi ,
I need to order a set of strings in an array to some predefined order , like,If my array contains field [a,b,c,d] then i need to order the elements to a predefined order [c,a,b,d].If the source array miss any element then also i need to order it in predefined manner like if the source array contains [a,c,d] then i need the result as...
I've been coding with the iPhone SDK for nearly a year now and managed, up til now, to avoid Core Graphics. My question might therefore look quite simplistic.
I need to implement a class that resembles a real-world 'folder tab'. Here's a mockup ..
I've been getting by with UILabel, and have tried to subclass it, implementing a drawRe...
I'm trying to create an app for children. It will have different images. And those images will have different closed shapes like stars, balls or any other similar images.
I am aware of how to draw on iphone. I know how to select a color, how to change the brush size etc.
What I want to know is to select a color and on touch of image, i...
To animate multiple objects in a view, do we have to use seperate timers for each of the object?
Currently I have four objects for which I am using four timers. How can I do it using a single timer?
Thanks!
...
Hi, I'm trying to develop an application that use the GPS and Compass of the iPhone in order to point some sort of pointer to a specific location (like the compass always point to the North).
The location is fixed and I always need the pointer to point to that specific location no matter where the user is located.
I have the Lat/Long coo...
Hello,
I am using MPMoviePlayerController class for playing the video in built-in media player on iPhone. The project works fine on iPhone 3.0 simulator or device, but it doesn't show the video view on iPhone 4.0 simulator or device, rather than i could able to hear the sound, no built-in player video display.
Does anyone come across t...
hi friends,
i have to do one application that application should be launch from the iPhone native applications like calendar, contacts and mail box etc... is it possible to launch 3rd party application from the native app, whether apple allows the developer to do this.
Thanks in advance...
...
Hey folks,
i need a little push to the right direction i think.
What i want to do is displaying pages of a brochure at the iPad Display and allow the user to flip through the pages (left to right & right to left). The user should also be able to zoom in to articles at the pages.
I tried it with laying an UIImage into a UIImageView an...
Hi,
I would like to insert events in my app, so they can be viewed in iPhone Calendar.app. But since I don't want to mix the user events with those from my app, I wanted to create a EKCalendar like "MyApp Events"
Is this possible ? How would you filter your events otherwise ?
Thanks !
...