Programmering Mobile Applikationer I/Opgave3
From Teknologisk videncenter
WordCollage Opgave 3
- Undersøg UIColor klassen (I Dokumentationen CMD+SHIFT+0) og brug initializeren init(red:green:blue:alpha:) til at lave en specifik farve
- Udvid changeBackgroundColor actionen så den skiftevis vælger en lys og en mørk farve
- Eksperimenter med at simulere med forskellige enheder i IOS Simulatoren og prøv de forskellige Size Classe i Interface Builderen så interfacet bliver brugbart på forskelige enheder
Ressourcer
Xcode Overview: Connect User Interface Objects to Code library/ios/documentation/ToolsLanguages/Conceptual/Xcode_Overview/edit_user_interface.html#//apple_ref/doc/uid/TP40010215-CH6-SW3
Cocoa Application Competencies for iOS: Target-Action [1]
Using Swift with Cocoa and Objective-C: Working with Outlets and Actions [https:// developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/WritingSwiftClassesWithObjective-CBehavior.html#//apple_ref/doc/uid/TP40014216-CH5- XID_62]
The Swift Programming Language: Attributes documentation/Swift/Conceptual/Swift_Programming_Language/Attributes.html
Start Developing iOS Apps Today: Finding Information [2]