Xcode 4 + split screen feature

First, you can change the layout/placement of the Assistant under the View > Assistant Layout menu. This includes placing all assistant windows in the same “column” as the main editor. Second, you cannot split the main editor. That’s what the assistant is for in Xcode 4. Third, Assistant windows aren’t controlled by the main editor … Read more

Xcode 4 disable snapshots creation on refactoring

File->Project Settings (or File->Workspace Settings if you’re in a Workspace), and then click on the ‘Snapshots’ tab: you want to uncheck the “Create snapshot of project before mass-editing operations” box. Thanks to Teknogrebo for pointing out in the comments how to do this for workspaces rather than projects.

How to bookmark code in XCode 4?

Bookmarks seem to have gone the way of the dinosaur in Xcode 4. This wouldn’t have been so bad had the jump-to-bookmark popup above the editor in previous versions not also disappeared. The best replacement currently seems to be to use breakpoints (disabled individually, of course) and navigate with the Breakpoint Navigator. Shortcut to breakpoints … Read more

Xcode 4 can’t locate public header files from static library dependency

Each of the solutions I’ve seen to this problem have either seemed inelegant (copying headers into the application’s project) or overly simplified to the point that they only work in trivial situations. The short answer Add the following path to your User Header Search Paths “$(BUILD_ROOT)/../IntermediateBuildFilesPath/UninstalledProducts” Why does this work? First, we need to understand … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)