advertisement

Article:
  BYOB: Build Your Own Browser, Part 2
Subject:   errors
Date:   2005-07-13 19:48:19
From:   valiantsoul
Response to: errors

In your MyDocument.h, you need:
- (void)setDefaultHomepage:(NSString *)homepage;
- (NSString *)getDefaultHomepage;

and then in the MyDocument.m,
- (void)setDefaultHomepage:(NSString *)homepage
{
defaultHP = homepage;
}


- (NSString *)getDefaultHomepage
{
return defaultHP;
}


As far as the parse error, you probably missed a semicolon or missed a ] on the previous line.