I have a coredata based iphone app and have an Entity that has latitude and longtitude as properties. How can I return all my entities ordered by distance from the current location? I previosuly did this without coredata writing a sql query, but am new to coredata and can't figure it out. I would like to use the NSFetchedResultsControlle...
I downloaded iPhone SDK 3.1 with Xcode 3.2 for Snow Leopard from Apple, but when I go to install it, it says it's installing iPhone SDK 3.0.
How can I find iPhone SDK 3.1? I can't get any apps on my phone until I upgrade my SDK because my iPhone is on 3.1.
In the Organizer it says the OS installed on my phone is 3.1 (7C114) and the XC...
I have an Iphone application that will POST a picture in a NSData how would I read the image when it gets back to the server? I will be using asp.net to POST to.
...
I'm wondering if it's possible to save a non-JPEG file (e.g. PNG) to the iPhone Photos album. I'm trying to do this in order to save a lossless image. Currently, I'm saving to the application bundle's document folder, but I'd like to be able to save to the iPhone Photos album so the images may be viewed later (without explicitly copyin...
For QA purposes I display our app's build version in the application' settings view as a PSTitleValueSpecifier. I set our app's current build number as the DefaultValue and I update it for every new build.
My problem is, whenever I deploy a new build of our application on a dev phone via Xcode, the version value doesn't update but rema...
My iPhone app (well, idea of it) needs to do changes to iPhone's filesystem. Does iPhone API allow that?
...
I have a tableView with a list of items. When a selection is made, a new view controller is pushed on the tableView's navigationController viewController stack.
My question is this: one of the views in the view hierarchy associated with the pushed view controller requires the fetching of data from the network before it can render it's c...
My app needs to activate, or at least be able to something on the system event, like new message, or new email/etc. Is it possible? If not -- any possible workarounds?
...
If the Help option is activated in my app when the user goes to the camera I show a UIAlertView first with tips on how to take a picture:
-(void) actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex {
if (buttonIndex != [actionSheet cancelButtonIndex]) {
NSString *selectedButtonTitle = [actionShe...
I am working for the first time in objective c and have come across an issue that I have not seen an answer for.
I am loading a set of data from a JSON data set and using it to populate a UITableView within a UITableViewController.
First when the view is loaded (viewDidLoad) I populate the array with the JSON data from a URL.
Next th...
If you look at some google pages (ie. mail.google.com/tasks) on the iphone they look a lot like native iphone apps. Does anyone know how they got it to mimic the look of the native apps and is there a resource that describes how to do it?
Also does one have access to any of the iphone hardware data ( ie. accelerometer data, gps informa...
Hello!
I am the "From Scratch / Beginner / new bie - Game Developer for iPhone".
I would like to develop a tetris like game in iPhone.
I have started with following link.
http://monoclestudios.com/cocos2d%5Fwhitepaper.html
I am using iPhone simulator 3.0. & xCode 3.1.3.
I have followed each step correctly. However error occurs. Don...
I have a thing that uses a SystemSoundID to play a sound, and then repeat with a C function being used as the sound completion callback, and the function is passed (void *)self (since it has to be a void pointer), and then I want to play the sound again if the alarmPlaying BOOL ivar of self is true, otherwise remove the sound completion ...
I am working on creating a simple iPhone app that plays a movie via URL. When I Build&Run to test in the simulator, it works fine; as soon as I start playing the movie, I get the following message in the console:
[1757:4b03] Cannot find executable for CFBundle/CFPlugIn 0x820ffe0
</Library/Audio/Plug-Ins/HAL/iSightAudio.plug...
I have spent a lot of time trying to figure out what the problem is... but with no success.
My code is the following:
ResultGoalViewController *resultGoalViewController = [[ResultGoalViewController alloc] initWithNibName:@"ResultGoalViewController" bundle:nil];
[self.goalNavigationController pushViewController:resultGoalViewController...
I have a simple application that counts down to midnight and then plays a beeping sound over and over again and blinks the label showing the time. So the label blinking uses an NSTimer, while the beeping goes on its own Thread, so that the pure C function (for the system sound id completion callback) can use [NSThread sleepForTimeInterva...
Hi there,
I've got this slightly strange issue that I can't quite seem to figure out.
I'm following the example given by Apple to "flip" a view.
Now the "flipping" is working fine. I'm using an nib file containing two "views" showing "summary" and "detailed" information.
The "summary" page is a UIView. Whereas the "detailed" page is...
I can't find this anywhere. I don't want to have to use the debugger everytime. How do I get print messages on the iphone.
...
I've looked EVERYWHERE for this, can't find anything. I basically need to store an entire website inside of my iPhone for some interesting reasons. Regardless I can't figure out how to display it correctly in my UIWebView.
EDIT: I should clarify, I can load the original HTML file, and I have chagned all of the pathing to be local, excep...
SETUP:
I'm working on a 2-D tile-based game (bird's eye view) for iPhone. The app reads in a tile-d (.tbx) tilemap file of tiles with a 'blocked' property of either true or false to represent whether or not the hero can move through the tile. I iterate over each tile in the map and create a 2-dimensional C array representing tile rows an...