Adding NSOpenGLView class in Xcode/Interface Builder 3.0

Posts: 23
Joined: 2007.12
Post: #1

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
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
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 10,384 Nov 29, 2011 07:04 PM
Last Post: binaryinsomnia
  Image Hierarchy in Interface Builder sritchie09 2 4,345 Jul 8, 2009 05:22 PM
Last Post: sritchie09
  Cocoa controls on top of NSOpenGLView wadesworld 5 8,274 Apr 6, 2009 01:38 AM
Last Post: arekkusu
  Antialiasing and NSOpenGLView attributes Jar445 2 8,331 Jan 20, 2009 10:42 AM
Last Post: maximile
  Double-Buffering with NSOpenGLView DesertPenguin 3 8,139 Aug 1, 2006 07:17 AM
Last Post: DesertPenguin