I have a table view that displays managed objects (Tasks).
I'd like to fetch all tasks and update the table view once a task is added or modified.
Currently refresh the tasks array when NSManagedObjectContextDidSaveNotification is fired.
But I'm afraid that this could be quite inefficient as the table is also updated when other objects ...
Hello,
I have an object, I make some changes to it, but I don't want to save them, I want the 'old' values.
I've tried with:
[managedObjectContext rollback];
[managedObjectContext redo];
[managedObjectContext reset];
and none of them seems to work ...
NSLog(@"current: %@",ingredient.name); // ===> bread
[ingredient setName:@"test n...
hi
what is the iPhone ringer alert popup name? and could implement that ? i mean like this :
...
Hi All,
I am looking for this for weeks now:
My app needs a metronome like function and I did it with a thread (copied and adapted from Apples Metronom example) but the timing is miserable.
I know that the timer ressources are not accurate but I cannot find another feaseable technique.
And I need just short "beep" sounds so tackling the...
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'm trying to use NSArray's filteredArrayUsingPredicate: method to filter an array of core data managed-objects. Here's an outline:
NSArray *array = self.fetchedResultsController.fetchedObjects;
NSPredicate *predicate = [NSPredicate
predicateWithFormat:@"name contains[c] %@", searchString];
NSArray *filteredA...
Hey,
I'm still a Newbie to iPhone Dev. and I have a problem.
I built an FrontView, which is loaded when you open the app. This view contains a button. That button links to a viewcontroller, which contains an UITabBarController and that UITabBarController has a UINavigationController in it's first tab. Under that NavigationController the...
How would I go about having a list of labels, and when a Round Rectangular Button is pushed the UILabel above it changes to a label off the list randomly.
...
Is there a way to verify / validate a remote XML (or download it first and store it locally) before processing it and store the info into CoreData or DB with iPhone SDK 3?
...
I am able to successfully view a PDF from a website.
I want to be able to download that PDF to the device, then be able to access that file locally.
So the user opens the app, the app checks the online PDFs date and compares it to the date of the PDF store locally, if it is newer, then the new PDF is downloaded, if its not newer then i...
Hi All,
I am trying to store an image in the device through my program. I am able to store the image in the sandbox. After quitting the app when I run it again the address of the sandbox changes so I am not able to retrive it and use it in the next run.
Please help.
Thank You All.
...
Hello,
I am working on an application in which i save Current Date in database but when my app runs in Arabic language the current date format is changed into Arabic.I mean the date format should be like this 09/02/2010 but the digits are converted to Arabic digits.So how do i convert them back to english digits even if my app running in...
Hello good morning,
I am trying to use Camera or Imagepicker Library to get an image after taking a new picture i get a View > Asking me to Add a Description and then I have 2 Options in the toolbar "Cancel" / Upload. I have seen it in quite few applications.
Can somebody tell me if the intermediate view is inbuilt in the iPhone Camer...
I have an Core Data Entity with a number of attributes, which include amount(float), categoryTotal(float) and category(string)
The initial ViewController uses a FethchedResultsController to retrieve the entities, and sorts them based on the category and then the categoryTotal. No problems so far.
NSManagedObjectContext *moc = [self ma...
Hello,
I'm tring to implement a digital zoom in an application and I use the following line to change the zoom factor (it can be called many time while the camera interface is displayed):
picker.cameraViewTransform = CGAffineTransformMakeScale(zoomFactor, zoomFactor);
It work perfectly the first time I display the camera inteface but...
Is it possible to overlay a third-party map and use the iPhone's GPS services?
That is, for example, I have a street map of my own and want to use the GPS to track where I am in relation. Is this possible?
Further, if so, are there any examples out there?
...
I'm trying to implement a drop-in location manager subclass to allow me to pass heading data to the iphone simulator, similar to the unimotion/accelerometer hack. Unfortunately, according to the CLHeading docs, everything is read only and there's no initialiser which allows the heading to be set. Is there a way to force the creation of a...
So I have programatically created a tabbarcontroller that uses navigation controllers(based on Jeff Fithian's example). Now I need to push an additional page onto the navbarcontroller (ie I have clicked on an item on the list) but I can't quite figured out how to get a reference to the navigation controller of the current view from it's ...
Hello All...
Currently I have my application in which I am creating some plist file in User's Device and storing some local data.
Now, my confusion is that what happen if i will launch next version of my application and once user will upgrade my application's current version then what happen with that plist file which is stored in User...