I am initialising an object like so:
Project *Project = [[Project alloc] init];
Here's the code for the project class:
Project.h
#import <Foundation/Foundation.h>
@interface Project : NSObject
{
}
@property (nonatomic,assign) int projectID;
@property (nonatomic,strong) NSString *name;
@end
Project.m
#import "Project.h"
@implementation Project
@synthesize projectID, name;
@end
I'm getting the error No visible @interface for 'Project' declares the selector 'alloc'
when I try and initialise the object. How can I resolve this?