mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-01-12 22:51:50 +08:00
*iovalue = [(NSString*)iovalue uppercaseString];
-> *ioValue = [(NSString*)ioValue uppercaseString];
This commit is contained in:
committed by
Blake Watters
parent
95b38b1f37
commit
2ef10ee8e6
@@ -737,7 +737,7 @@ Let's take a look at how you can leverage key-value validation to perform the ab
|
||||
@implementation Article
|
||||
- (BOOL)validateTitle:(id *)ioValue error:(NSError **)outError {
|
||||
// Force the title to uppercase
|
||||
*iovalue = [(NSString*)iovalue uppercaseString];
|
||||
*ioValue = [(NSString*)ioValue uppercaseString];
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user