When do i need assign property and when not ?
Can any one give me example when do i need assign property only...?? ...
Can any one give me example when do i need assign property only...?? ...
I am a complete newbie(as is already evident) and I can't just figure out when to choose what. I have been through countless googling operations but found no help on the said question, hence had to ask here. It would be great if any of you could explain or even point me to some online resource which does it. Thanks again for your time. ...
Please have a look on this application http://itunes.apple.com/app/yowza-mobile-coupons/id312021877?mt=8 I just want to add custom picker sort of controller on UINavigationBar Please suggest me any sample or ideas Thanks ...
Hi Guys, I am developing application based on geocoder. In my app, to get the user current address, i am using placemark address dictionary method inside geocode delegate method and then, i could able to get all the details (street, city, state, county, countrycode and all) except postalcode. Why postal code is not coming?. Now i am wor...
Can any one suggest how I can build Universal app for iPad as well iPhone. What all things I should take care of ? How to take care of resource images used ? Is it possible to have same code base should work for iPad as well iPhone. ...
I have a Tab-based application and this problem: I load my application showing a simple info view, then when I click on another tab I'd like to show networkActivityIndicator (because I make a web request) using [[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:YES]; in loadView method of my ViewControllers (that m...
HI Frends there is a problem regarding alert and timer. The problem is: timer1 = [NSTimer scheduledTimerWithTimeInterval:1.0/30 target:self selector:@selector(Loop1) userInfo:nil repeats:YES]; timer2 = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(timrClock) userInfo:nil repeats:YES]; -(void) tim...
hi i am new to iphone. what i did is creating a class with name classA. In viewdidload of classA i declare a modelview controller and display some text and hide the model view controller afetr 4 sec and create another view in the viewdidload.this is fine but while rotating the simulator to landscape mode simulator automatically rotates t...
I have a UIWebView that I'd like to load a web page and also append an object to the end of the address. this is what I have: NSString *urlAddress = @"http://www.wikipedia.org/%@",recipeName; the name of a particular recipe would be appended to the end of the URL I'm getting the "statically allocated instance of Objective-C class N...
I am trying to learn programming for the iPhone and I keep seeing these files and I am not sure when is each file and content of those files referred to in the execution of a program built for the iPhone. I am trying to follow tutorials and tips available online but nowhere is there a point by point comparison or something like that. It ...
If I have a UIView, called " someView", than, I have a controller, which is called "myController". I want to assign the someView with myController, how can I do so in code? Thank you. ...
I am looking for a book on IPhone development that must have following topics. Is there any on Amazon? * Event Handling * Address Book * Event Handling * Address Book * Network * Threads * Audio * UIKit Framework * Internationalization * Xcode * Application Architecture * Memory Management * Objective-C * Views * Human Interface Guideli...
I want to add some Layers on my imageView to make an animation. I am facing a problem that don't know how to scale fit layer.content from images. The following are my code: CALayer *topLayer = [[CALayer alloc] init]; topLayer.masksToBounds = YES; topLayer.backgroundColor = [[UIColor whiteColor] CGColor]; [imageView.layer addSublayer:...
I'm still learning Objective-c and Iphone Dev so I'm willing to take instruction. I was wondering if this is the best way to achive a helper function that displays an alertview. Obviously in my code there are various places (report errors, bad data etc) where I wish to display an alert to my user. Rather than create an AlertView objec...
Hi there. I don't have any problems with my iphone app. Theres no exc_bad_access or memory issues. However I know that I haven't properly allocated and released memory. I don't know why this isn't throwing any exceptions, but it isn't. Everything works. I don't want to overload the iphone memory though, and am aware that just because I...
Hey guys, I am trying to implement a UIViewController hirarchy where the top most UIView Controller implements just a few basic methods the second level view controller a few more methods (depending on which one it is) and the last one on the third level has some more customized methods and also a nib file whereas none of the UIView Con...
Hey, I've been using this method (I think I got it from one of Apple's example code projects): - (void)loadTexture:(NSString *)name intoLocation:(GLuint)location { CGImageRef textureImage = [UIImage imageNamed:name].CGImage; if(textureImage == nil) { NSLog(@"Failed to load texture!"); return; } NSInteger texWidth = CGImageG...
hello guys, a have a small problem when i want to skip from the first view to the second : i have an ADBannerView1 in the first viewController, and another ADBannerView2 in the secondViewController..the problem is when i skip from the first to the second, half of the adBanner2 is hidden by the status bar...i've tried to delete the status...
Hi Everyone, I have upgraded my xcode to 3.2.3 to develop applications for iPad and iPhone4. strangely i cannot find 'Reveal in Finder' feature to locate the .app file. Can anybody brief me on this issue. Thanks Taimur ...
I'm trying to get a UIWebView working with the following code: NSString *urlAddress = [NSString stringWithFormat: @"http://www.wikipedia.org/wiki/%@",recipe.name]; recipe.name is the entity and property from the core data model I used NSLog to test the 'recipe.name' and it is outputting correctly to the console I tried this ...