Programmering Mobile Applikationer I/Opgave3

From Teknologisk videncenter
< Programmering Mobile Applikationer I
Revision as of 19:50, 22 November 2015 by Micn (talk | contribs) (Ressourcer)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

WordCollage Opgave 3

  1. Undersøg UIColor klassen (I Dokumentationen CMD+SHIFT+0) og brug initializeren init(red:green:blue:alpha:) til at lave en specifik farve
  2. Udvid changeBackgroundColor actionen så den skiftevis vælger en lys og en mørk farve
  3. 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

Cocoa Application Competencies for iOS: Target-Action [1]

Using Swift with Cocoa and Objective-C: Working with Outlets and Actions [2]

The Swift Programming Language: Attributes [3]