We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb5a3bf commit c97cb11Copy full SHA for c97cb11
Coding_iOS/Models/Project.m
@@ -20,6 +20,13 @@ - (instancetype)init
20
return self;
21
}
22
23
+- (void)setBackend_project_path:(NSString *)backend_project_path{
24
+ if ([backend_project_path hasPrefix:@"/team/"]) {
25
+ backend_project_path = [backend_project_path stringByReplacingOccurrencesOfString:@"/team/" withString:@"/user/"];
26
+ }
27
+ _backend_project_path = backend_project_path;
28
+}
29
+
30
-(id)copyWithZone:(NSZone*)zone {
31
Project *person = [[[self class] allocWithZone:zone] init];
32
person.icon = [_icon copy];
0 commit comments