Softwarez.Info - Software's World!
Metaprogramming in Swift: A Guide to Writing Swift Macro - Printable Version

+- Softwarez.Info - Software's World! (https://softwarez.info)
+-- Forum: Library Zone (https://softwarez.info/Forum-Library-Zone)
+--- Forum: Video Tutorials (https://softwarez.info/Forum-Video-Tutorials)
+--- Thread: Metaprogramming in Swift: A Guide to Writing Swift Macro (/Thread-Metaprogramming-in-Swift-A-Guide-to-Writing-Swift-Macro--612760)



Metaprogramming in Swift: A Guide to Writing Swift Macro - BaDshaH - 10-14-2024

[Image: aaa15c7254db6e9db27aac37fd3c41d5.jpg]
Published 9/2024
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 Ch
Language: English | Duration: 1h 26m | Size: 821 MB

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.

Who this course is for
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

Homepage

[To see links please register or login]


[To see links please register or login]