objective c - Getting data from html code -



objective c - Getting data from html code -

i've got website shows temperature. want xcode loads page , get's temperature. here websites code:

<!doctype html> <html> tempfan1:43.57 </html>

in xcode loaded website webview. webview shows website want source code of website , store value of "tempfan1" float, don't know how source code of website.

you got downvotes because did not show research effort. have no thought of xcode or objective-c quick search revealed reply in 20 secs.

https://developer.apple.com/library/mac/documentation/cocoa/reference/foundation/classes/nsdata_class/index.html#//apple_ref/occ/clm/nsdata/datawithcontentsofurl:

uiwebview html source

html objective-c xcode osx

Comments

Popular posts from this blog

php - Edges appear in image after resizing -

ios8 - iOS custom keyboard - preserve state between appearances -

Delphi change the assembly code of a running process -