> On Apr 5, 2017, at 5:08 PM, Daryle Walker <dary...@mac.com> wrote:
> 
> 
>> On Apr 5, 2017, at 12:19 PM, Charles Srstka <cocoa...@charlessoft.com> wrote:
>> 
>> 
>> Actually, while NSTableCellView won’t bind to *most* things outside of the 
>> table view, there is an exception for the table’s delegate. So, if you set 
>> the table’s delegate to File’s Owner, and then bind the NSTableCellView’s 
>> ‘font’ binding to File’s Owner, it should work.*
>> 
>> *But only in a XIB file. In a storyboard, the XIB compiler will get stuck in 
>> an infinite loop which will continue even after you click the “Stop” button, 
>> grabbing more and more RAM surreptitiously in the background until your Mac 
>> runs out of swap space and you’re forced to do a hard reboot. Hooray for 
>> Xcode!
> 
> I am using a storyboard. And this hang upon XIB-compilation is what happens 
> whenever I try font-binding.

Hmm, I wonder if I can do this binding at run-time, within the view 
controller’s “viewDidLoad” or whatever. But I need to get references to each 
columns’ prototype cell. Can I control-drag from the cell to create an outlet 
for those?!

— 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to