Hey all,
i try to modify my didSelectRowAtIndexPath Method to use my AddView also for editing (only with filled textfields). But it is not working! I just enter edit mode, check if(self.editing) and do something like:
if (self.editing) {
AddViewController *viewController = [[AddViewController alloc]
...
hello
i would like to know if there is a way to load multiple images from a photobook on the iphone in one step into an array or something like that. i've seen a iApp with this kind of feuture before, but can't remember the name of this app anymore.
in this app I had the possibilty to choose the first image. after that, a menu from bel...
Hi there,
I'm facing very annoying problem. My iPhone app is loading it's data from a network server. Data are sent as plist and when parsed, it neeeds to be stored to SQLite db using CoreData.
Issue is that in some cases those datasets are too big (5000+ records) and import takes way too long. More on that, when iPhone tries to suspen...
Hi,
I've been trying to create a transparent table view recently but I'm not having much luck. The idea is to have a MapView (or anything for an example...) underneath the table view (grouped) where the table cells are solid but the rest of the table view is transparent, showing the map behind.
What I've done so far is create a UITable...
I generate random numbers and store them in an array.
int RandomNumber = arc4random() % 12;
[NSMutablearray *Number addObject:[NSNumber numberWithInt:RandomNumber]];
Now i want to make sure the same number is not created randomly again.
Can any one please tell me how to do it with sample code.
...
Hi,
I have a UITextField for which I get input from some buttons that are part of the UI (so the input does not come form the phone's virtual keyboard). I want to limit that number of characters. I tried using the shouldChangeCharactersInRange, but it only works if the input comes form the virtual keyboard, and it doesn't work if the in...
Just wondering what format is accepted as "the best" to have your video content on. We currently have our videos in FLV format being played by a JW Player. Are FLV's iPhone compatible or should we be encoding in another format? Thanks!
...
Hi everyone,
I am relatively new to iPhone programming, and I have a considerably complex app to develop.
This app requires animations such as burning a photo, flushing something down a toilet, etc.
Is there any way I can manage to code these animations without having to learn OpenGL ES?
...
NSMutableArray *Number=[NSArray arrayWithObjects: @"1", @"2", @"3", @"4", @"5", @"6", nil];
I have an array of interger and need to read them one by one.
Can anyone please tell me how to code it?
...
I'm looking for a way to reorder an NSOperationQueue.
I could cancel all the operations and toss them back in using the order I want, but I was hoping for something a little bit cleaner. Any thoughts?
...
Hi,
I am looking for beginner iPhone SDK tutorials, but something a little bit more complex than "Hello iPhone!". So far I only found a free one at: http://dynamic-leap.com/beginner-iphone-tutorial-polygon/ Any other suggestions?
...
Hello,
I want create a UIImageView with a button press. I did this with:
- (IBAction) addPicture:(id)sender {
imageView = [[UIImageView alloc]initWithFrame:CGRectMake(0.0, 45.0, 324, 52.0)];
imageView.image = [UIImage imageNamed:@"Picture.png"];
[self.view addSubview:imageView];
}
I "created" this imageView in the .h, beca...
I am having issues with my NSURLRequest and doing a POST whenever the string includes %, for example.
On my website, I can see that the encoding is ISO-8859-1,utf-8 for Accept-Charset but for some reason I cannot get the POST to work if it includes "%&$" etc. It seems like it won't encode it with UTF-8 encoding. Am I doing something wro...
I'm designing the back-end for an iphone application. I'd like to use Core Data. Is there an ideal transfer format for iphone apps? I'm leaning towards JSON unless there's some custom binary thing. I'm probably using ruby on the backend.
For example, in the Flex/Flash world, you can install a small piece on your server that lets you se...
Hi All
I wonder if anyone could suggest the best way to go from one color to another in a gradual process.
So - I have a text box which I have a text limit on. I'd like to have the text start at white, but be red by the time it gets to the max text limit.
Is there an easy way to do this? I'm unsure really where to start...
...
Hello,
The user can create a unlimited number of UIImageViews with a button press with this code:
- (IBAction) addPicture:(id)sender {
imageView = [[UIImageView alloc]initWithFrame:CGRectMake(0.0, 45.0, 324, 52.0)];
imageView.tag = a;
imageView.image = [UIImage imageNamed:@"Picture.png"];
a = a + 1;
[self.view addS...
i was trying running application with instrument tool. but it collects so many data. so i am confuse where to look exactly in order to optimize my app. is there any best start up guide or any best practice.
hope my question is genuine and clear.
Edit: attaching sample image from instrument.how to interpret this data.
click here for fu...
I am trying to get a sound to play in the iPhone Simulator (using 3.1 SDK). When I add a breakpoint, and step through the code in GDB, the sound plays. However, if I disable the breakpoint, the sound does not play.
The code to invoke the sound is:
SoundEffect *completeSound = [myobj completeSound];
if (completeSound != nil) {
[co...
I am having a Interface Builder tool issue. I have a XIB that is not being displayed in layout mode (where I can see text fields I have added etc.) Doesn't happen with any other XIB. What is going on? I can't seem to find any command to make it show.
Tia.
...
I'd like to allow users to reset the Defaults in the iPhone's Settings for my app. I don't seem to be able to find any examples in apps that I've seen. Basically you'd go to Settings and find the settings for your app. At the bottom of the list there'd be some kind of option to Reset or Defaults or whatever. I'm just not sure how to hand...