« C# .NET 3D Frameworks - Part IV - RANT | Main | Snow Leopard: That's not my Unix anymore... »

Xcode 3.1.2 crash is annoying

Here's a workaround for an annoying Xcode crash. Now Xcode is one of the few text editors, which doesn't have an autosave feature. Probably because it never crashes. That's because Xcode programmers are so good, they don't write bugs or whatever and never lose their code. Or they don't use Xcode to write Xcode ? Anyway...

  1. Create a new Xcode project.
  2. Add a new Objective-C class. Assume you want to create a category, so name it xxx+yyy
  3. Xcode will produce a template like this:
    //
    //  xxx+yyy.h
    //  Untitled
    //
    //  Created by Nat! on 12.08.09.
    //  Copyright 2009 __MyCompanyName__. All rights reserved.
    //
    
    #import <Cocoa/Cocoa.h>
    
    
    @interface xxx_yyy : NSObject {
    
    }
    
    @end
    
  4. Try to rename xxx_yyy to xxx (yyy) placing a ( open paranthesis after xxx
  5. If its just a conspiracy against me, nothing happens
    If I you are lucky, you get an exception
    If you are as unlucky as me, you crash

Workaround: Place the ) closing paranthesis after yyy first.

About

This page contains a single entry from the blog posted on August 12, 2009 4:03 PM.

The previous post in this blog was C# .NET 3D Frameworks - Part IV - RANT.

The next post in this blog is Snow Leopard: That's not my Unix anymore....

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 4.25