On 6 Mar 2015, at 12:06 pm, Ken Thomases <[email protected]> wrote: > > I _think_ connections to File's Owner are restored when the cell view NIB is > loaded, but the File's Owner of the sub-NIB may not be the same as the File's > Owner of the outer NIB. It may not even be the same class. It may also work > to connect to the Application placeholder; haven't checked. > > However, it doesn't seem to work to connect to the Shared User Defaults > Controller, as you've discovered.
So you're saying it's a bug? > Unfortunately, the solution is clumsy. You have to use a separate view NIB > for the table cell view. That means you can't really design the view-based > table in the NIB that contains the table view. The table view is in one NIB > and the cell views are in other NIBs. > <snip> > > Hopefully that works for you. It does, thanks. It certainly makes something that was relatively simple a lot more complex. On 6 Mar 2015, at 12:13 pm, Quincey Morris <[email protected]> wrote: > However, I think there’s an easier workaround. It ought to be fairly > straightforward to give the object that’s being used as the cell’s > “objectValue” a KVO-compliant “fontSize" derived property that tracks the > user defaults value, and to bind the text field font size to that. Thanks, Quincey. That sounds much easier, but alas I got your email after I'd started implementing Ken's suggestion. -- Shane Stanley <[email protected]> <www.macosxautomation.com/applescript/apps/> _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
