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 an

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 onl

Re: awakeFromNib multiple objects - all connected?

2014-07-05 Thread Rob Petrovec
> On Jul 4, 2014, at 9:13 PM, Graham Cox wrote: > > > On 5 Jul 2014, at 1:56 pm, Trygve Inda 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 you can't rely on is the > order

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 wrote: > > > > > > On 5 Jul 2014, at 1:56 pm, Trygve Inda 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 re

Re: awakeFromNib multiple objects - all connected?

2014-07-05 Thread Roland King
> > The resource programming guide explicitly describes the sending of > -awakeFromNib as occurring after all outlets have been set up: > > >