My Xcode speed has come down to a crawl. I have no idea why. CPU activity is very low on both cores, gobs of memory.
It's almost as if it's waiting for something but I have no idea what. I have disconnected all USB and FireWire devices but it helped only a little bit.
Any ideas?
...
Does using an NSFetchedResultsController provide any performance advantages on the iPhone over an NSArray?
I have between 4,000 and 8,000 records stored in core data and wanted to know if I should select one over the other. Is the NSFetchedResultsController just used to make code 'prettier'?
My concern is searching, and lag on keyboa...
Hi,
I create an app in objective C, in which I made pdf page to be read. Its working smooth with all pdf file except some pdf file. When I load these exceptional pdf file my application get crashed by throwing an error "Program received signal: "0" Data formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error...
Can anyone please tell me what is this error, I am trying to compile on xcode
"_OBJC_CLASS_$_CATransaction",
referenced from:
objc-class-ref-to-CATransaction in RefreshTableViewHeader.o
And this error
"_kCATransactionDisableActions",
referenced from:
_kCATransactionDisableActions$non_lazy_ptr
in RefreshTableVie...
I have a UIWebView with different (single page) content. I'd like to find out the CGSize of the content to resize my parent views appropriately. The obvious -sizeThatFits: unfortunately just returns the current frame size of the webView.
...
I have an entity called "Client," and each Client can have multiple "Properties." CoreData creates methods on the Client class for me for adding a new Property to the set, but I don't understand the purpose of this. Is there any difference at all between:
Property *newProperty = [NSEntityDescription insertNewObjectForEntityForName:@"Pro...
I am writing an iPad application which uses a menu from a popover to change the view displayed. I have a root view controller which is always present and changes its content view to the sub view controllers, e.g Home, News, etc...
Now here's the problem: Let's say I'm on the Home controller in portrait mode, then go to the news controll...
I have a UIPanGestureRecognizer I am using to track an object (UIImageView) below a user's finger. I only care about motion on the X axis, and if the touch strays above or below the object's frame on the Y axis I want to end the touch.
I've got everything I need for determining if a touch is within the object's Y bounds, but I don't kno...
A UIAlertView is displayed if an error occurs. But in the meantime the view on which the UIAlertView were called has been dismissed (and therefore released). If the user clicks on OK the app crashes because a message to a released instance is sent. This will cause your app crashing:
UIAlertView *alertView = [[UIAlertView alloc] initWith...
Hi There,
I would like to know that how to change UIAlert's cancel button text during runtime.
...
I dealt with orientation by register as an observer, and rotate the navigationController's view to the desired orientation. But some view controllers deal with orientation changes by the following methods.
Responding to View Rotation Events
willRotateToInterfaceOrientation:duration:
willAnimateRotationToInterfaceOrientation:duration:
...
It could be that recent revisions to GameKit are simply a tech demo for blocks. Or, that the "on return" functionality of certain GameKit APIs is just too inconsequential to deserve a dedicated delegate class, and blocks now fulfill the function of an informal protocol.
Though it feels like a subjective question, perhaps there is a defi...
Hi,
I have used the OpenFlow API developed by Alex Fajkowski in an app I am working on. It is a tabbar based app with navigationcontrollers in each tabs, and in one of the tab is the openflow view. everything works fine except when during landscape orientation the selected Image is not in the center of the screen. How do I fix this?
Tha...
I'm looking at some open source code and trying to understand why the author has done something in a particular way.
The class is a wrapper around NSArray to create a stack data structure with push, pop, etc.
One method is topObject which returns the topmost object on the stack and its implementation is:
- (id)top {
return [[[stac...
Hey there, I want to simulate the press of iPhone home button and power/standby button. Could anyone tell me how to do this?
...
Hi
I am trying to play the videos using MPMoviePlayer Class. The problem is I am able to play videos(.m4v) on simulator when playing locally(i.e; from bundle) but when I am trying to play the same video uploaded to a remote server, the video is not playing.Infact I get the error
Error Domain = MediaPlayerErrorDomain
Code = -3
userInf...
My goals is search bar on top my table that searches the track_tiles in Dictionary. This table was built by Parsed data into an NSDictionary. My Dictionary for the table looks like...
tracksDict: {
"Cold Calling" = (
"<Track: 0x5f39bc0>",
"<Track: 0x5f3a3e0>",
"<Track: 0x5f3a990>",
"<Track: 0x5f3...
What would you do in the following scenario:
When implementing a multiplayer game, you use GKMatchmaker to find players.
When the required number of players has connected, you start the match.
Now one of the players receives an incoming call.
What now? If the user takes the call, the application will move to the background, the conne...
Is it possible on an iPhone app to take a picture and extract an string from the picture? We'd like to make our app to look for a serial number on a database (very long number) without the user having to type it.
Is there any Cocoa/Objective-C API for this or any C/C++ library that can be used in an iPhone app?
Thanks in advance!
...
I have a very simple problem that i'm sure has a simple solution, but after searching the internet for 2 days I can't find anything on it =(
Here is the situation: I have decided to break my data into 2 sperate entities with a one-to-one relationship. So I have the PERSON entity and FEATURES entity. each PERSON has a related FEATURES en...