Re: Core Data debugging (Fritz Anderson)

2009-07-16 Thread tmowlem
On 17 Jul 2009, at 00:13 AM, Fritz Anderson wrote: > On 15 Jul 2009, at 6:14 PM, tmow...@talktalk.net wrote: >> (gdb) po err >> Program received signal EXC_BAD_ACCESS, Could not access memory. >> Reason: KERN_PROTECTION_FAILURE at address: 0x >> 0x922e668c in objc_msgSen

Re: Core Data debugging

2009-07-15 Thread tmowlem
Hello, On 14 Jul 2009, at 10:01 PM, Fritz Anderson wrote: > On 14 Jul 2009, at 5:14 PM, Tim Mowlem wrote: >> BOOL result = [moc save: &err]; .. >> The problem is that every time I call this method the result is NO >> implying a failure when saving. .. >> The issue for this post is that wh

Core Data debugging

2009-07-14 Thread tmowlem
Hello, I am writing a CoreData based application. I am creating Managed Objects and then saving them with by sending the save message to the context thus: NSError *err; BOOL result = [moc save: &err]; The problem is that every time I call this method the result is NO implying a fail

Re: How do you store an NSArray as an attribute in a Core Data entity

2009-03-20 Thread tmowlem
On Mar 19, 2009, at 1:26 AM, tmow...@talktalk.net wrote: >> I want to store a list of Strings as an attribute of an entity in >> Core Data but there doesn't appear to be a way to use NSArray (or >> NSSet or NSDictionary either) as an attribute.?Please can someone >> explain how you use an N

How do you store an NSArray as an attribute in a Core Data entity

2009-03-19 Thread tmowlem
Hello, I want to store a list of Strings as an attribute of an entity in Core Data but there doesn't appear to be a way to use NSArray (or NSSet or NSDictionary either) as an attribute.?Please can someone explain how you use an NSArray or NSDictionary as an attribute of a Core Data entity?

NSURL behaviour at odds with documentation

2009-02-25 Thread tmowlem
Hello, I am using NSURL to create a URL for an application using Webkit. It the documentation for NSURL at: http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSURL_Class/Reference/Reference.html I am specifically calling [NSURL URLWithString]. It states "The N