• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Model & Table Cell Updating Issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Model & Table Cell Updating Issues (From: Walker Argendeli <email@hidden>)

  • Prev by Date: Re: [Q] Contextual Menu Items Size
  • Next by Date: NSLog fixes output, but why?
  • Previous by thread: Model & Table Cell Updating Issues
  • Next by thread: Re: -stringByEvaluatingJavaScriptFromString: return value iphone
  • Index(es):
    • Date
    • Thread