Re: Questions about NSPopupButtonCell and NSBrowser

2015-06-04 Thread Graham Cox
> On 5 Jun 2015, at 9:59 am, Frank D. Engel, Jr. wrote: > > > If I don't bind from there, I'm not sure where else to do it from? In IB, in -awakeFromNib, in -windowDidLoad: (in a window controller), etc? Anywhere but in the drawing pathway. I’m not sure whether bindings only makes single co

Re: Questions about NSPopupButtonCell and NSBrowser

2015-06-04 Thread Frank D. Engel, Jr.
On 6/4/2015 19:39, Graham Cox wrote: On 5 Jun 2015, at 9:19 am, Frank D. Engel, Jr. wrote: - (void)browser:(NSBrowser *)browser willDisplayCell:(MyBrowserCell *)cell atRow:(NSInteger)row column:(NSInteger)column { // Find the item and set the image. WhateverObject *c = [browser item

Re: Questions about NSPopupButtonCell and NSBrowser

2015-06-04 Thread Graham Cox
> On 5 Jun 2015, at 9:19 am, Frank D. Engel, Jr. wrote: > > - (void)browser:(NSBrowser *)browser willDisplayCell:(MyBrowserCell *)cell > atRow:(NSInteger)row column:(NSInteger)column > { > // Find the item and set the image. > WhateverObject *c = [browser itemAtRow:row inColumn:column];

Re: Questions about NSPopupButtonCell and NSBrowser

2015-06-04 Thread Frank D. Engel, Jr.
On 6/4/2015 18:43, Graham Cox wrote: On 5 Jun 2015, at 6:38 am, Frank D. Engel, Jr. wrote: On 6/3/2015 20:29, Graham Cox wrote: On 4 Jun 2015, at 10:20 am, Frank D. Engel, Jr. wrote: I am wondering if the browser is actually caching an image of the cells in the second column when I switc

Re: Questions about NSPopupButtonCell and NSBrowser

2015-06-04 Thread Graham Cox
> On 5 Jun 2015, at 6:38 am, Frank D. Engel, Jr. wrote: > > > On 6/3/2015 20:29, Graham Cox wrote: >>> On 4 Jun 2015, at 10:20 am, Frank D. Engel, Jr. wrote: >>> >>> I am wondering if the browser is actually caching an image of the cells in >>> the second column when I switch away, then just

Re: Questions about NSPopupButtonCell and NSBrowser

2015-06-04 Thread Frank D. Engel, Jr.
On 6/3/2015 20:29, Graham Cox wrote: On 4 Jun 2015, at 10:20 am, Frank D. Engel, Jr. wrote: I am wondering if the browser is actually caching an image of the cells in the second column when I switch away, then just displaying that without actually recreating the cells in the second column un

[OT] First public release of Screensaver Ninja

2015-06-04 Thread Juanjo Conti
Hi every one! This is an Off-Time but because you helped me with many problems during building this product, I wanted to share the joy with you: https://screensaver.ninja/2015/06/04/screensaver-ninja-1-0-beta-2-released/ From the site: Screensaver Ninja is changing idle computers into dashboards

Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.

2015-06-04 Thread Britt Durbrow
> On Jun 4, 2015, at 9:16 AM, Uli Kusterer wrote: > > >> On 04 Jun 2015, at 02:36, Britt Durbrow >> wrote: >> >> >>> On Jun 3, 2015, at 11:30 AM, Mark Wright wrote: >>> >>> For what it’s worth, I’ve never had that problem either. Most of the time >>> self.whatever is used for property a

Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.

2015-06-04 Thread Uli Kusterer
> On 04 Jun 2015, at 02:36, Britt Durbrow > wrote: > > >> On Jun 3, 2015, at 11:30 AM, Mark Wright wrote: >> >> For what it’s worth, I’ve never had that problem either. Most of the time >> self.whatever is used for property access, _whatever is used for ivar access >> and that’s about it.

Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.

2015-06-04 Thread Uli Kusterer
On 03 Jun 2015, at 20:30, Mark Wright wrote: > I believe Uli is mistaken on this point, I’m pretty sure Apple actually > recommends prefixing your own ivars in this manner (hence the way auto > property synthesis works), it’s *methods* that generally shouldn’t be > prefixed with an underscore (