Skip to content

Instantly share code, notes, and snippets.

@saikat
Created August 10, 2009 07:18
Show Gist options
  • Save saikat/165064 to your computer and use it in GitHub Desktop.
Save saikat/165064 to your computer and use it in GitHub Desktop.
- (EditableUIView)parentEditableUIView
{
var parentView = [self superview];
while ([parentView class] != [EditableUIView class])
superview = [parentView superview];
return superview;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment