Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[DEV] Check in differently-generated test mule files.

  • Loading branch information...
commit f4af65da9143d6b9616b019c8b264e0b9158e1c2 1 parent 4eafb90
@rentzsch authored
View
4 mogeneratorTestMule/MOs/_ChildMO.h
@@ -33,3 +33,7 @@
@end
+
+@interface _ChildMO (CoreDataGeneratedAccessors)
+
+@end
View
4 mogeneratorTestMule/MOs/_HumanMO.h
@@ -51,3 +51,7 @@
@end
+
+@interface _HumanMO (CoreDataGeneratedAccessors)
+
+@end
View
10 mogeneratorTestMule/MOs/_ParentMO.h
@@ -129,13 +129,17 @@
@property (nonatomic, retain) NSSet* children;
+- (NSMutableSet*)childrenSet;
+
+
+
+@end
+
+@interface _ParentMO (CoreDataGeneratedAccessors)
- (void)addChildren:(NSSet*)value_;
- (void)removeChildren:(NSSet*)value_;
- (void)addChildrenObject:(ChildMO*)value_;
- (void)removeChildrenObject:(ChildMO*)value_;
-- (NSMutableSet*)childrenSet;
-
-
@end
View
30 mogeneratorTestMule/MOs/_ParentMO.m
@@ -198,42 +198,12 @@ - (void)setMyInt32Value:(int)value_ {
@dynamic children;
-
-- (void)addChildren:(NSSet*)value_ {
- [self willChangeValueForKey:@"children" withSetMutation:NSKeyValueUnionSetMutation usingObjects:value_];
- [[self primitiveValueForKey:@"children"] unionSet:value_];
- [self didChangeValueForKey:@"children" withSetMutation:NSKeyValueUnionSetMutation usingObjects:value_];
-}
-
--(void)removeChildren:(NSSet*)value_ {
- [self willChangeValueForKey:@"children" withSetMutation:NSKeyValueMinusSetMutation usingObjects:value_];
- [[self primitiveValueForKey:@"children"] minusSet:value_];
- [self didChangeValueForKey:@"children" withSetMutation:NSKeyValueMinusSetMutation usingObjects:value_];
-}
-
-- (void)addChildrenObject:(ChildMO*)value_ {
- NSSet *changedObjects = [[NSSet alloc] initWithObjects:&value_ count:1];
- [self willChangeValueForKey:@"children" withSetMutation:NSKeyValueUnionSetMutation usingObjects:changedObjects];
- [[self primitiveValueForKey:@"children"] addObject:value_];
- [self didChangeValueForKey:@"children" withSetMutation:NSKeyValueUnionSetMutation usingObjects:changedObjects];
- [changedObjects release];
-}
-
-- (void)removeChildrenObject:(ChildMO*)value_ {
- NSSet *changedObjects = [[NSSet alloc] initWithObjects:&value_ count:1];
- [self willChangeValueForKey:@"children" withSetMutation:NSKeyValueMinusSetMutation usingObjects:changedObjects];
- [[self primitiveValueForKey:@"children"] removeObject:value_];
- [self didChangeValueForKey:@"children" withSetMutation:NSKeyValueMinusSetMutation usingObjects:changedObjects];
- [changedObjects release];
-}
-
- (NSMutableSet*)childrenSet {
[self willAccessValueForKey:@"children"];
NSMutableSet *result = [self mutableSetValueForKey:@"children"];
[self didAccessValueForKey:@"children"];
return result;
}
-
Please sign in to comment.
Something went wrong with that request. Please try again.