• 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: View Based TableView - how to use bindings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: View Based TableView - how to use bindings?


  • Subject: Re: View Based TableView - how to use bindings?
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Thu, 02 May 2013 12:25:09 +0700

On 2 May 2013, at 03:16, Quincey Morris <email@hidden> wrote:

I got it working.
Formerly I had:
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
	self.dataArray = [ NSMutableArray array ];	//	this is the content of my ArrayController
	for(...) { fill self.dataArray with 39 Dictionaries };
}

I changed this to:
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
	NSMutableArray *tempArray = [ NSMutableArray array ];
	for(...) { fill tempArray with 39 Dictionaries };
	self.dataArray = tempArray;
}

And now it works.
In the bad old style the ArrayController knew it had 39 objects, but the TableView still thought there were 0.
Now everything is in sync.

>> Just bound the image to "objectValue.AbsoluteNonsense" and did not get any error messages. Is this normal?
>
> If it's not creating any cell views, there won't be any errors.
Now that cell view ARE created, there are still no errors. There just are no images in my table.

Anyway - thanks a LOT for your help!


Kind regards,

Gerriet.

_______________________________________________

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: 
 >View Based TableView - how to use bindings? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: View Based TableView - how to use bindings? (From: Quincey Morris <email@hidden>)
 >Re: View Based TableView - how to use bindings? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: View Based TableView - how to use bindings? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Double tap inside a UICollectionViewCell
  • Next by Date: Sorting a view based TableView with bindings
  • Previous by thread: Re: View Based TableView - how to use bindings?
  • Next by thread: Close All Documents
  • Index(es):
    • Date
    • Thread