Simplify the "layout computing" method and change its name

There is not need to use that much arguments because the result is stored in ivars.
CPCollectionViewItem -copy: set properties correctly even if the collectionView overrides them.
This commit is contained in:
cacaodev committed 2012-12-08 17:43:53 +01:00
1 parent 2ab1493d27
commit dd5bd17e2b
3 files changed
+26 -50

No files matched your search

+2 -1
View File
@@ -50,7 +50,8 @@
// copy connections
}
[copy setSelected:NO];
[copy setRepresentedObject:[self representedObject]];
[copy setSelected:_isSelected];
return copy;
}