Problem: If you have a big form with a lot of text input fields with number pad, you would not want to tell every single text field something like
[myTextField1 resignFirstResponder];
[myTextField2 resignFirstResponder];
instead, it would be great to just tell for example an invisible background button, that it is the First Responder ...
hey guys i wanted to know the best way to get this thing done:
i have a huge table with +40k records (tv show titles) in sqlite and i want to do real time lookups to this table. for eg if user searches for a show, as and when user enters search terms i read sqlite and filter records after every keystroke (like google search suggestion)
...
I got this project "skpsmtpmessage" and I tried to send mail first. So I changed all the mail id to gmail id. But replay host is problem. I tried smtp.gmail.com, smtp.google.com, smtp.googletalk.com. But when I run my program, I get error that "Unable to connect server"
Which relay host should I use for gmail.
...
So I am trying to create a check that tries to connect to the WWW. when it fails it needs to then retry several times before the application gives up and quits. Each time it retries the user is propted with an UIAlertView with the options to Retry or Cancel.
So here is the problem.
I have a chain of actions in an NSOperationQueue, all...
I am trying to install applications on my iTouch. But i am facing a problem like each new application is getting installed on previous application and so previous application is getting vanished. :(
Do any body know how to remove this bug. Is there any problem in Profile or Certificate.
...
Hi All,
I have a tableView that needs to be updated after information has been inserted from another view. If I perform a
[self.tableView reloadData];
The very next time I insert more information in another view and try to reload the table, all the currently visible rows are duplicated.
In other words, when I start up the app I have...
I am trying to use glScissor to isolate only the parts of the screen that need updating.
I have a game area where I need to update every frame, but the UI area needs to be updated much less frequently. The game area is fine but the UI area is constantly flickering with what seems like old buffer data.
What am I missing?
Here is my rend...
I have a UITableView added in InterfaceBuilder. My app runs in LandScape. Because I was unable to use autorotation (still can't figure that out). I am using Transforming it for now. Having said that, I now have to place the UITableView in some weird position for it to look correct after transformation
My table is fine but I cannot reach...
I need to create an iPhone app that supports user input in multiple languages. The user needs to be able to change his input language at runtime between English, Spanish, Chinese, Japanese, etc. Is there any way through the iPhone SDK to display a keyboard for a language other than the user's default language?
...
I'm seeing an intermittent crash on [parser release]. I'd say I see it about 5% of the time, and the data I am parsing varies between each crash. I can't for the life of me figure out why.
Before I submit a bug report to Apple (which, with my luck, will not be reproducible in sample code), has anyone run into this and know what might b...
I have a scrollview I'm trying to add ViewControllers to from a nib file.
ViewController *controller=[[ViewController alloc] initWithNibName:@"ViewController" bundle:[NSBundle mainBundle]];
[scrollview addSubview:controller];
Scrollview is defined elsewhere.
Whenever I add other items like UIViews with simple colored backgrounds, tha...
Hello,
My goal is to have the UITableViewCells fade in/out when they are approaching the bounds of the UITableView and about to be covered/revealed.
The approach I have been trying is to get the coordinates of the UITableViewCell during a scroll event. The problem is that every cell seems to be at 0,0. I have tried converting the coo...
Hi, I would like to have an iphone application...... I want to be able to have some sort of calendar where you can select any day and fill information (and save it under that date) I understand I need databases but I'm not sure how can I do this? Plan is to use the date as a primary key but I'm kind of confused in how getting this to wor...
I am trying to determine if my code is running on an iPhone or an iPhone3G. My first try was to use the UIDevice class in UIKit, but both iPhone and iPhone3G return the same responses:
NSLog([[UIDevice currentDevice] name]); // Name of the phone as named by user
NSLog([[UIDevice currentDevice] uniqueIdentifier]); // A GUID like string
...
Multiple places reccomend using a texture atlas for performance. Apple suggest the function gltexcoordpointer. In my example I have a row of squares each one is given a random texure. I put all the random textures into the super-texture. Now the problem is I can't seem to create a texcoordarray. I can't find any information on how gltexc...
I'm looking into building an application which works just as well offline as it does online. Since the application cannot communicate with the server while in offline, there is some level of synchronization which needs to take place.
What are some good tools to read about and start thinking about when planning offline operations with sy...
I added the openAL framework to my app and I am using the sound engine that is in the demo CrashLanding. It works just fine on the simulator, but when I build it for my device, I get errors. It looks like the framework isn't added. I've tried: restarting xcode; delete the framework and add it in again; cleaning the target; restart the...
Should I avoid recursion with code that runs on the iPhone?
Or put another way, does anyone know the max stack size on the iphone?
...
Does anyone know how to (or if) you can convert a string to an enumerated type in the objective-c/cocoa/iphone environment?
For example:
If I have an XML document with the element:
<dog breed="GermanShepard">
I would like to be able to read the "breed" attribute into an NSString and then convert it into a type "Dogs" as defined here:...
I want to find nearest WiFi station MAC address in iphone programatically.
So can any body help me for that?
...