I have an object `MObject` that is currently defined like so:

```
+ (id)objectWithType:(NSString*)type name:(NSString*)name code:(NSString*)code imageName:(NSString*)imageName
{
 UIImage *theImage = [[UIImage alloc] imageNamed:imageName];
 MObject *newObject = [[[self alloc] init] autorelease];
 newObject.type = type;
 newObject.name = name;
 newObject.code = code;
 return newObject;
}

```

`imageName` is meant to contain the file name of the appropriate image `anImage.png`. Once I put that in, I need the UIImage object to be created so that it can be placed in `cell.imageView.image`.

I'm 1) unclear on whether the direction I've started to take (as shown above) is workable, 2) so far clueless as to how I can get this `UIImage` into my in my `MainViewController`. I really appreciate any help you offer.