• iOS, Communicate with a Server

    ✍️ Note Some codes and contents are sourced from Apple’s official documentation, educative.io and mozilla. This post is for personal notes where I summarize the original contents to grasp the key concepts (🎨 some images I draw it) URLSession Network 101 If you want to learn more about network related topics,…

  • iOS, hitTesting a View – hitTest, point(inside)

    ✍️ Note Some codes and contents are sourced from Apple’s official documentation. This post is for personal notes where I summarize the original contents to grasp the key concepts hitTest Let’s check How it works! RedView is the farthest view in view hierarchy. When you tap the center of rectangle, It…

  • Swift, Recursion and the Recursive Sense

    ✍️ Note Some codes are sourced from Loony Corn’s Udemy Course (https://www.udemy.com/user/janani-ravi-2/). This post is for personal notes where I summarize the original contents to grasp the key concepts Warming up, Recursive sense Iterative solutions involve loops Recursive solutions involve function that call themselves A recursively written function takes in input,…

  • iOS, What is Clean Architecture and SOLID principle?

    ✍️ Note Some codes and contents are sourced from The Clean Code Blog official documentation, The iOS Interview Guide Book, Head First Design Patterns 2nd, theswiftdev.com, and Wiki Pedia. This post is for personal notes where I summarize the original contents to grasp the key concepts Clean Architecture The Dependency Rule always…

  • Swift, final keyword

    ✍️ Note Some codes and contents are sourced from Apple’s official documentation. This post is for personal notes where I summarize the original contents to grasp the key concepts Increasing Performance by Reducing Dynamic Dispatch Swift allows a class to override methods and properties declared in its superclasses. This means that…

  • iOS, App life cycle

    ✍️ Note Some codes and contents are sourced from Apple’s official documentation. This post is for personal notes where I summarize the original contents to grasp the key concepts Life cycle I checked what functions are called when first launches, enter background, foreground and terminated. UIApplicationMain Creates the application object and…

  • Swift, Data Structure – Linked List

    Swift, Data Structure – Linked List

    ✍️ Note Some codes are sourced from Loony Corn’s Udemy Course (https://www.udemy.com/user/janani-ravi-2/). This post is for personal notes where I summarize the original contents to grasp the key concepts What is Linked List It is a list data structure where each element in the list holds some information and points to…

  • Swift, Data Structure – Tree Structure

    ✍️ Note Some codes are sourced from Loony Corn’s Udemy Course (https://www.udemy.com/user/janani-ravi-2/). This post is for personal notes where I summarize the original contents to grasp the key concepts Tree Data Structure BFS: Breadth First Search DFS: Depth First Search Use Recursion! Pre-Order Each node is processed first (PRE) before It’s…

  • iOS, NSCoding

    ✍️ Note Some codes and contents are sourced from Apple’s official documentation. This post is for personal notes where I summarize the original contents to grasp the key concepts Reference Archives and serializations are two ways in which you can create architecture-independent byte streams of hierarchical data. Byte streams can then…

  • UIKit: UIView, UIImageView

    ✍️ Note Some codes and contents are sourced from Apple’s official documentation. This post is for personal notes where I summarize the original contents to grasp the key concepts When layoutSubViews has called? Subclasses can override this method as needed to perform more precise layout of their subviews. You should override…