Join Scott Gardner for an in-depth discussion in this video Add resources, links, and literals, part of Swift 3 Essential Training: Beyond the Basics.
- I'll continue in the same exercise file…from the previous video.…I'll right click on the resources folder…and select add files to resources.…I'll select a couple of files that I have…on the desktop in the exercise files.…Chapter one.…Assets.…And I'll select Betty dot png…and crazy ones, which is a text file.…And click the add button.…You can add images and files to a playground page…as I've done here,…and then access them in the playground.…To imbed an image in a playground,…write a delimiter comment.…For example, two forward slashes and a colon…for a single line delimiter.…
Followed by an explantation point,…square brackets around what you'd like…the alternative text to be for the image,…then parenthesis enclosing the file path.…It's just the file name here…because it sits at the root of the resources folder.…Followed by the hover text you want to display…when you hover your mouse pointer over the image.…Actually, though, if you omit the hover text,…the alt text will be displayed on hover instead.…To see the image, switch to rendered markup…
- Adding source files, resources, links, and literals
- Adding pages to a playground
- Using overflow operators and bitwise operators
- Using ranges with strings
- Creating complex sequences
- Chaining higher-order functions
- Defining lazy properties
- Using failable initializers
- Mutating methods
- Working with singletons
- Nesting function types
- Creating error types and recursive enumerations
- Extending concrete types
- Referencing selectors and key paths
- Working with protocol-oriented programming
- Defining class-only protocols and optional protocols
- Using option sets, type checking, and casting operators
Skill Level Intermediate
Core Data for iOS and macOS Enterprise Developerswith Jon Bott1h 46m Intermediate
Distributing Your iOS App for Testing with TestFlightwith Ron Buencamino35m 10s Intermediate
iOS App Development: Test-Driven Developmentwith Harrison Ferrone2h 14m Intermediate
3. Strings and Characters
4. Sequences and Collections
5. Control Flow
6. Value and Reference Types
9. Access Control
Understand access control3m 47s
Next steps1m 2s
- 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.