Companies Home Search Profile

Metaprogramming in Swift: A Guide to Writing Swift Macro

Focused View

1:24:26

0 View
  • 1 -Swift Macro.mp4
    01:21
  • 1 -Traceback.mp4
    02:31
  • 2 -What are Swift Macro.mp4
    02:04
  • 1 -Expression vs Declaration.mp4
    02:00
  • 2 -Abstract Syntax Tree (AST).mp4
    01:34
  • 3 -Compilation Process.mp4
    02:23
  • 4 -Swift Syntax .1 - Why.mp4
    05:25
  • 5 -Swift Syntax .2 - What.mp4
    03:24
  • 6 -Swift Syntax .3 - How.mp4
    05:06
  • 1 -Components Of Swift Macro - Overview.mp4
    00:52
  • 2 -Macro Roles.mp4
    02:56
  • 3 -Macro Declarations.mp4
    01:23
  • 4 -Macro Implementation.mp4
    00:35
  • 5 -Compiler Plugin.mp4
    03:26
  • 6 -Unit Testing.mp4
    05:31
  • 7 -Functioning of Swift Macro.mp4
    04:17
  • 1 -Creating - First Macro Project.mp4
    01:53
  • 2 -Attached(Peer).mp4
    06:06
  • 3 -Attached(extension).mp4
    06:59
  • 4 -Attached(accessor).mp4
    06:20
  • 5 -Attached(member).mp4
    03:28
  • 6 -Attached(memberAttribute).mp4
    04:28
  • 7 -Freestanding(expression & declaration ).mp4
    04:25
  • 1 -Closed Source Macro Package.mp4
    03:58
  • 1 -Distribute Macro Package.pdf
  • 2 -Multi Role Attached Macro.mp4
    02:01
  • Description


    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

    Who is this 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
  • What You Need to Know?


  • Having intermediate to advanced exposure to swift programming language is important to make best out of the course.
  • More details


    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 module

    1. Introduction - 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.

    2. 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 ecosystem

    3. Components 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.

    4. 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.

    5. 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

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Students take courses primarily to improve job-related skills.Some courses generate credit toward technical certification. Udemy has made a special effort to attract corporate trainers seeking to create coursework for employees of their company.
    • language english
    • Training sessions 25
    • duration 1:24:26
    • Release Date 2024/12/21

    Courses related to Swift

    Subtitle
    Demystifying Views in iOS
    RayWenderlichDemystifying Views in iOS
    2:04:36
    English subtitles
    06/15/2023
    Subtitle
    Beginning ARKit
    RayWenderlichBeginning ARKit
    2:22:39
    English subtitles
    06/14/2023
    Subtitle
    Beginning Table Views
    RayWenderlichBeginning Table Views
    4:15:29
    English subtitles
    06/18/2023