Merge branch 'master' of github.com:slevenbits/cappuccino into slevenbits

This commit is contained in:
Alexander Ljungberg committed 2013-02-19 23:18:01 +00:00
commit 64f85002b1
1 file changed
+4 -5
+4 -5
View File
@@ -178,20 +178,19 @@ var HORIZONTAL_MARGIN = 2;
Sets the item prototype to \c anItem
The item prototype should implement the CPCoding protocol
because the item is copied by archiving and unarchiving the
prototypal view.
because the item is copied by archiving and unarchiving.
Example:
<pre>
@implement MyCustomView : CPCollectionViewItem
@implement MyCustomViewItem : CPCollectionViewItem
{
CPArray items @accessors;
}
- (id)initWithFrame:(CGRect)aFrame
- (id)initWithCibName:(CPString)aCibNameOrNil bundle:(CPBundle)aCibBundleOrNil
{
self = [super initWithFrame:aFrame];
self = [super initWithCibName:aCibNameOrNil bundle:aCibBundleOrNil];
if (self)
{
items = [];