Hi, I'm probably just to tired to program but I can't get return to work. I have a class for storing pages of text (in a NSMutableArray) with the method getPage

int)pageNumber I want that method to return a NSString. How do I do that?
- (NSString)getPage

int)pageNumber
or should I have return type (NSString *) or (id)? And what should I write at the end of the method?
return [myArray objectAtIndex

ageNumber -1];
or should I cast the returnvalue?
return (NSString *)[myArray objectAtIndex

ageNumber -1];
Any help would be great. Maybe I'm just confused and mixing id's and pointers I don't know, must sleep...
/Gabbe