Adding NSOpenGLView class in Xcode/Interface Builder 3.0

Member
Posts: 23
Joined: 2007.12
Post: #1
Mad

I for the life of me can not find out how to add NSOpenGLView to my Project in Xcode/Interface Builder 3.0. I have tried the

From " Introduction to Interface Builder User Guide "
To create a new Objective-C class in Interface Builder, do the following:
1. Select the object for which you want to create the class.
2. Open the inspector window and select the identity pane.
3. In the Class field, type the name of the class.
4. Press Return (or select another field) to apply the class name.

An no matter what I do I can only Get @interface NSOpenGLView : NSView
instead of @interface MyClass : NSOpenGLView

Have things Change for this to or am I doing something wrong???
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
You can't create classes in IB3. Just create the class you want in Xcode, and it'll automatically show up in IB.
Quote this message in a reply
Member
Posts: 254
Joined: 2005.10
Post: #3
Really? I hadn't done anything with IB yet, but that's much better then the old way!
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Nothing showing up in NSOpenGLView [newb] binaryinsomnia 6 6,204 Nov 29, 2011 07:04 PM
Last Post: binaryinsomnia
  Image Hierarchy in Interface Builder sritchie09 2 3,065 Jul 8, 2009 05:22 PM
Last Post: sritchie09
  Cocoa controls on top of NSOpenGLView wadesworld 5 5,739 Apr 6, 2009 01:38 AM
Last Post: arekkusu
  Antialiasing and NSOpenGLView attributes Jar445 2 6,403 Jan 20, 2009 10:42 AM
Last Post: maximile
  Double-Buffering with NSOpenGLView DesertPenguin 3 5,586 Aug 1, 2006 07:17 AM
Last Post: DesertPenguin