If this is wrong for any reason, please post quickly as I am moving ahead with this chapter and it’s challenges. Thank you.
1- if you have not already noticed we are now choosing “Objective-C” and NOT “Foundation” in the "Choose options for your new project window.
2 - Create the new class by selecting File -> New -> File
3 - From the OSX section select “Source” and choose the "“Cocoa Class” template
4 - Name the class “BNRPerson” and make it a subclass of NSObject. Make sure the Language is Objective-C
5 - Click Next. Finally make sure the BMITime target is checked and then click Create.
So far so good for me. BNRPerson.h and BNRPerson.m have been created
BNRPerson.h
[code]//
// BNRPerson.h
// BMITime
//
// Created by Richard Pereira1 on 9/24/14.
// Copyright © 2014 BIg Nerd Ranch. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface BNRPerson : NSObject
@end[/code]
BNRPerson.m
[code]//
// BNRPerson.m
// BMITime
//
// Created by Richard Pereira1 on 9/24/14.
// Copyright © 2014 BIg Nerd Ranch. All rights reserved.
//
#import “BNRPerson.h”
@implementation BNRPerson
@end
[/code]