On Wed, Dec 17, 2008 at 8:36 AM, Jordon Hirshon <jbhirs...@yahoo.com> wrote:
> Can someone tell me where I might see an example of this method?

If you don't understand what's going on in this example, I'd suggest
getting a copy of The C Programming Language (2nd Ed.) by Kernighan
and Ritchie.

// warning: written in the compose window.

- (void)example:(NSDictionary *)foo
{
    id objects[];
    id keys[];

    [foo getObjects:&objects andKeys:&keys];

    int i;
    for(i = 0; i < [foo count]; i++)
        NSLog(@"%@ => %@", keys[i], objects[i]);
}

HTH,
--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to