I'm using Core Data in my first iPhone application and trying to understand NSFetchedResultsController. It works great in my root view. Do I need to instantiate an instance in every one of my view controllers? If so, is there a template that makes this as easy as it was in my root controller (I just checked a box in the template when cre...
I have an iPhone app which has a tabBarController as the root view controller in mainwindow.xib.
One of the tabs has a class of UINavigationController and its View is loaded from an external Nib file currently called secondView.xib
How can I get a UIBarButtonItem which is on the NavigationController in the mainwindow.xib file to trig...
I need to change slider colors in my iphone app, and I put This:
- (UISlider *)ratioSlider
{
UIImage *stetchLeftTrack = [[UIImage imageNamed:@"grayslide.png"]
stretchableImageWithLeftCapWidth:10.0 topCapHeight:0.0];
UIImage *stetchRightTrack = [[UIImage imageNamed:@"grayslide.png"]
...
Using NSUserDefaults to save/load a few small values... it's pretty straightforward.
But WHERE would I place my SAVE or LOAD code?
I want the defaults to LOAD only if/when a certain view is displayed.
I want the defaults to SAVE, only when that view is exited/unloaded/hidden.
(I created a simple app using the "view-based template" an...
I created a UIView xib in Interface Builder and tried everything I could to indicate that the UIView should center itself, anchor itself at center, orient itself in central coordinates, etc. etc.
But whenever I add it as a subview in code, I also have to programmatically set its frame up with CGRectMake() or else it will always add to t...
could someone please tell me and point me in the right direction on how i am able to code to allow the cells to be able to move in a tableview
at the moment when i click and hold and then drag below the second cell... it doesnt move... obviously... it just drags all the cells with it and stretches back up again.
i would like to be able ...
Pleaseeee if you guys can help me or point me on the right direction, I would really appreciate.
I am saving some data the user inputs into a data file using SQLITE, I am saving date, time, reading, and a note, as the following:
//Create a Reading Object
Readings *readingObj = [[Readings alloc] initWithPrimaryKey:0];
readingObj.date = ...
I'm plotting over 500 points on a map using mapkit. Zooming is a little jittery compared to the native google map app. I've discovered what is causing the slowness. I'm adding custom annotations so that I can later add different pin colors and buttons for detail views:
- (MKAnnotationView *) mapView:(MKMapView *)mapView viewForAnnota...
Hello
I have downloaded the latest iphone SDK which support developing for the ipad 3.2 and iphone 3.1.2
However 2 days ago the firmware 3.1.3 has been released by apple so my question is how to make my SDK to support this new firmware without re-downloading the whole SDK which is more than 2 gigs?
Thanks
...
The UITouch object only gives you the location of the touch. Is it possible to find out about the size and the shape of the touch(the part of your finger that meets the screen) as well?
Update: non-iphone info, but the Android API seems to give the size.
...
Hi,
I'm looking at jumping on the band-wagon and knock out a couple iPhone and Android apps.
I'm not a complete beginner as I have programmed in quite a few languages, with my current focus on PHP and Drupal development, but I have not developed for either the iPhone or Android before.
I have downloaded the respective SDKs, but I was ...
The app that I am creating uploads images in four(the fourth is a test function) ways;
1.Directly from UIImagePickerController with UIImagePickerControllerSourceTypeCamera like this:
//didFinishPickingImage method
if ([picker sourceType] == UIImagePickerControllerSourceTypeCamera)
{
UIImageWriteToSavedPhotosAlbum(img, nil, nil, nil);
}...
My project files is in a remote(ftp/svn) server
How to develop the project direct in the remote server? just like a local dir ?
can do that with Xcode ?
...
Hi,
I am using UIImagePickerController to record a video with the sourceType set to UIImagePickerControllerSourceTypeCamera.
I have set allowsEditing to true so that the video can be edited before the picker returns. But after I edit the video using the trimming interface and press "Pick", I only get back the original recording in the ...
Is there any way built into the iPhone SDK that allows devices to send data to a Mac over bluetooth? I know of GameKit, which allows data sharing between iPhones, but I haven't seen anything about an iPhone --> computer connection.
Thanks
...
I have a self-signed certificate at the endpoint of my API. I'm trying to test some things using the simulator but am getting "untrusted server certificate".
I have tried to use safari on the simulator to download the .crt file, but that doesn't seem to work.
Where does iPhone Simulator get its keychain from? How can I add a trusted ...
Hi, first question here, this is regarding the iPhoneOS3 not MacOSX. I am fairly new to Objective-C and I've never developed in a environment without automatic garbage collection so I am a little confused by this. Here's some valid code assigning a view controller to an app delegate from an example off Apple.com:
MyViewController *aView...
I need to update my application after the user pays for an update. I want to alter the current application instead of downloading a new version. After the user pays, I will enable certain functions of the app.
How would I implement this?
...
I have a number of web views in my app in which I need to be careful about allowing further HTML links.
I disallow links in the delegate method shouldStartLoadWithRequest. This works fine, except for one thing. In the web view, the links are still highlighted in blue. So the user naturally thinks they are active links, but when select...
Hello,
I have implemented In App purchase in my existing application.
This application is currently available on app store as paid application, I want to update this paid application to free application with this In App purchase feature, where users can download it freely and have to pay for few features to unlock them.
But the proble...