Swift (Programmiersprache): Unterschied zwischen den Versionen

Aus Wikizone
Wechseln zu: Navigation, Suche
Zeile 35: Zeile 35:
 
  Scales > Single Scale (es wird nur eine Version benötigt)
 
  Scales > Single Scale (es wird nur eine Version benötigt)
  
== Delegates ==
+
== Protocols & Delegates ==
 +
[[Swift - Protocols]]

Version vom 7. Januar 2023, 08:27 Uhr

Programmiersprache im Einsatz in der Apple Welt (MacOs, iOS, WatchOs...)

Links

SwiftUI
https://www.swift.org/ - Dokumentation einfacher Verständlich als die offizielle von Apple
https://iosref.com/ - Cheatsheets, Statistiken zu OS Verbreitung und mehr

Konzepte

Einfache Datentypen

Swift - Strings
Swift - Arrays
Swift - Optionals
Swift - Tuples

Collection Datatypes

Swift - Dictionaries
Swift - Structures (Struct)
Swift - Classes

Snippets

Swift - Snippets

Frameworks

UIKit

UIKit Framework

Assets

Dark Mode / Light Mode

System Colors verwenden oder Color Sets in den Assets anlegen.

Bilder können ebenfalls mehrere Versionen für Light und Dark bereitgestellt werden.

Appearances > Any, Light, Dark

Vektor Assets

Resizing > Preserve Vector Data
Scales > Single Scale (es wird nur eine Version benötigt)

Protocols & Delegates

Swift - Protocols