Synthesized Methods For The Property NSString *title

Feb 15, 2013 Blogs | iOS
In this blog I will explain how to Synthesized Methods For The Property NSString *title without using @ synthesize Keyword.

- (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.



Sachin Bhardwaj

Sachin Bhardwaj is a software developer working with Apple technologies including Xcode, iOS, iPhone, iPad, iPod and Mobile app store. 

  • 53rank
  • 551K readers


Hire Mobile & Web Developer on demand. 100% satisfaction. Try for 1 week or Money Back. Local and remote developers available all over USA.

Latest Blogs