Setting a tag on NSProgressIndicator

2014-07-05 Thread Daniel Luis dos Santos
Hello all, I have the item prototype of a NSCollectionView. This prototype in declared in a NIB file along with its view. Now I want to display an image in this view, but while it is loading I want to display a circular progress indicator instead of the loaded image. I have subclassed NSView

Re: Setting a tag on NSProgressIndicator

2014-07-05 Thread Lee Ann Rucker
Put your collection view prototype in a separate nib, make its File's Owner a subclass of NSCollectionViewItem, add IBOutlets to that. The IconCollection sample app shows how to implement collection view prototypes in separate nibs. Having it in the same nib as the collection view is really

Re: awakeFromNib multiple objects - all connected?

2014-07-05 Thread Rob Petrovec
On Jul 4, 2014, at 9:13 PM, Graham Cox graham@bigpond.com wrote: On 5 Jul 2014, at 1:56 pm, Trygve Inda cocoa...@xericdesign.com wrote: As long as A can call into B C and know that B C have their outlets hooked up, that's fine. You can rely on all outlets being connected. What

Re: awakeFromNib multiple objects - all connected?

2014-07-05 Thread Kyle Sluder
On Sat, Jul 5, 2014, at 08:10 PM, Rob Petrovec wrote: On Jul 4, 2014, at 9:13 PM, Graham Cox graham@bigpond.com wrote: On 5 Jul 2014, at 1:56 pm, Trygve Inda cocoa...@xericdesign.com wrote: As long as A can call into B C and know that B C have their outlets hooked up,