I randomly get this error, and I can't figure out a way to fix it: the variables pane (top right) is blank, and the gdb "po" command can't print any variables.
The "po" command doesn't even know about "self":
The problem appears specifically for all methods in the MGMinimap class. Nowhere else. I can debug from A and see self and th...
hi
I finally figured out how to display youtube video in uitableview,but the code i wrote leads to an youtube image button which is like an overlapped image. After i push the"youtube image button", it directs to a video player with "done" button. The youtube video is played quite fine. and it came back to the the previous page-youtube im...
I've got a window with a UITabBarcontroller at the bottom. I have 3 tabs, corresponding to their respective views.
Everytime I switch to a view via tapping on the tab, i want it to reload. Which event do I need to tap into? Where would I do this?
thanks!
...
I know .xcdatamodel is actually a directory with two files (elements and layout).
I know the two files are binary plists, and can convert them to XML plists with plutil -convert xml1 (while relying on this may be "unwise", it's perfectly fine for development: I expect that the build tools will compile/optimise/whatever when putting them...
Can any one tell me what the difference is between the isKindOfClass:(Class)aClass and the isMemberOfClass:(Class)aClass functions?
I know it is something small like, one is global while the other is an exact class match but I need someone to specify which is which please.
...
I am using a UINavigationController to slide from a UITableViewController to another view. In that second view I have created a custom "Back" button which is attached to an action.
What code do I use to return to dismiss the current view and slide back to my first view? I need something that is the equivalent to [super dismissModalVie...
I can initialize or create a new CCSprite object using the following code:
NSString *fileName = [[imagesPath objectAtIndex:i] lastPathComponent];
CCSprite *sprite = [CCSprite spriteWithFile:fileName];
Now, is there anyway to later find out the name of the image file used for the particular CCSprite object?
UPDATE 1:
userD...
I'm programming a Webpage/-Application for the iPhone. I need to scroll to a specific position after page reload, no matter where I scrolled to while using the page before.
The script I use works fine in firefox but not in mobileSafari. In corntrast to firefox, mobileSafari seems to save the position I scrolled to previously and jumps t...
I have a class which implements many delegate methods. How to group the delegate methods into different classes by the protocol they belongs to and use them in the original class?
...
I'm at my wits end. I'm trying to debug a crash, and finally I manage to track it down. My 'minutesLeft' variable is somehow being released.
Problem is, I never set it to release, and the property is set to retain. I can't figure out what is going on!
Using the zombie variable, I got the following message:
* -[CFNumber intValue]...
Not trying to beg off anyone but if someone did happen to have a simple game tutorial for iphone and xcode would they be so kind as to post it here?
...
I'm just looking for advice with this as I have no idea where to start but I think a UIActionSheet is probably best.
What I'd like to have is a pop up window (in my head I picture it as being translucent and dark gray). It will not take up the whole screen and the view underneath will still be visible.
In the pop up section there will...
I've seen posts here on Stackoverflow that describe how to allow users to be directed to apps on the app store.
Is there a way to link directly to the rating and comments form in the App Store?
...
Hi All,
I have a map displaying multiple annotations.
I'd like to mimic the behavior of the Places tab on the Photos built-in app (iOS 4), where the annotations are automatically joined together or splited apart as the user changes the zoom level.
How do I do that?
Thanks!
...
I have a UIView which has a bunch of subviews. The subviews should be able to receive touch events, but for some reason the parent UIView takes the touch and does not pass it on. I have created it in a very standard way like I always create views:
UIView *myView = [[UIView alloc] initWithFrame:CGRectMake(0,0,1024,768)];
self.mainVi...
Hi everyone!
I'm working on the n'th application locating zip's. Everything works fine in PHP while I worked along the docu on OpenGeoDB. Now, I'm trying the implementation on the iPhone-SDK, but SQLite doesn't have the ACOS, SIN etc funcs.
Can anybody point me to an example of how to expand the SQLite with userfunctions in order to use...
2nd edit:
Already found the answer: UINavigationController has an option to show a toolbar and this video showed me how to substitue UINavigationController's standard slide animations by something different.
Hi all,
I'm trying to make an app that uses a navigation bar (top) and a toolbar (bottom) that can swap views in and out and putt...
In core data, in the xcdatamodel file, if i want to specify a parent object, but for one of the children of the parent object, i want a property to be optional, and for the other, i don't want to check optional, is there a way to do that? or should i just take the property out of the parent and put it in the children so that I can make o...
I have an NSMutableArray which has about 18 objects. They are in a specific order that I want. I have to add these objects into an NSSet to be saved in Core Data.
But, once I pull them out of the NSSet using [myObject.items allObjects] it does not keep the original order that I added the objects as. How can I keep the order that I ...
In the Apps tab of iTunes, there is a 'File Sharing' section with a list of apps that can synchronize their documents with your computer. What do you need to do to tell iTunes to sync your apps Documents folder?
...