Is it possible to use SpriteKit through declares? I need to dynamically reference classes which I usually do with NSClassFromString but that doesnt work, I guess because its SK not NS.
[code]soft declare function NSClassFromString lib “Cocoa” (aClassName as CFStringRef) as Ptr
dim ns As Ptr = NSClassFromString(“NSView”) //ns has value
dim sk As Ptr = NSClassFromString(“SKView”) //sk nil/0
break[/code]
Is there some other way or does this have to be done with a plugin?