I've been a web developer for a while now, and I thought I'd try my hand at developing for iPhone, but I'm stumped at the first thing I'm trying 
I'm watching lectures from the Stanford Uni iPhone class, and I'm trying a very basic example using this code...
person.h
person.m
The 'person' object isn't showing up at all in interface builder, so I can't link any buttons to it. Their showing up in the 'Project symbols' collection, and the interface builder window shows it's linked to the Xcode project properly, I've tried manually loading class files etc... what am I missing here?
I'm watching lectures from the Stanford Uni iPhone class, and I'm trying a very basic example using this code...
person.h
Code:
#import <Foundation/Foundation.h>
@interface person : NSObject {
NSString *name;
}
- (NSString *)name;
- (void)setName:(NSString *)value;
@end
person.m
Code:
#import "person.h"
@implementation person
- (NSString *)name {
return name;
}
- (void)setName:(NSString *)value {
if (value != name) {
[value release];
name = [value copy];
}
}
@end
The 'person' object isn't showing up at all in interface builder, so I can't link any buttons to it. Their showing up in the 'Project symbols' collection, and the interface builder window shows it's linked to the Xcode project properly, I've tried manually loading class files etc... what am I missing here?