GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Android Final Exam

Christopher Le Englisch 21 Karten

Karten in diesem Stapel (21)

  1. 1ViewWidget on the screen
  2. 2View ControllerHandles the screen's widgets
  3. 3OutletDrag and drop stuff
  4. 4ActionAction method you want to use for a particular widget or view
  5. 5Info.pListFile that configures your app and allows you to get permissions to do stuff
  6. 6SequeA transition from one screen to another
  7. 7How are Swift files named.Swift
  8. 8How are View Controllers named?viewController.Swift
  9. 9What must always be imported to build a basic app?UIKit
  10. 10DelegateDesign pattern that IOS uses
  11. 11For what are constraints used?Fix things so they look the same portrait or landscape
  12. 12What is playground?Play Swift in it to see if things work
  13. 13Explicit vs. Inferred TypingIf you infer something such as 13, the compiler automatically sets it to an Int, or you can explicitly set 13 as an Int. It is believed to better practice to let the compiler infer types automatically because you get concise and easy to read code
  14. 14varA value that can change
  15. 15letUsed to declare constants(its value can never change)
    Declaring things with let whenever possible is best practice, because that will allow the compiler to perform optimizations that it wouldn’t be able to do otherwise.
  16. 16funcFunctions are self-contained chunks of code that perform a specific task. You give a function a name that identifies what it does, and this name is used to “call” the function to perform its task when needed.
  17. 17if & if/else statementsif condition 1 {
    statements to execute if condition 1 is
    true
    } else if condition 2 {
    statements to execute if condition 2 is true
    } else {
    statements to execute if both conditions are false
    }
  18. 18Arrayslet possibleTipsInferred = [0.15, 0.18, 0.20]
    let possibleTipsExplicit:[Double] = [0.15, 0.18, 0.20]
  19. 19dictionaryA dictionary stores associations between keys of the same type and values of the same type in a collection with no defined ordering. Each value is associated with a unique key, which acts as an identifier for that value within the dictionary. Unlike items in an array, items in a dictionary do not have a specified order. You use a dictionary when you need to look up values based on their identifier, in much the same way that a real-world dictionary is used to look up the definition for a particular word.
  20. 20appendAdds a new item to the end of an array
    shoppingList += ["Baking Powder"]
  21. 21sortSorts an array of values of a known type, based on the output of a sorting closure that you provide. Once it completes the sorting process, the sort(_:) method returns a new array of the same type and size as the old one, with its elements in the correct sorted order. The original array is not modified by the sort(_:) method.

Informationen

Beschreibung
Karteikarten am Android Final Exam, erstellt von Christopher Le am 14/12/2015.
Erstellt von
Christopher Le
Aufrufe
1
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck