I have a website. I want to link my app in web site with RSS and show the last news in a table view. I have searched for code but in didn't find how I can do this with objective-c. I have a code snippet in swift but I don't know swift.
let feedParser = FeedParser() feedParser.parseFeed("......", completionHandler: { (rssItems: [(title: String, description: String, pubDate: String)]) -> Void in self.rssItems = rssItems NSOperationQueue.mainQueue().addOperationWithBlock({ () -> Void in self.tableView.reloadSections(NSIndexSet(index: 0), withRowAnimation: .None) }) })
}
and i don't now how bot in table
No comments:
Post a Comment