You have made the [NSObject description]
method a property. Remove _description
and @property description
and implement the description
method yourself:
- (NSString *)description {
return [NSString stringWithFormat:@"newsID=%@, newsTitle=%@, imageURL=%@", self.newsID, self.newsTitle, self.imageURL];
}
This method will then be called whenever you do the following:
NSLog(@"%@", newsItem);