Skip to content

CodeWithSwift

  • About Us
  • Blog
  • Contact Us
  • Home

Category Archives: SOLID Principle

iOS SOLID Principle
iOS SOLID Principle

SOLID Principle

0 Comments

The SOLID principles are five design principles that help create maintainable, scalable, and testable software. 1. Single Responsibility Principle (SRP) A class should have only one reason to change (i.e only one responsibility). Example (Violating SRP) Example (Following SRP) 2.Open/Closed Principle A class should be open for extension but closed …

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