i should able to delay 2 sec using nstimer how to do it?
i want to produce the delay of 2 sec using nstimer how to initialise timer in program?.... ...
i want to produce the delay of 2 sec using nstimer how to initialise timer in program?.... ...
Hello i have snow leopard 10.6.3 installed via iAtkos..everything runs good even XCode as well.I can successfully build iPhone apps run them on the simulator and the device but when i use the "build and archive" option( for adhoc distribution or itunes connect ) XCode simply crashes..does anybody have a solution for this? thanks in advan...
Hi all, I have written an app and was testing it for mem leaks when I noticed that that 'all allocations' category in the leaks simulator keeps increasing its size whenever I open and close a sub-view. I intially thought it was a mem leak . But it does not show up as a leak in the leaks tab. Is this normal?? I am attaching a screensh...
My app runs fine when I don't have iAds. As soon as I display an iAd the system shuts down my app because the iAd can't resume in time. How do I resolve this? Elapsed total CPU time (seconds): 1.380 (user 0.880, system 0.500), 14% CPU Elapsed application CPU time (seconds): 0.000, 0% CPU Thread 0: 0 libSystem.B.dylib ...
I know the 'nil' clears the imageView at the end of the animation. But is there a way to end it on one of the images? When I run it without 'nil' at the end it's a lovely error. imageView.animationImages = [NSArray arrayWithObjects: [UIImage imageNamed:@"image1.png"], ...
Hello friends.. For my current development of iphone app, I want to implement history/favorite feature. After lots of googling I came to conclusion that 'NSUserDefaults' would work better in case of short data storage. But still I am not clear how to interact with NSUserDefaults....Can anyone refer any example or article to work out wit...
Hi, i've been pulling my hair over this problem, i've read all the post about deallocation problem but couldnt understand why, because i'm pretty new with objective-c and iphone, as you can tell :) but what i dont understand is this block of code below saying i've over-deallocated UIImage, now i have tried everything but the app stil...
In Xcode, for Obj-C programs, is there a way to generate skeleton method body in the .m file if I add a new method or implement an interface in the corresponding .h file? Like in Eclipse, if you implement an interface, it will bring in the method skeleton according to the definition of the interface. ...
Hi, I am trying to use a PeoplePicker to retrieve the name and address of a contact and store it into the NSUserDefaults, which i eventually want to retrieve it on a tableview. My question is how do I save the information in NSUserDefaults. I have used NSDictionary, but I am not making any progress. so I'm trying to save the array to th...
I have some problems running XCode 3.1.3 I have actually had Interface Builder working (But not now). I think it is related to having tried to force install of higher versions? (So I could try to remove or downgrade something). Or that I cleaned up a bit to much? From: /Developer1.3/Applications/Interface Builder.app/Contents/MacOS: ...
Hi All I am trying to hook up a UIButton to a IBAction in interface builder but IB will not show the method that I defined as an option to hook it up to. - (IBAction)someAction:(id)sender; That is what I have in the h file, and then in the M file I have - (IBAction)someAction:(id)sender{ NSLog(@"Button Tapped."); } The IB Docum...
When trying to submit my Application using Application Loader i am getting the following error: Expected token not found in attributes: ITunesSoftwareApplicationTestedOn40 Where can i set this attribute? Thanks ...
Now I know there are certain standard paths in which the linker looks for frameworks, but where does get it's instructions from, to look in other custom paths? The problem I've got is a warning, something like this: ld: warning: directory '/Path/to/my/Xcode/Project/../../../../../some/other/src/path/no/longer/in/use' following -F not f...
Hi I would guess it's the simplest thing but it's really confusing me. I'm sure I've successfully used doubles before but now I'm having trouble. I just made a new 'test' project to see if I can get it working, but all I'm trying to do is set a double value. So in the View Controller's viewDidLoad i've typed: double z = 2938.09; NSL...
i am having problem with how to get the uiwebview loaded with local html file .provide the cod e as well i am having the hmtl file as fp_dis-1.html. thanks in advance ...
Ok so if I have a double to begin with how do I limit it or truncate digits to 1dp since I know they're not needed to be viewed double a = 1.6; NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init]; NSString *numberAsString = [numberFormatter stringFromNumber:[NSNumber numberWithDouble:a]]; [numberFormatter setNumberSt...
I am looking at an Xcode project that uses some libraries. The project was created on a different computer, so I need to update some paths. The library search paths all start with $(SRCROOT). What does that mean? ...
Hello stackoverflow, So I have been searching everywhere for a solution to this problem. I have a table view that displays a popover from a cell when the user selects it. However there is a bug but I can't figure out a solution. Basically once you scroll down off the first page of results, the popover always appears from the bottom o...
HI Everyone, It is my first post here and this is my problem: I am trying to get some data from a REST API call and show then in a UITableView. This s what I am doing: in the viewDidLoad: 1) here I initialize my array of things to show in the Table (that is empty at the beginning) 2) the table is loaded (with 0 rows) and 3) then the H...
How do you overlay something, ie a UIImageView over the keyboard which pops up when editing a UITextFIeld? ...