Skip to content

Commit

Permalink
Fix SimpleCollectionView sample wrt new registrar spotting a bug [#18…
Browse files Browse the repository at this point in the history
…344]
  • Loading branch information
spouliot committed Mar 13, 2014
1 parent 2477fec commit 9177f12
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -109,15 +109,15 @@ public override void PerformAction (UICollectionView collectionView, MonoTouch.O

public override bool CanPerform (Selector action, NSObject withSender)
{
if (action == new Selector ("custom:"))
if (action == new Selector ("custom"))
return true;
else
return false;
}

// System provided cut, copy and paste will be sent to PerformAction method above, but any custom menu items
// must have their assocatied actions implementated explicitly
[Export("custom:")]
[Export("custom")]
void Custom()
{
Console.WriteLine ("custom");
Expand Down

0 comments on commit 9177f12

Please sign in to comment.