Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Write receiver to be clear it is a property

  • Loading branch information...
commit 286bd3ff61e3f715ad7350faf512f38022ac0000 1 parent 03f544d
Satoshi Ebisawa authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/photos_controller.rb
4 app/photos_controller.rb
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.