Unearth the feature that extends Swift compiler
What you'll learn Learn Meta Programming in Swift Language
Understand to build Swift Macros
Get introduced to swift-syntax package
Get insight on internal working of Swift Macros
Requirements Having intermediate to advanced exposure to swift programming language is important to make best out of the course.
Description Swift Macros, introduced in Swift 5.9, open up new opportunities for enhancing the language and allow developers to innovate without waiting for future updates. This course offers a hands-on introduction to Swift Macros, helping you build confidence in creating your own macros through practical examples. You'll also gain an understanding of the internal workings of Swift and its compiler.As this is my first course on Udemy, Swift Macros hold a special place. The course is condensed three months of study into under two hours to deliver the core concepts clearly and effectively. Special care has been taken to ensure that the essence of the material is preserved while providing a concise learning experience.The course is divide into 5 moduleIntroduction - Covers the history of macro, provides insight into the foundation philosophy of swift macro and takes the narrative to define the swift macros. This module will be an entry point to the world of swift macros.Concept Warm up - Creating a mental model is a learning philosophy that can be applied to have a long lasting learning of construct. This requires having the foundational concept clarified where the story and logic can be weaved. This module talk about compilation, swift syntax package, abstract syntax tree and the expression/declaration in context of swift ecosystemComponents Of Swift Macro - Now that the foundation is laid, this module will introduce the tools for creating macros. Macro Roles, Macro Declarations, Macro Implementations, Unit Testing, and Compiler Plugins are essential aspects of macro development and will be covered in the module. As you go through this module, you might feel overwhelmed by the amount of information. The 20 minutes spent here will be valuable as the concepts become more apparent as you progress through the course. The subsequent section will reinforce these ideas with practical narrative.Handson with Macro's - Getting into action with developing various macros is the key outcome of the session. There are overarching concepts that repeat. Therefore the video is not going to specifics that which repeats itself rather with approx 30 mins we will cover developing a simulated use case which has relevance in real life coding. We will develop macros that encompass the different roles supported by the 5.9 version of swift.Conclusion - The final section where we summarise our learning and also be aware of the fact that the learning does not stop here, it will continue as you will explore the swift macro in a real project. We will cover the packaging and shipping of a macro spm and a slide that talks about additional learning information acquired.
Overview Section 1: About The Course
Lecture 1 Swift Macro
Section 2: Introduction
Lecture 2 Traceback.
Lecture 3 What are Swift Macro ?
Section 3: Concept - Warm up
Lecture 4 Expression vs Declaration
Lecture 5 Abstract Syntax Tree (AST)
Lecture 6 Compilation Process
Lecture 7 Swift Syntax .1 - Why ?
Lecture 8 Swift Syntax .2 - What ?
Lecture 9 Swift Syntax .3 - How ?
Section 4: Components Of Swift Macro
Lecture 10 Components Of Swift Macro - Overview
Lecture 11 Macro Roles
Lecture 12 Macro Declarations
Lecture 13 Macro Implementation
Lecture 14 Compiler Plugin
Lecture 15 Unit Testing
Lecture 16 Functioning of Swift Macro
Section 5: Handson with Macro's
Lecture 17 Creating - First Macro Project
Lecture 18 Attached(Peer)
Lecture 19 Attached(extension)
Lecture 20 Attached(accessor)
Lecture 21 Attached(member)
Lecture 22 Attached(memberAttribute)
Lecture 23 Freestanding(expression & declaration )
Section 6: Conclusion
Lecture 24 Distribute Macro Package
Lecture 25 Closed Source Macro Package
Lecture 26 Multi Role Attached Macro
Lecture 27 Additional Swift Macro Intricacies
Lecture 28 Congratulation, Next steps & Thank you.
iOS Developer,Developer building Software for Apple Ecosystem,Developer Building Software with swift language,Software Enthusiast who would want to learn meta programming in swift
Warning! You are not allowed to view this text.
Warning! You are not allowed to view this text.
Warning! You are not allowed to view this text.