xcode

In XCode, is there a way to disable the timestamps that appear in the debugger console?

XCode's debugger console makes it easy to see any debugging messages my app sends out using NSLog(), but it always sticks a timestamp prefix on them: 2009-08-30 04:54:48.128 MyApp[94652:a0f] some log message 2009-08-30 04:54:50.647 MyApp[94652:a0f] another log message ... I have no use for this prefix, and it takes up a lot of room. I...

Using a non-default keychain in XCode

How can I use a non-default keychain in XCode iPhone project. I have already tried '--keychain mycerts.keychain' in 'Other Code Signing Flags' in 'Code signing' build settings. ...

what API should i use to lock and unlock screen in MAC OS X ?

Can you tell me what API and function should i try to use to make an application that will lock and unlock screen using the dialog box in MAC OS X? ...

Show/Hide TabBarController in iphone

hi, i am making an application in iphone in which i have 4 tabbars & in one of its tab i have 4 views in 2nd view it needs to hide the tab bar. I am able to hide the tab bar using the setHidesBottomBarWhenPushed:YES in in the initWithNib method of the Viewcontroller being pushed. But when navigating to the screen 3 , calling the same met...

remove every type of subview from uiscrollview?

hello all i am using this code to show flip animation...... i have a uiview with scrollview(paging enabled)...so it shows a view like a page...now i also have done flip animation using this code.... -(void)flipView { flashCardAnswerController *flashCardAnswerControllerobj = [[flashCardAnswerController alloc] initWithNibName:@"Flash...

Adding xCode '.a' Library file to repository SVN ignored

Hello, I am not able to upload the file "libYAJLIPhone.a" to a SVN repository. I'm trying to set up an SVN repository for an iPhone application. I've set up various "global-ignores" and auto-props to exclude the build directory. But with and without these ignore parameters and/or auto-props I'm still not able add the file "libYAJLIPh...

Can't run Instruments from Xcode

I recently upgraded to Snow Leopard and since then I am having difficulty running Instrument to instrument my app from Xcode. The Record button would be grayed out, and nothing happens. There is no message in Xcode's console telling me what's wrong either. I used to be able to attach it to process or launch the process from Instrument...

Command line compiling an iPhone Application

I would like to find a way to compile and package our iPhone application as part of our automated nightly build. At present we always have to manually kick off a build on a shared Mac that has the adhoc certificates installed on the box and then post the resulting test binaries some place where testers can pull them down and install the...

PyObjc and Cocoa on Snow Leopard

I am about to start my A-Level Computing project (High School Level) which will hopefully be a point-of-sale application for Mac OS. Unfortunately, Objective-C is a little out of my league at the moment and should I get stuck with it in the project I have no one to help out so I would fail the section of the course and not get into Univ...

Instruments refuse to run

I am having problem running my Instruments on my iPhone app, below is the message I got. Any idea what's causing this and what I can do? ...

how do I package support files in a cocoa app

I'm building an application where I want to provide the user with a few dozen templates that will internally take the form of property lists. I would also want to group them in categories, which would conveniently be achieved using folders. While I have contemplated shipping these files as simple resources in my application, I don't lik...

Debugging UIViews missing subviews member in variable list of debugger

Hello thogether While searching a bug in my code today I found a strange thing. When inspecting a UIView instance in the debugger the variable view of Xcode does not show the subviews member of the UIView class. I only see this fields in the debugger (> should indicate the opening triangle): >UIResponder >_layer >_tabInfo >_gestureIn...

UIPickerView in iphone

hi, i am making an application of iphone, in which i have a table view, on every row of table view i have created a button programmatically & on its click method am showing picker view. Picker view showing perfectly, on picker view's toolbar i have 2 barbuttonitem named Done & Cancel. i have added below code in Picker view's delegate met...

print in Xcode GDB with C++ doesn't print correct values

I'm writing/debugging an iPhone project that uses a large portion of C++ for image processing. I'm having trouble when I'm using gdb under Xcode because whenever I print values, they are completely out of whack with the true values (comparing cout << "width" << width << endl; prints out 320, and if I do a print width in gdb, I g...

What's the best resource to learn how to write apps for Mac OS X?

Hi. I'd like to learn how to write application for Mac OS X. Like how to use XCode properly, Cocoa syntaxes and examples, etc. I'm already a web developer using ruby, php, mysql, rails, etc. I looked through google quite some times but never found something palpable to learn from. But I really want to make my own application, for fu...

How well does Xgrid work with Xcode for parallel compiling?

I'm intrigued by the idea of using Xgrid to speed up my Xcode compiling across multiple machines... but it seems very difficult to find any information on people's experiences with it, any gotchas, etc. I don't have multiple Macs that I can test it with right now, so I'm curious. Have you tried it? How well has it worked for you? What k...

Xcode 3.2 in Snow Leopard hangs running unit tests

So I have some unit tests that pass in Xcode 3.1 / Leopard. These use SenTestingKit in an iPhone app project and are built/run in a separate "Test" target. I just upgraded to Xcode 3.2 on Snow Leopard and the tests seem to run (I get logs in Console.app and see them passing), but Xcode beachballs and must be force quit'd after they are r...

How would I play songs or make a splash screen for my cocoa app?

How would I play songs or make a splash screen for my cocoa app? I know it's a simple question but I am a complete noob when it comes to cocoa. ...

Error in xcode project: ld: library not found for -lcrt1.10.6.o

Just upgraded to Snow Leopard, installed Xcode 3.2, then installed iPhone SDK 3 for SL. In a project, I now get the following error on build: ld: library not found for -lcrt1.10.6.o I've searched around the net, but nothing helpful can be found. ...

Where is there a good tutorial on how to use Xcode's debugger properly?

Howdy-- Subject says it all really...Is there anywhere a good tutorial for Xcode's Debugger out there? I'm finding dribs and drabs of stuff but nothing comprehensive or that goes deep enough. My problem right now is that this... #0 0x90d9c688 in objc_msgSend #1 0x30506515 in NSPopAutoreleasePool #2 0x30901697 in _UIApplicationHandle...