Re: [AD] SF.net SVN: alleg:[15705] allegro/branches/5.1/src/macosx/osxgl.m

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2012-06-11, at 2:26 PM, Elias Pschernig wrote:
>> Probably want to do the check at runtime, otherwise code compiled on
>> earlier versions of OS X won't work as expected on Lion.
>> 
> 
> I have no idea how to do runtime checks in OSX.

I think you want "respondsToSelector". There's an example in allegroAppDelegate.m of the iOS port.

Trent



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/