objective c - How co call methods of EAGLView from ES1Renderer? -


using standard opengl es ipad pattern such 'structure'. i've read delegating, protocols, still got no direct answer particular purpose. please enlighten me.

why need this? action goes on in es1renderer , want [eaglview setuserinteractionenabled:true]; example, gives me:

'eaglview' may not respond '+setuserinteractionenabled:'

you're sending message class, not instance. you'd need object of type eaglview send setuserinteractionenabled: message to.

like:

eaglview *myview; [myview setuserinteractionenabled:true]; 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -