I have an NSString that might contain 5-10 different style dates and times.
I need to convert all of them into NSDates.
Does dateWithNaturalLanguageString no longer exist in iPhone SDK 3.1.3?
I do NOT need to convert things like @"last Wednesday at 1 pm".
I need to convert things like:
@"01-Feb-2010"
@"Feb 1, 2010"
@"February 1, 2010"...
I have an application that downloads/parses a big XML file and store the information using core data (approx. 4000 objects (entities)).
The XML is loaded/parsed in a different thread, which has its own NSManagedObjectContext.
When trying to save the entities to the persistent store, I sometimes get the following error (about 20%)
2010...
Hi all,
I read in a recent post that the Decimal data type is the best to use in Core Data to model currency since it doesn't have floating point issues.
I've searched the apple docs and google and can't seem to find any documentation on using the Decimal type.
Does anyone have a link to documentation on it?
Thanks!
...
Whenever I push a view controller onto my stack, then pop it off, I get this error:
*** -[CALayer retainCount]: message sent to deallocated instance <memory address>
It seems to happen right after dealloc is called on the view controller that is being popped off and is exclusive to only this view controller. I'm sure the CALayer has s...
I want to put uislider in verticaly.i have no idea about this.so please help me for this.
...
Hi Guys,
Just wanted to know if overriding UITabBarController would get my app rejected? Is it allowed by Apple??
Any of you have submitted an app by overriding UITabBarController??
Thanks,
Harikant Jammi
...
I am trying to add In App Purchase support to my app. I would like the app to still be able to support OS2.2.1, but IAP are not available unless the OS version is 3.0 or higher.
I have tried weak-linking the StoreKit framework. Basically, I have StoreKit.framework added to frameworks, but not in Link Binary With Libraries in the target...
Hey Guys,
I am having trouble with my UITableView in the NavigationController.
When I add data to the table I use another class to download images to display in that table, while all that works great but if in the middle of images being download I swtich back to the previous view in the navigationcontroller app crashed.
Here is my code...
Hi all,
I'm trying to make a UIDatePicker wich is alowing to select hours only betwen 6.00 and 17.00. The other hours shall be inactive but still visible.
I think it can be done with setting up the picker calendar and then use this:
- (NSRange)maximumRangeOfUnit:(NSCalendarUnit)unit
but i'm nou sure how.
Maybe someone can help me.
...
I subclassed UIScrollView
Then created an object of it in the main class.
Added an image to it.
Set the zoomscales as
scrollview.minimumZoomScale = 0.25;
scrollview.maximumZoomScale = 4.00;
After all this
Q. Is it supposed to zoom out when I double-tap on it and also support pinch zoom?
Q. Shouldn't I do it programmatically?
Q....
I have an iPhone applcation in which I want to take facebook user's friends name. I got that friend list in an array. Now I want to display this array value in htmlpage. Later this html page display on iphone screen. So how can I call the friendslist from HTML page and display the name one by one. please help me.
...
I have several obj-c classes, each of which require a number of contants that are used in switch statements.
I had tried defining these numerical constants in the .m file using the #define preprocessor instruction. All these constants begin with 'kCell'. This seems to work well but Xcode's code sense is presenting me with every 'kCell' ...
Hi,
I have a requirement where I have to play a video file which is available in remote location.
I am passing the URL to MPMoviePlayerController instance and called the method play.
Now, the movie is downloading. I have clicked on the "Done" button before the movie loads completely and came back to the rootview.
MPMoviePlayerPlay...
Hello,
Can you provide me some good link or example, on how to place a navigation controller upon a tabBar controller in iPhone without using Interface builder.
i know to create tabBar controller . Plese tel me how to place a navigation in the view provided by tabBar controller.
...
Hello ,I would like to download ipad sdk (i.e.iphone sdk 3.2),but i think it requires a mac osX Snow Leopard version 10.6.2 or later.But i have only Mac Osx Version 10.5.8 (build:9L31A).So,i made a software update but i couldnot find mac osx update in the software update list.I would like to know how to update my mac to 10.6.2 and insta...
how to handle button onclick action in iPhone without using interface builder?
...
Hello everyone i am new to the iphone development i need to implement splash programming in iphone please give some useful suggestion on it
thanku
...
Is there a way to make the UIPickerView only Read Only? This means that the user cannot flip through the options.
PS. This is not the same as not passing anything in the didSelectRow method because I only want the user to see that the picker is there and not to touch it.
...
Hi,
I would like to download an mp3 file from some site, save it to my CoreData model, AudioMp3, and play it.
The function below sort of works, but firstly, is inefficient in that it has to save the mp3 to file first, and secondly it plays a repeat of the same mp3 the following times it is called. I don't think my save to database is r...
Hi guys - the other day I had a bug submitted for my app from a user on an ipod touch with 3.1.3 software. It was a strange bug as no-one else has submitted it yet.
Long story short, it appears that anywhere where I have NSLog() in code it will actually crash the app. I tried stripping out ALL the code other than NSLog(@"hello") and ru...