Permalink
Browse files

Write receiver to be clear it is a property

  • Loading branch information...
1 parent 03f544d commit 286bd3ff61e3f715ad7350faf512f38022ac0000 @satococoa committed Feb 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/photos_controller.rb
View
4 app/photos_controller.rb
@@ -14,8 +14,8 @@ def viewDidLoad
info_button = UIBarButtonItem.alloc.initWithCustomView(info)
self.toolbarItems = [open_rubyfriends_button, spacer, info_button]
- collectionView.styleId = 'photos'
- collectionView.registerClass(FriendCell, forCellWithReuseIdentifier:'friend_cell')
+ self.collectionView.styleId = 'photos'
+ self.collectionView.registerClass(FriendCell, forCellWithReuseIdentifier:'friend_cell')
self.collectionView.collectionViewLayout.tap do |l|
l.itemSize = CGSizeMake(128, 128)

0 comments on commit 286bd3f

Please sign in to comment.