I'm very new to Xcode. All I want to do is output the string to the NSTextField. It does output exactly what I want to the console. (e.g http://myserver.test.com
I need to to output to the NSTextField.
Any help?
My .h file
#import <Cocoa/Cocoa.h>
@interface ViewController : NSViewController
@property (weak) IBOutlet NSTextField *serverurl;
- (IBAction)sendit:(id)sender;
@end
My .m file
#import "ViewController.h"
@implementation ViewController
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    NSString *plistPath = @"/Library/Preferences/test.plist";
    NSDictionary *plistData = [NSDictionary dictionaryWithContentsOfFile:plistPath];
    NSString *item = [plistData valueForKeyPath:@"URL"];
    NSLog(@"%@", [NSString stringWithFormat:@"%@", item]);
}
@end