Friday, October 10, 2008

Xcode : CodeSign Error ?!?

Tried to build my app, saw this:
CodeSign error: no certificate found in keychain for code signing identity 'iPhone Developer'

WTF?

Turns out when your iPhone (or iTouch) is plugged in, Xcode looks for your Apple Developer Certificate...

Unplug your iPhone. Restart Xcode. All is well.

Tuesday, October 7, 2008

For Better or Worse

If you are better than me at everything, then I am better than you at being worse.

Objective-C . WTF? (Part II)

Who decided that this...

NSLog(@"Where is %@ hiding?", myVariable);

...was better than this?

NSLog("Where is $myVariable hiding?");


(NOTE: Hey! Dont complain about wanting a dollar sign in your string! Use a back slash! And dont tell me there isnt a better workaround for that first @ symbol...)

Objective-C . WTF? (Part I)

Who decided that this...

[myRectangle setOriginX: 30.0 y: 50.0];

...was better than this?

[myRectangle setOrigin: x:30.0, y:50.0]

... or this?

[myRectangle setOrigin(30.0, 50.0) ]

Friday, October 3, 2008

Quote

With the silliest pride I will tell you that I said this earlier tonight to my daughter:

"Do you want to wear your pretty princess cupcake pajamas? Or your pretty pink flowers princess pajamas?"

And yes, I used my high-octave-talking-softly-to-my-daughter voice.

Thursday, October 2, 2008

Proposition for Constitutional Amendment XXVIII

The office of the president or vice-president may not be held by any man or woman who has ever participated in a beauty pageant.

The voters shall have power to enforce this article by appropriate behavior in November.

Tuesday, September 30, 2008

Xcode . Undo

Does Xcode ask you if you are totally, completely, and entirely sure that you want to undo the changes that you so wisely saved? Do you want Xcode to stop? Do this:

01) Open Terminal
02) Paste the Following:
defaults write com.apple.Xcode XCShowUndoPastSaveWarning NO
03) Quit Xcode (and Terminal!)
04) Open Xcode

Rock on!