Whoops. that's not define, it's defun :-) (Auto spell check did that, probably the spell checker likes Scheme more!!!)
- dmsurti, 2388 days ago
Hi,
Swift is a moving target and mocl doesn't yet try to integrate with it in any official capacity. For the time being, you could manually create Objective-C functions that wrap mocl calls, and then call those wrappers from Swift.
Hopefully there will be official support in future.
Wes
- Wukix, 2388 days ago
Hi,
Swift is a moving target and mocl doesn't yet try to integrate with it
-- Ok, that makes sense.
For the time being, you could manually create Objective-C functions that wrap mocl calls,
-- Yes, I tried that but given that I have all my app logic code in Lisp and it is just UI code, so either of Swift or ObjC makes sense and when I looked at the wrapper layer, it looks like just a pointless indirection. (in the context of the 3D sports game that I am developing).
Hopefully there will be official support in future.
-- Yes, hope that there is official support once Swift reaches a stable state.
Thanks,
Deepak