Blog Archives

Autobuild numbers in Xcode4

In Xcode 4 look in the Navigator pane, which is the pane on the left side of the Xcode screen. It has 7 icons across the top. Select the left-most icon (looks like a file folder) to get the Project

Tagged with: , , ,
Posted in Uncategorized

Submitting Apps to Apple with a space in the name

Now Apple introduced a neat feature to archive your Apps before submitting. Neatly because it stores the symbol table, so it an App crashes you can download the logs from the Apple website and get a pointer right to the

Tagged with: , , ,
Posted in Apple, Luky Soft

Becoming an Cocoa guru

Here’s an interesting site that offers courses in Cocoa for iOS development. They are quite comprehensive and offer great examples to go with.

Tagged with: ,
Posted in Code

iPad not firing orientation changes when primary views hidden

Okay, this one was driving me crazy. I have an app that has a UISplitView, and in the left view there is an navigation hierarchy, so at some point controllers will pushed up the view stack. Well, at that point

Tagged with: , ,
Posted in Apple, Code

Color code VI on OS X

Add colors to VI on OS X by adding the following to your ~/.vimrc

Tagged with: , , ,
Posted in Apple, Code

NSSemaphore … missing?

I was experimenting with a new multi layered algorithm to draw many layers of a screen at once. Obviously you would need some for of synchronization mechanism, and thus i found myself looking for a traditional Edgar Dijkstra Semaphore.

Tagged with: , , ,
Posted in Code

Taming Snow Leopard: CGDisplaySwitchToMode deprecation

Last one.. (i hope) here’s a snippet that will flick the screen in a best match resolution using only 10.6 API. – (void) setDisplay:(CGDirectDisplayID) dspy toMode: (struct screenMode) screenMode { CGDisplayModeRef mode; CGDisplayErr err; CGDisplayModeRef originalMode = CGDisplayCopyDisplayMode(kCGDirectMainDisplay); if (

Tagged with: ,
Posted in Code
Categories