yhkaplan / DiffLog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

✅ DiffLog

Easy print-debugging

import DiffLog

class ViewController: UIViewController {
    @DiffLog private var didLoad = false

    func viewDidLoad() {
        super.viewDidLoad()

        didLoad = true
    }
}
//- false
//+ true

Compound data types like structs, enum, and classes also work.

  Person(
    name: nil,
-   email: nil,
+   email: "email@email.com",
    id: UUID(D6946807-70DA-421B-B448-95D0D94B246E)
  )

About

License:MIT License


Languages

Language:Swift 100.0%