> On Dec 20, 2017, at 2:23 AM, Eric Matecki <eml...@wanadoo.fr> wrote: > > My project is based on what I believe is an official sample from Apple, > which Richard Charles posted as an attachment to his msg from 12/12/2017.
It looks like you have taken your project from Malcolm Crawford's “Combatants” sample code. If I remember correctly Malcolm did work for Apple and was a one of the public experts on Cocoa bindings at the time. This sample code however is of his own making and did not come from Apple. In this sample code he does subclass NSArrayController and overrides the behavior of arrangeObjects: to exclude the selection (much to my surprise). This is very advanced stuff you are delving into. Malcolm's sample code that really helped me was "Graphics Bindings” which was aligned with a major project I was working on. On this project I actually ended up subclassing NSArrayController because I could see no way around it but as Quincey Morris has indicated it was a very painful process. But before delving into programmatic Cocoa bindings I must have spent a year with Aaron Hillegass in Cocoa Programming for Mac OS X. If you have a C++ background, Aaron will take you by the hand and lead you along a correct path. My current major project is for macOS and requires interoperability with C++ so I have yet to jump on the Swift or iOS bandwagon. Note that Cocoa Programming by Hillegass uses the Swift language starting with the 5th Edition and up. I actually use OS X v10.9 documentation every day. It is old style, accurate, extremely usable, searchable, compact, and works well inside a web browser. I absolutely detest the new style documentation and find it almost unusable. Anyway that is what I do for documentation. Good luck with your project. --Richard Charles _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com