Hello Everyone.
I thought I'd try my hand at creating a simple cocoa app. It is a simple inbox notifier for reddit. I am bringing in a bunch of URLs and would like to make menu items for each URL with a link to the page. I 'd like to set the actions of each, dynamically. I need to pass the URL to the method, so it knows where to go. I have a feeling I am doing this all wrong. Can someone point me in the right direction. I'd like to just create an NSURL and send it to loadMessage.
NSURL *tempURL = [NSURL URLWithString:[NSString stringWithFormat:@"http://www.reddit.com%@", [[message objectForKey:@"data"] objectForKey:@"context"]]];
[temptItem setAction:@selector(loadMessage:messageUrl:)];