Quote:
Originally Posted by exiang
I want to develop a news App such as Engadge etc. The news had loaded from the server, and now I 'll save the news included body text and pictures into database(Core Data). Can UIWebView read the datas from Core Data directly, and shows in UIWebview?
Thanks.
|
Well not directly. I don't think there is any subclass of UIView that can be updated automatically through Core Data. You have to query core data then pass the model to the UIView through the view controller. This is the separation of concerns that make a clean nice application.
But if the data in Core Data is a URL you can pass the URL to the UIWebView and it will display the contents from the URL.
Is that what you are asking?
Mark