Synthesized Methods For The Property NSString *title

- (NSString*) title  // Getter method

{

return title;

}

- (void) setTitle: (NSString*) newTitle          //Setter method

{

if (newTitle != title)

{

[title release];

title = [newTitle retain]; // Or copy, depending on your needs.

}

}

X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now