| Miguel, concerning the Objective-C (mainly more Objective-C++), unless you want to create very specific views, or link against a special framework that SuperCollider does not integrate directly ( for example using a special CoreAnimation view ), i won't advice you to go this way. As thor said using Supercollider's SCPen (since we are speaking about OS X) has much bindings to the Quartz rendering functions, trying to create a custom view this way is really much much faster + you have SCImage to give you access to image drawings + other caching techniques. (i even use sometime supercollider for rapid prototyping for some external Cocoa stuff / views). You will not only need Objective-C skills but also C++ ones. Coding a custom view in SuperCollider won't really improve your Cocoa-only skills since it does not use the same model : a supercollider view is not a NSView, SuperCollider UI architecture/hierarchy is not a mirror of the Cocoa view architecture/hierarchy. Integrating a Cocoa view in SuperCollider is not easy. If you want your view to integrate correctly in Supercollider you will have also to conform to the SuperCollider way to handle events in your view...ect... another problem with going ObjC / Cocoa is that you have to build and maintain your own custom version of SuperCollider app. you cannot share easily your custom widget too... with Pen, UserView (SCImage is OS X only) you can also share your work for different platforms, have a great support during development. With Objc you it will be difficult to have the same support as devs are quite busy. You may end up reading much code to achieve what you want and try to figure out things on your own. As a side note, the language plugins might offer you a way to create new primitives and new views. But again it is not part of the distro so you have to build and maintain your own version. And actually it is being also re-designed to a plain C interface, wich will allow the use of C++ or Objective-C wrapper client side, so may be worth waiting for this new issue :) just my opinion hope that will help best, charles Le 17 juin 09 à 11:48, thor a écrit :
|