BOOL result = [*ioValue matchesRegularExpression:@"[A-Z0-9]{32,32}"];
NSPredicate has a matches-regular-expression operator.
That's how the validation conditions you define in your model are
actually represented at runtime; see the documentation for
NSPropertyDescription's validationPredicates property.
-- Chris
_______________________________________________
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