I uploaded a new version. Should now run without problems.
Note: Do not try to replace an NSButton's cell with something that is not an NSButtonCell.
I'm using NSControls for the demo application instead. I remember fixing that before, but I guess I forgot to commit that change to my svn repository and so the old, broken version sneaked in again.
Also included is a controller class for table columns with progress indicators.
Hm. Maybe I had an old version lying around and mixed something up. Thanks for telling me, I'll check it later in the day.
OK, since the _canBecomeDefaultButtonCell is a private method to NSButton I replaced the MainMenu.nib file of your new project with the old one and the problem is gone. Hence your new MainMenu.nib must be gotten corrupted somehow.
Best regards,
Wilfried
Hi, I Tried your new version, obviously changed today (Febr, 10. 2009) and wanted to give you an heads-up because it seams to be brocken!
As to what I found out so far, the - (BOOL)_canBecomeDefaultButtonCell is missing your AMIndeterminateProgressIndicatorCell class which produces an exception.
Best Regards,
Wlfried
This is a great bit of code. Good design and implementation means that it works with bindings out of the box. The column controller class does not subclass NSTableColumn, but perhaps for good reason. When I tried this column dragging choked.
Ran without problems on Leopard, Xcode 3.0 and Garbage collection enabled.
Thanks.
Jonathan
1) Bitte geben Sie möglichst Ihren echten Namen an. (Momentan gibt es keine Möglichkeit, einen festen Account anzulegen.)
2) Ihre Email-Adresse wird nie veröffentlicht werden. Die Angabe ermöglicht mir, Sie ggf. zu kontaktieren.
3) Die Adresse Ihrer Webseite wird zusammen mit Ihrem Namen veröffentlicht. Bitte kurz halten.
Ich behalte mir das Recht vor, Beiträge aus beliebigen Gründen zu löschen.
Also bitte keinen SPAM posten, beim Thema bleiben, nicht unverschämt werden, etc.