Skip to content

CodeWithSwift

  • About Us
  • Blog
  • Contact Us
  • Home

Category Archives: Extensions

Swift Extensions
Extensions

Extensions

0 Comments

Extensions in Swift are a powerful feature that allows you to add new functionality to an existing class, struct, enum, or protocol without modifying the original source code. Extensions can add methods, computed properties, initializers, and even conform types to protocols. Syntax Adding Computed Properties Extensions can add computed properties, …

Read More
Read More
Bishal Ram
  • Swift
    • Introduction
    • Data type
    • Variables & Properties
    • Operators
    • String
    • Array
    • Sets
    • Dictionary
    • Tuples
    • Methods
    • Subscripts
    • Closures
    • CaptureList
    • Control Flow
    • Loop
    • Switch
    • Enums
    • Struct
    • Class
    • Initialisation
    • Access Control
    • Object Oriented Programming
    • Automatic Reference Counting
    • Protocol
    • Extensions
    • Protocol Oriented Programming
    • Generics
    • Associated Objects
    • Actor
    • Defer
    • Higher Order Functions
    • Lazy Properties
    • Typealias
  • iOS
    • App Life Cycle
    • ViewController Life Cycle
    • Auto Layout
    • Architecture Patterns
    • Design Patterns
    • UIKIT
    • CoreData
    • Grand Central Dispatch (GCD)
    • Global Dispatch Queues
    • OperationQueue
    • KVO/KVC
    • SOLID Principle
    • Dependency Injection & Dependency Inversion
    • MVVM
    • VIPER
    • Unit Testing (XCTest)
  • Tutorials
  • RxSwift
  • SwiftUI
  • Data Structures
  • Algorithms
  • Interview Questions
  • About Us
  • Contact Us