Skip to content

Instantly share code, notes, and snippets.

@chandlerkent
Created June 6, 2009 04:03
Show Gist options
  • Save chandlerkent/124679 to your computer and use it in GitHub Desktop.
Save chandlerkent/124679 to your computer and use it in GitHub Desktop.
if ([self pullsDown])
{
var items = [_menu itemArray];
if ([items count] > 0)
item = items[0];
}
else
item = [self selectedItem];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment