You're 100% right… I have updated my repository: 
https://github.com/pammacdotnet/macgap/commit/b697ba65663113cb0d714eb3e83c183c7e361570



El 02/09/2013, a las 09:46, Alex MacCaw <notifications@github.com> escribió:

> In MacGap/Menus.m:
> 
> > +- (void) addMenu:(NSDictionary *)menuContents{
> > +    NSMenuItem *newItem;
> > +    NSMenu *newMenu;
> > +    
> > +    NSString *menuTitle = [menuContents valueForKey:@"menuTitle"];
> > +    NSLog(@"menuTitle = %@", menuTitle);
> > +    NSArray *menuItems = [menuContents valueForKey:@"menuItems"];
> > +    NSUInteger count = [[menuItems valueForKey:@"length"] integerValue];
> > +    newItem = [[NSMenuItem allocWithZone:[NSMenu menuZone]] initWithTitle:menuTitle action:nil keyEquivalent:@""];
> > +
> > +    newMenu = [[NSMenu allocWithZone:[NSMenu menuZone]] initWithTitle:menuTitle];
> > +    
> > +    int i;
> > +    for (i = 0; i < count; i++){
> > +        NSString *itemTitle = [[menuItems objectAtIndex:i] valueForKey:@"title"];
> > +        NSString *itemKey = @"";
> 
> Any reason why you're not doing a direct assignment here?
> 
> —
> Reply to this email directly or view it on GitHub.
>