xcode

Xcode's Change Case of Letter shortcut doesn't seem to work

In Preferences->Key Bindings->Text Key Bindings Xcode has a "Change Case of Letter" key binding. However, when I assign a shortcut to this binding and then attempt to utilize it to swap the case of a letter in one of my source code files, it doesn't seem to do anything. I've tried positioning the cursor before and after the letter, and...

how to search xcode doc set

here's another really stupid question. XCode has a Developer Documentation window. There are sections dedicated to sorting the results of a language reference search. There's no search bar. No button that says "Search for:". No magnifying glass. What am I looking for??? Google doesn't understand my question, and I thought I'd ask you ...

Is there a way to make whitespace visible in the XCode editor?

I want the tabs and spaces to be visible in XCode. Is this possible? I can't find it under preferences. ...

GDB cheat sheet

Can anyone recommend a good cheat sheet for gbd? I'm experienced with windbg commands, I'm looking for gdb equivalents for lml (list loaded modules), ~*k (all threads stack), ba (break on access), dt (dump type), dv (dump frame variables), sxe (set up SEH handler) etc. I understand there won't be a 1 to 1 equivalent, but I just need a co...

cocoa/apple symbol server

Is there an equivalent in dbg/cocoa/apple word for the Microsoft public symbol server and windbg (http://msdl.microsoft.com/download/symbols)? So basically 1) does gdb support the concept of a symbol server and 2) does apple supply a public URL for their own public symbols? ...

My plugin crashes Interface Builder

I built a custom control and an IB plugin for it. If I run the plugin using IB as a custom executable from the plugin project everything works like a champ. But if I copy the framework and plugin to the "normal places", create a test app for it, and run the simulator - IB crashes after it returns from the simulator. I've scoured the w...

How can I display the application version revision in my application's settings bundle?

Hi to all, I would like to include the application version and internal revision, something like 1.0.1 (r1243), in my application's settings bundle. The Root.plist file contains a fragment like this... <dict> <key>Type</key> <string>PSTitleValueSpecifier</string> <key>Title</key> <string>Version</string> <key>Key</key> ...

XCode won't build IB plugin into resources folder

I've created a custom control and a framework/IB plugin for it using the IB3 plugin template. According to the docs the plugin should be built right into the resources directory of the framework. When I build my project the plugin is in the configuration folder (Debug) along with the framework instead. This is the same behavior right ...

Xcode #pragma mark doesn't work for me

In Xcode method listings (activated via Ctrl-2), the method names are always listed in alphabetical order. If I do: #pragma mark - #pragma mark TableView delegates ...table view delegates here... The listing doesn't show the separator or "Table View delegates" right before the table view delegate methods, it's showing them at the b...

warning: declaration does not declare anything

I'm getting this warning all over the place in some perfectly well functioning objective-c code within XCode. My google-fu has failed me... others have run into this but I could not find an explanation on what exactly is causing it or how it can be fixed. ...

On releasing object belong to another object - xcode memory management

Is [[MyObject itemProperty] release] acceptable? Currently, I have MyObject fetching some data and sets it to itemProperty. The delegate of MyObject then fires off and uses MyObject's itemProperty data and releases it. Is this an acceptable way of memory management? I've been told from various books that you should only release an obje...

how to create more than 40-50 textfields and labels in a single view?

how do i create more than 40-50 textfields and labels in a single view nad when the textfield selected the keyboard should not hide the textfield.? ...

Can an iPhone app block phone calls?

Is it possible to write an application that will block incoming and outcoming phone calls? Or is the iPhone locked down too much? Thanks! ...

Is there a better shortcut for "move to next suggestion" in Xcode

In Xcode, if I type nsmut then escape, I'm offered a number of NSMutable suggestions (NSMutableArray, NSMutableSet, etc). I use the arrow keys to get the one I want. This forces me to take my fingers off the home keys. I was wondering if there's another keyboard shortcut to select the next and previous selection in the dropdown menu th...

How Can I Automate Tasks in XCode?

I'm building an app in Obj-C / XCode and I'm running into some repetitive tasks. For example if I want to add an image resource to my project I just go through the same identical steps... only difference is the path to the resource. How can I automate these tasks? Is there some sort of XCode macro-recorder like in Photoshop and Exce...

Simulating accelerometers, microphone and camera in XCode

Hi gurus, Is it possible to simulate movement (ie the accelerometers), microphone and camera in the XCode simulator? If so, how do you do it? If not, are there any XCode addins or third party apps that do it? (apart from downloading to an actual iPhone of course). Thanks in advance! ...

flip views in iphone?

hello all i have a simple view which has a button. on the button's tap i am loading a new view which contain a navigation bar and a UITableView.is there any way i can animate a flip effect on button's tap and load the view and also vice versa? ...

how to create this customized UI?

hello all , i m new to iphone development i want to create a view like this.. 1.home screen contains a. a navigation bar b.a uiimageview c.a toolbar(with 4 buttons) 2.new view contains a.navigation bar with back button which leads to home screen. b.a UITableView. 3.another table view with navigation bar leads back to (2nd view) note ...

Whats the best way to manage code snippets on Xcode?

I have fallen in love with visual studio's code snippets toolkit. Is there anything similar on Xcode? ...

Automatic updating of Xcode build phases for a target?

It seems that in a standard Xcode project, the default target automatically "updates" the Compile Sources build phase with any newly-added implementation files. This saves the user from having to drag each new file into the phase. I have defined a second target, which contains a large amount of unit testing code, which is linked as a di...