Skip to content

Instantly share code, notes, and snippets.

@AliSoftware
AliSoftware / Bindings.swift
Last active May 4, 2024 06:18
Re-implementation of @binding and @State (from SwiftUI) myself to better understand it
/*:
This is a concept re-implementation of the @Binding and @State property wrappers from SwiftUI
The only purpose of this code is to implement those wrappers myself
just to understand how they work internally and why they are needed,
⚠️ This is not supposed to be a reference implementation nor cover all
subtleties of the real Binding and State types.
The only purpose of this playground is to show how re-implementing
them myself has helped me understand the whole thing better
@berikv
berikv / xcode_shortcuts.md
Last active December 14, 2015 14:18
My favourite XCode shortcuts

Running

  • Run: command+r
  • Stop: command+.
  • Run without building: command+control+r
  • Test: command+u
  • Analyse: command+shift+b
  • Clean: command+shift+k
  • Super-clean: command+alt+shift+k