NSDictionary inspect in debug
Hi all! I wish look inside my NSDictionary during my debug operation...what is the fastest and best way to do this?? xcode doesn't have a watch like visual studio to look the objects? thanks! ...
Hi all! I wish look inside my NSDictionary during my debug operation...what is the fastest and best way to do this?? xcode doesn't have a watch like visual studio to look the objects? thanks! ...
All, Is there a way to download older versions of the iPhone simulator to test an application with an older version of the iPhone OS? I'm running xCode 3.2.2. and it only has iPhone OS 3.1.3 and I need to test on 3.1.2. Thanks in advance ...
Or I should ask why is it so difficult for me? The answer is probably that I'm new to iPhone development and I'm trying to ditch my old methods and step into the new platform of the future. From start to finish, I have a few questions about this process... If I create a .png image, where does it go in my project's directory (i.e. my ...
My app was building and running well in xcode 3.2.2 with iPhone SDK 3.1.3. Now, I upgraded the SDK to 4.0 with xcode 3.2.3 and tried running the app. All I could see there after in the iPhone Simulator 4 is the opening splash screen (Default.png) followed by a BLANK BLACK screen. This is driving me nuts. No change in code yet, the app fa...
I have an Xcode project. The project currently has four targets, and I am about to add more. Within the project are about 150 png files. I have all of these in a tree of groups in the Xcode "groups and files" panel. I want to include these png files in some of my targets, but not in others. The thing is, I will always want either ...
I would like to send someone the Xcode simulator version - not the device version - of my iPad app. I have located the .app file in the Finder. Do I just zip it up and send it off or is it more complicated than that? Thanks, Doug UPDATE Chrisbtoo got the answer on this one however he left of some critical bits for those of you trying ...
I'm having trouble with my source code templates. When I start typing a switch statement, there's no code completion for me. On another machine, this works perfectly. Just not on mine. Actually, typing switch should result in an code completion or template in the form switch ( xxxxx ) { case:x break; case:x break; default: ...
My Mac hard disk crashed, put a new hard disk and reinstalled OS, xcode, but not able to build my app for device target since the certificate does not work any more. I could have used the p12 file but unfortunately I lost it. So, what's next? How do I update my app which is there in app store? I need to smoke now :( ...
One of the iPhone apps I work on doesn't currently have a Settings.bundle in its project. I want to add some debug settings in a Settings.bundle for our QA department, so they can enter different server URLs used for web services (so they can point at production, staging, dev, etc.). For our final App Store build, I don't want there to...
So, I wanted to test my RoR app for memory leaks, and I was all like "Hey, Xcode has a tool for that".. So... I run the RoR server Then The moment I tell instruments to attach to the process, it dies, and tells me Trace/BPT trap What is Trace/BPT trap And how do I test my app for memory leaks? ...
I am am opening a PDF document using Quartz2D in core graphics, resizing it, and attempting to re-save it to the file system of an iPhone. Problem is I cannot figure out how to write a PDF to the file system. Has anyone had luck with such a problem. ...
I'm trying to implement local notifications for a calendar-esque application, and I've hit a barrier with reminder intervals. Local notifications seem to only take NSCalendarUnit constants as repeat intervals ( see http://developer.apple.com/iphone/library/documentation/iPhone/Reference/UILocalNotification_Class/Reference/Reference.html#...
I have a plist with two string arrays. I want to merge these two arrays. I tried selecting all the strings in one array and copying to the other, but I cant select multiple items. I don't want to do this programmatically. I'm on a Mac using xcode. Any thoughts? ...
New to iPhone development, not new to software development in general. I want my Objective-C/iPhone source code to look "unsurprising" to someone else reading it. Wondering what is the accepted practice for code organization within one class? As an example, I have a view controller like so: @interface SomeViewController : UIViewContr...
I have Xcode 3.2.2 and I am trying to use LLVM version 1.0.2 as a compiler. When I do that, I see the error Library not found for -lgcc Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1 How do I solve that? thanks. ...
Hi I have seen a few examples of adding breakpoints in gdb using the command fb. I have tried using the following but it doesn't work... fb -[NSTimer release] I tried it but it says. Function "-[NSTimer release]" not defined. As you can probably tell I want the debugger to stop when release is called on any NSTimer object. How c...
I'm getting an NSString from a dictionary that needs to have a variable integer, something like: "You have %i objects." How do I put the calculated integer value into the string? I would like to do something like NSString *string = [NSString stringWithFormat:[dictionary objectForKey:@"string"] But I don't know how to pass in an arg...
Hello friends, I want make a call from my iphone application, when i end the call my application should resume back.How to do this functionaly is there any tutorials regarding this kindly help me friends. Thanks ...
I recently updated to the newest Xcode (3.2.3 w/ 4.0 SDK) and whenever I run ANY project using the Leaks instrument to analyze it, I get the error "Failure while acquiring malloc pointers (LeakAgent32)". This happens with any and all iPhone 4.0 applications and iPad 3.2 applications. I'm including an image with the error message displaye...
Hello All, I am working on a project where the iPad will be used for a specific purpose, and only run one app. When the device starts up, I want my app to run, and I want to override the home button so that it does not quit the app (like the iPhone/ iPod demos in the store). I have seen bits and pieces of this functionality, but am un...