Problems with Obj-C

Member
Posts: 116
Joined: 2005.02
Post: #16
Which ones?

Last login: Sat Aug 6 09:15:05 on console
Welcome to Darwin!
Matt-Chelens-Computer:~ matthew$
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #17
Well for started add the openGL framework then include openGL/opengl.h (i think thats the name)

Kyle Richter
DragonForged.com
Twitter: @kylerichter
Quote this message in a reply
Member
Posts: 116
Joined: 2005.02
Post: #18
I did that one...

Last login: Sat Aug 6 09:15:05 on console
Welcome to Darwin!
Matt-Chelens-Computer:~ matthew$
Quote this message in a reply
Member
Posts: 116
Joined: 2005.02
Post: #19
The window doesn't open and I get this warning, /Users/matthew/FlipSquare/GameView.m:35: warning: `GameView' may not respond to `-openGLContext'

Last login: Sat Aug 6 09:15:05 on console
Welcome to Darwin!
Matt-Chelens-Computer:~ matthew$
Quote this message in a reply
Oldtimer
Posts: 834
Joined: 2002.09
Post: #20
Is GameView a subclass of NSOpenGLView? If not, you can set that through either IB or programmatically. How did you create the GameView class?
Quote this message in a reply
Member
Posts: 116
Joined: 2005.02
Post: #21
through IB, how would I do that programmatically?

Last login: Sat Aug 6 09:15:05 on console
Welcome to Darwin!
Matt-Chelens-Computer:~ matthew$
Quote this message in a reply
Post Reply