1/35
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Aufgaben UiView
Zeichnen/Anzeigen von Inhalten
Verwalten von layouts
Behandeln von events
Wie nennt man eine eingebettete view
Subview
Wie nennt man übergeordnete view
Superview
Views frame
Position und Größe der view im Koordinatensystem der superview
Views bounds (vs frame)
Eigenes Koordinatensystem
nil
Int?
UiTextfield vs UITextview
Eingabe (control) vs Anzeige (view)
Ui Image view
Scale to fill
Aspect fit
Aspect fill
Positioning constraints
Alignment
Spacing
Size
Relation
Constraint variation
Responsive
Guard
guard condition else{false kram} True kram
Tab bar controller
Unten Tab bar
Navigation controller
Hierarchie/ stack
Segue
Interner link zwischen view controller
CustomStringConvertible
var description: String { return “…“}
Equatable
Station func == (lhs: KLASSE, rhs: KLASSE) → Bool { return alles vgl}
Comparable
Station func < (lhs: KLASSE, rhs: KLASSE) → Bool {return lhs.ka < rhs.ka}
Codable
var jsonEncoder = JSONEncoder()
do{let jsonData = try jsonEncoder.encode(OBJECT)
print(String(data: jsonData, encoding: .utf8)!)} catch { print()}
View controller lifecycle
viewDidLoad()
viewWillAppear(_:)
viewDidAppear(_:)
viewWillDisappear(_:)
viewDidDisappear(_:)
Tableview inhalt
var content = cell.defaultContentConfiguration()
content.text = “inhalt”
content.secondaryText = “inhalt2”
cell.contentConfiguration=content
State binding
@State in ContentView
@Binding in unterview
Environment angeben
@State private var Name = typ()
IrgeineView().environment(name)
Objekt anlegen
Environment holen
@Environment(typ.self) private var name
User centered design
Iterative
Involve users
Focus on user needs
Design approaches
Generative analytical
Design principles
Contrast repetition alignment proximity
Evaluation app design
Cognitive walkthrough Heuristic evaluation
Interviews observation controlled exp
4 areas xcode
Navigator toolbar editor debug inspector
3 errors
Warning compiler runtime
Ternary operator
Largest = a > b ? a : b
Mutating func
Changes property of struct
Type cast
if let swim = workout as? Swim
Closures
Let name = {( param)→ TYP in Irwas }