Been working on an iPhone app for our organization, and being a full-time DotNet based developer working on Xcode and iOS development had its quirks. I am documenting my experience on the first few runs so that others can benefit on the same.
Adding existing project to a local GIT repository
Terminal to the folder where the root of the project is and give the following commands
git init git add . git commit -m "Initial Commit"
Setting conditional breakpoints in Xcode
Add a normal breakpoint and then
Ctrl+Click on the breakpoint and select
Edit Breakpoint. Here you can give the condition under which the breakpoint activates.
Tip from http://stackoverflow.com/a/989815
Stepping through code
Once you have hit the breakpoint, to step through the code find the controllers in the debug area (normally next to the output window). This area would have the buttons for
Remove all breakpoints in Xcode
Well there’s a two-step way:
- Press CMD(⌘)+ALT+B to show all breakpoints. UPDATE:In Xcode4 pres CMD(⌘)+6
- Select all breakpoints and delete them, like deleting text, with backspace.
Tip from http://stackoverflow.com/a/1665772
Planning to update this post as I keep discovering new ways of doing old things, do keep checking back.