Newbie question follows...
I am learning Objective C based OS X Cocoa app development. Most of the books and videos I have are for iOS, so I am converting some simple iOS code examples to OS X.
When I create a new OS X "Cocoa Application" project, with the "use Storyboards" box checked, the default ViewController.m in my newly created project does NOT have an @interface section. Is this expected?
A reply to my recent question Cocoa ViewController.m vs. Cocoa Touch ViewController.m indicates that another user's default ViewController.m DOES have an @interface section.
Currently, I am manually typing the @interface section for IBOutlets. Is that what others are doing? Or do I have some configuration issue?
I am using Xcode 6.3.2 on Yosemite.
Here is my default ViewController.m
//
// ViewController.m
// testME
//
// Created by ME on 6/19/15.
// Copyright (c) 2015 ME. All rights reserved.
//
#import "ViewController.h"
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
}
- (void)setRepresentedObject:(id)representedObject {
[super setRepresentedObject:representedObject];
// Update the view, if already loaded.
}
@end