Join Simon Allardice for an in-depth discussion in this video Using WebKit, part of Code Clinic: Swift (2015).
- We're going to use a built-in Apple framework…called WebKit.…Now WebKit is not primarily intended…for this particular problem.…It's more typically used for you to incorporate…web browser functionality into your own apps…and displaying content.…But because it understands the DOM so well…we can use it to help edit HTML documents too.…I think the best way to get started with this…is from me to just create a small project…to show using WebKit,…loading in an existing HTML page…and how we can programmatically then make one small change…to that web page.…
After that, we can worry about…loading in those CSV files and making…a more complex tables.…So into Xcode I'm gonna make a Cocoa aplication…I'll call this one WebKitDemo.…It's of course gonna use Swift.…And I'll accept the defaults to use…storyboards we don't need core data.…Save it on my desktop.…Jump over into the storyboard.…And what I'm gonna drag on to the View Controller…is a Web View Controller from the Object library.…There's quite a lot in the Object library,…
Simon introduces challenges and then provides an overview of his solutions in Swift. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Skill Level Intermediate
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S
1. Problem One: Exploring Lake Pend Oreille
2. Problem Two: Image Analysis
3. Problem 3: Eight Queens
4. Problem 4 - Accessing Peripherals
5. Problem 5 - Recursion and Directories
6. Problem 6 - Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.