• 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: Table View/Array Troubles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Table View/Array Troubles


  • Subject: Re: Table View/Array Troubles
  • From: Brent Fulgham <email@hidden>
  • Date: Wed, 11 Jun 2008 22:53:41 -0700

I've posted the source to an app I'm working on. If someone can take a look and tell my why my tableview is not working with my array, it would be of great help.

Source:
http://novisdesign.net/Labs/Alien Notes.zip

-Gabe

Your first problem is that launching the app and pressing "New Note" creates an infinite recursion:


- (NSString *) title
{
	return [self title];
}
- (void) setTitle: (NSString *)newTitle
{
	title = newTitle;
}

So calling [blah title] causes it to cause [blah [blah title]] and [blah [blah [blah title]]], and infinitum.

Once that bug is fixed, "New Note" adds notes.

Can you be more specific about what is not working properly?

-Brent


_______________________________________________

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: 
 >Table View/Array Troubles (From: Gabriel Shahbazian <email@hidden>)

  • Prev by Date: argument checks
  • Next by Date: Re: Table View/Array Troubles
  • Previous by thread: Table View/Array Troubles
  • Next by thread: Re: Table View/Array Troubles
  • Index(es):
    • Date
    • Thread