• 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: Core Data Memory issue on loading a saved file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data Memory issue on loading a saved file


  • Subject: Re: Core Data Memory issue on loading a saved file
  • From: Murat Konar <email@hidden>
  • Date: Fri, 30 Mar 2007 16:04:12 -0700

Also, your call

	NSLog(@"myArray is %@", myArray);

should be

	NSLog(@"myArray is %@", [myArray description]);

_murat

On Mar 30, 2007, at 3:51 PM, Andrew R. Kinnie wrote:

Sure, here is the code from the init method in myDocument:

- (id)init
{
self = [super init];
if (self != nil) {
// initialization code
myArray = [[NSArray arrayWithObjects:@"lowest", @"low", @"medium", @"high",
@"highest"] retain];
NSLog(@"myArray is %@", myArray);
}
return self;
}


I previously didn't retain the created array, and added it because I guessed that was a problem. However, adding it appears to have had no effect at all.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Re: Core Data Memory issue on loading a saved file (From: "Andrew R. Kinnie" <email@hidden>)

  • Prev by Date: Re: Core Data Memory issue on loading a saved file
  • Next by Date: Re: -[NSHTTPCookieStorage cookies] updates in Tool but not in App
  • Previous by thread: Re: Core Data Memory issue on loading a saved file - Solved
  • Next by thread: Subclassed NSArray, and using predicates and NSArrayController
  • Index(es):
    • Date
    • Thread