mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2025-01-30 16:42:12 +00:00
Fix [[NSMutableArray new] init...]
This commit is contained in:
parent
4a6023339f
commit
b0d36555cf
@ -59,7 +59,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
_cellClass=[NSCell class];
|
||||
}
|
||||
_prototype=[[keyed decodeObjectForKey:@"NSProtoCell"] retain];
|
||||
_cells=[[NSMutableArray new] initWithArray:[keyed decodeObjectForKey:@"NSCells"]];
|
||||
_cells=[[NSMutableArray alloc] initWithArray:[keyed decodeObjectForKey:@"NSCells"]];
|
||||
id selectedCell=[keyed decodeObjectForKey:@"NSSelectedCell"];
|
||||
if ((_selectedIndex=[_cells indexOfObjectIdenticalTo:selectedCell]) != NSNotFound)
|
||||
[self selectCell:selectedCell];
|
||||
@ -1346,4 +1346,4 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
[self selectCellWithTag:selectedTag];
|
||||
}
|
||||
|
||||
@end
|
||||
@end
|
||||
|
Loading…
x
Reference in New Issue
Block a user