We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 690a897 commit f20bbb6Copy full SHA for f20bbb6
samples/objc/FirebaseUIChat/FIRSample.m
@@ -24,9 +24,9 @@ - (id)initWithTitle:(NSString *)title
24
sampleDescription:(NSString *)description
25
controller:(FIRControllerBlock)block {
26
if (self = [self init]) {
27
- _title = title;
28
- _sampleDescription = description;
29
- _controllerBlock = block;
+ _title = [title copy];
+ _sampleDescription = [description copy];
+ _controllerBlock = [block copy];
30
}
31
32
return self;
0 commit comments