We have had the basics of Swift well-covered with our Beginning Swift and Intermediate Swift courses, but raywenderlich.com subscribers have been asking for a more advanced look at the language. Today, I am excited to release my new course, Advanced Swift 3!
Swift is full of features that allow you to write clearer code and hide complexity. We can’t cover it all, but this colossal course spans 16 videos and delves into the advanced techniques that our subscribers have been asking for, including:
- Protocol-Oriented Programming
- Error Handling
- Swift Memory Management
- and much more!
This course is fully up-to-date with Swift 3, Xcode 8, and iOS 10. Let’s take a look at what’s inside:
Video 4: Protocols and Generics
This video reviews generics and shows you how to make them more specific with protocol constraints.
Video 5: Values and References
This video takes a closer look at the difference between values and references and how it affects mutability.
Video 6: Implementing Copy-on-Write
Swift collections have value semantics and good performance because they are implemented
with copy-on-write. This video shows how to do this for your own types.
Video 7: Custom Sequences
The Sequence protocol is foundational to standard library’s collection data structures and algorithms. This video shows how to tap into this powerful system.
Video 8: Custom Collections
The Collection protocol provides capability over a simple Sequence. You gain additional functionality, and get access to more efficient implementations to standard algorithms.
Video 9: Ranges
This video you will learn about the Swift range types in detail and shows how they can be extended without repeating yourself.
Video 10: Types as Documentation
The type system can prevent all kinds of usage errors and bugs from sneaking into your code. Learn to make compiler errors your friend and prevent problems at runtime.
Video 11: ARC with Objects
Swift uses Automatic Reference Counting to determine when it can release memory. Learn when to use unowned and weak to prevent reference cycles and lost memory.
Video 12: ARC with Closures
As reference types, closures face the same challenges that classes do when it comes to memory management. Use weak and unowned with closure captures to prevent leaks.
Video 13: Unsafe Memory Access
By default, Swift is memory safe; it prevents access to uninitialized raw memory. Learn how to circumvent this safety when interfacing with an unsafe language or gain performance.
Video 14: Error Handling
A hallmark of production-ready code is good error handling. Learn about the types of error handling Swift has to offer and when and how to use each.
Video 15: Hashable Types
To use your custom types as dictionary keys or in sets, they need to be hashable. This video explores utilizing custom composable hash algorithms.
Video 16: Conclusion. In this video you’ll get a recap of what you’ve learned so far and find out where to learn more about Swift.
Where To Go From Here?
Want to check out the course? The introduction is available now for free!
The rest of the course is for raywenderlich.com subscribers only. Here’s how you can get access:
- If you are a raywenderlich.com subscriber: You can access the first three parts of Advanced Swift 3 today, and the rest will be coming out over the next three weeks.
- If you are not a subscriber yet: What are you waiting for? Subscribe now to get access to our new Advanced Swift 3 course, and our entire catalog of over 500 videos.
There’s much more in store for raywenderlich.com subscribers – if you’re curious, you can check out our full schedule of upcoming courses.
I hope you enjoy our new course, and stay tuned for many more new Swift 3 courses and updates to come!