Upvote:2

Aprove answer
+ (ImageAnimatorViewController*) imageAnimatorViewController
{
  return [[[ImageAnimatorViewController alloc] initWithNibName:@"MyNibName" bundle:nil] autorelease];
}

Credit Goes to: stackoverflow.com

Related question with same questions but different answers