Re: Model & Table Cell Updating Issues
Re: Model & Table Cell Updating Issues
- Subject: Re: Model & Table Cell Updating Issues
- From: Walker Argendeli <email@hidden>
- Date: Wed, 18 Mar 2009 17:40:08 -0400
Ok, well that works for the image. Thanks! I'm still not sure what
to set the image to, though. I was binding to the table cell, but
this isn't right, because it doesn't work. Also, because this is all
in the model,, I need the controls to show the correct value based off
what row os selected, which would imply bindings, and again, I'm still
not sure how to do all this.
So, to recap what I need help with:
- What view to set, so that only the right row is updated with the
appropriate image?
- What bindings should be used, and what code would they replace?
- How do I programmatically update the right attribute of the right
entity of the model?
- How do I use bindings to do this?
- How do I typecast in objective-c?
- Walker Argendeli
On Mar 17, 2009, at 8:07 PM, Dave Keck wrote:
I'll take the easy one:
How do I create a blank NSImage?
This code snippet will create a blank (completely transparent) 100x100
image and write it to the desktop:
http://pastie.org/419286
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden