How can I turn on parenthesis matching in Xcode?
Curly brace matching was pretty easy to turn on. How can I turn on parenthesis matching in Xcode? ...
Curly brace matching was pretty easy to turn on. How can I turn on parenthesis matching in Xcode? ...
How can I use auto-complete in Xcode like I can in Visual Studio and Eclipse? Specifically in VS and Eclipse auto-complete displays a list of choices... while Xcode just displays a single choice. For example Xcode might suggest "myVariable" when I type in "myV". That's fine but what if I have the following objects in the scope of my...
I set a breakpoint but when I run my program it looks like it disables itself. Any ideas what's going on? The breakpoint arrow is dark blue before I run the program, and upon execution changes to light blue. ...
i have a uitableviewcontroller here is the .h file code @interface addToFavourites : UITableViewController { } @end and here is the .m file code #import "addToFavourites.h" @implementation addToFavourites - (id)initWithStyle:(UITableViewStyle)style { if (self = [super initWithStyle:style]) { } return self; } - (NSI...
Hi, I am new to mac developing, and kind of confused. I am trying to create a program with a toolbar, but can't seem to get it working. Can anyone explain me the steps needed to do this? Beside, is there any control on the mac developing system similar to iPhones UITabBarController? Thanks, Hans Espen ...
We're adding CoreData support to our iPhone app. It's a far reaching change (moving from SQLitePersistentObject). To avoid branching, we are running a single codeline with the new code within #ifdef blocks. When I enable this code from one of my headers (#define CORE_DATA_BUILD) everything works fine. When I create a new target and defi...
I want to open source one of my iPhone applications (that I've already published in the iTunes store) but I obviously don't want to expose anything "sensitive" like provisioning certificates and code-signing keys, etc. I'm guessing that stuff is merely referenced from the Xcode project folder (actually stored in my keychain elsewhere on...
I have an iPhone app running in the simulator that won't quit. I also cannot kill it, not using Activity Monitor nor kill or kill -9 or killall. cyrus:~ ajbrehm$ ps auxc|grep Vocky ajbrehm 76450 0.0 0.1 153116 5212 ?? UE 12:59pm 0:00.05 Vocky ajbrehm 76437 0.0 0.1 153116 5212 ?? UE 12:58pm 0:00.05 Vocky ajb...
Since there is no Xcode script variable for "current project directory," how can you create a script menu item to run the Clang Static Analyzer on your current project from Xcode? ...
I have an iPhone app where I will be using it as a template for several apps. I want to change the name of the executable for each individual app (Not the app display name on the phone). I see in the target build settings where I can change the key "Product Name" to the new executable name I want. Is there anything else I need to chang...
I just realized for my cocoa application I can set the garbage collector setting for the target but also for the project. My app did crash since I activated GB only in the project properties not in the target properties like I used to do. Changes in the project settings did not apply to the target settings. What use is the Garbage Coll...
hello all i am new to iphone development i am working on a application called flash cards... my problem is i want to generate flash cards from database... here is some code to explain home screen---- index View categoryView TileView bookmarks search download indexView is a uitableView category1(section header tit...
i have some database and i am genrating data something like this. first getting categoryid and categoryName form the database. and sectiontitle of the table is categoryName hrer is sample code (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return categoryNamesList.count; } -(NSString *) tableView:(UITableView *)t...
Hi There, How can one pad a string to left in objective c. E.g if if i have an integer value of 6 I want it to be displayed as 06. I use stringByPaddingToLength but it pads it to the right like 60. Your help is much appreciated. Tony ...
Is it possible from a keyboard shortcut to switch from the XCode editor window to help and then back again? ...
What's the closest GCC equivalent to this MSVC preprocessor code? #pragma warning( push ) // Save the current warning state. #pragma warning( disable : 4723 ) // C4723: potential divide by 0 // Code which would generate warning 4723. #pragma warning( pop ) // Restore warnings to previous s...
I am used to Visual studio, I have class library projects that I reference in my web sites or windows applications. Using class libraries allows me to create common functionalities, utilities once and use them over and over again. How do I do this with Xcode and iPhone App development? I am looking for some details on how to create the...
Hi, I'm doing a presentation on debugging in Xcode and would like to get more information on using NSLog efficiently. I'd like to know if there are any tips and tricks to using NSLog which you guys have picked up. For example, is there a way to easily NSLog the current method's name / line number? is there a way to "disable" all NSLo...
In Visual Studio projects I almost always use the App_Code folder or a reference to a separate class library to store my most commonly used Methods, like a method that formats dates. Where and how should I do the same when developing an iPhone App using Xcode? Is this best practice when it comes to iPhone Apps? ...
Can anybody explain to me the cause of the following message, perhaps along with suggestions as to how to fix it? I'm running XCode under root using sudo <path to xcode because I need to debug a daemon that has to run as root. I've done this several times successfully, but now when I try to open the project in Xcode I get the following...