Re: Validating in Core Data
Re: Validating in Core Data
- Subject: Re: Validating in Core Data
- From: mmalcolm crawford <email@hidden>
- Date: Tue, 9 Aug 2005 13:23:26 -0700
On Aug 9, 2005, at 1:14 PM, Jeff LaMarche wrote:
-(BOOL)validateUrl:(NSString *)urlString error:(NSError **)error
[...]
urlString is not nil, but when I call [urlString length], I get the
bad access error. I used Apple's Model Object Implementation Guide
when doing this,
<http://developer.apple.com/documentation/Cocoa/Conceptual/
ModelObjects/Articles/moValidation.html#//apple_ref/doc/uid/TP40002185>
-(BOOL)validateAge:(id *)ioValue error:(NSError **)outError {
[...]
"It is important to note that the input value is a pointer to object
reference (an id * )."
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden