iOS/iOS Swift Udemy - AngelaYu

dictionary practice

Developer-Michelle 2022. 10. 22. 23:23
//Don't change this
  var stockTickers: [String: String] = ["APPL" : "Apple Inc", "HOG": "Harley-Davidson Inc", "BOOM": "Dynamic Materials", "HEINY": "Heineken", "BEN": "Franklin Resources Inc"]
   
  //Write your code here.
  stockTickers["WORK"] = "Slack Technologies Inc"
  stockTickers["BOOM"] = "DMC Global Inc"
   
   
   
  //Don't modify this
  print(stockTickers["WORK"]!)
  print(stockTickers["BOOM"]!)

 

https://gist.github.com/TheMuellenator/febd64195828e681985a0746f0908f92

 

iOS repl.it - Dictionaries Challenge Solution

iOS repl.it - Dictionaries Challenge Solution. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com

 

 

'iOS > iOS Swift Udemy - AngelaYu' 카테고리의 다른 글

디버깅 5단계  (0) 2022.10.24
iOS swift Int, Float 계산 순서  (0) 2022.10.24
iOS swift Eggtimer - timer, progress bar  (0) 2022.10.23
iOS switch문 연습  (0) 2022.10.20
Section 8: EggTimer / UIButton currentTitle 출력  (0) 2022.10.20