Hi
I am building an iPhone app that has some default data inside it via a property list. This data is the source for my Model. What is the best way to manage this data so the user can read (and in a couple of cases write) data from this plist?
I currently am subclassing NSObject and mapping the plist data to properties in that object, ...
Hello,
I am writing a simple application to copy a set of images to the user's photo library so that the user may use them as backgrounds. The problem is that if the user runs the application more than once, duplicate images will be copied to the photo library. Given the restrictions Apple places on accessing the contents of the photo l...
Database gets created just fine, and the insert works just fine. I'm having problem with the select statement below. It returns no records and no error. A select on any other field works just fine. Can anyone spot what I'm doing wrong?
"create table if not exists data (pkey integer primary key, doc date)"
[db executeUpdate:@"insert int...
What are all the file formats supported by UIWebView?
In my testing, I found that it supports XLS, DOC, PPT, PDF but not XLSX, and DOCX, RTF.
It supports image files like, JPG, PNG, GIF, BMP, not sure about TIFF or
Exactly, what all types are supported is not clear...
The UIWebView documentation also doesn't state it clearly.
Could s...
HI , i am getting a string input from a UITextField i want to check that this string in numeric . how i will do that .. (numeric can have decimal points also) . how to do that ?
...
I've been working to iron out memory leaks in my program and I'm down to a few stragglers. The strange thing is that they're coming from when I use CoreLocation to get a gps location. The code is properly returning the location, but it's leaking all over the place: CFHTTPMessage, CFURLConnection, CFURLRequest, CFURLResponse, GeneralBloc...
Hi
I need to parse a text file one line at a time...and is there EOF in objective c?
Thanks
satish
...
Hi,
I am doing one social networking apps and i have to get data from server using xml web service I have few web services which gives me data from server.
I have very strange problem like some times web services are not returning any data and if paste in browser same web services gives result in browser but they will not return in ip...
Apple has added Spotlight to OS3.0 release. I am having problem finding any API for third party apps to work with Spotlight Search. Is such a thing available?
...
Hi all
I am trying to list out all Video from a url. For this i m sending an request to "You Tube"
url as "http://www.youtube.com/" and want to list out all available video . But i didn't get anything from that request ? any idea or any documentation hint ?
...
I have a UITextView that has a lot of content (e.g. credit view), and I want to create an automatic scrolling view for it (something like the credits page for Firefox)
where it automatically scrolls the names
I have tried the following, but it is not smooth, and I also require it to happen automatically when user goes to that view
CGPo...
hey people ,
I have a question concerning a button I would like to create which selects my previous selected row.
This is what I came up so far but since I'm new with the functionality and such I could definately use some pointers
I created a toolbar with a button and behind this button is the following action.
-(void)clickRow
{
se...
Update 9/2/10: This code no longer works as of the iOS 4 update--it fails with an internal assertion. There is now a great Address Book API example available in the iPhone SDK Reference Library called "QuickContacts."
The example code is available here; it will help you solve this problem:
http://developer.apple.com/iphone/library/sampl...
How do I launch the iPhone Mail app (with a Photo attachment) from within my app? (Photo is a UIImage in my app).
...
In my iPhone app I have voice recording functionality the utilizes Audio Queue voice recording functions of the SDK. I'm saving directly to CAF format and using the following settings for the AudioStreamBasicDescription reference:
audioFormat.mFormatID = kAudioFormatLinearPCM;
I can see that there are other format ids I could use lik...
Does MFMailComposeViewController come only in English!?
I am toying around with the idea of using MFMailComposeViewController to handle sending email from my app but I need it to conform to the language environments of devices set to languages other than english. Is it possible to set MFMailComposeViewController to other languages? Eve...
in my application this method shows memory leak how do i remove leak?
-(void)getOneQuestion:(int)flashcardId categoryID:(int)categoryId
{
flashCardText = [[NSString alloc] init];
flashCardAnswer=[[NSString alloc] init];
//NSLog(@"%s %d %s", __FILE__, __LINE__, __PRETTY_FUNCTION__, __FUNCTION__);
sqlite3 *MyDatabase;...
Hi
I would like to know whether objects returned by NSUserDefault is in autorelease pool or am is suppose to release them, and how should i know that any given object is in autorelease pool.
Thanks
Rakesh.P
...
Is there a way in the iPhone sdk to get the name of the contact who own's the phone?
I see that my app has been cracked, and I would like to update a release which checks to see if it a cracked version and then display the following:
Hello (Persons name). I see you are using a cracked version of (Application Name). If you like this appl...
Hi
I want to use the PSMultiValueSpecifier in the settings bundle for my iphone app, but for some reason it doesn't want to work?
Does anyone know a good tutorial or sample code on how to use this?
...