Skip to content

Latest commit

Β 

History

History
35 lines (20 loc) Β· 1.1 KB

Improving-Your-Existing-Apps-with-Swift.md

File metadata and controls

35 lines (20 loc) Β· 1.1 KB

Improving Your Existing Apps with Swift

πŸ”— Improving Your Existing Apps with Swift - WWDC 2015 - Videos - Apple Developer

Extending Objective-C Classes with Swift

  • Briding Header 에 import ν•  Objective-C Header νŒŒμΌλ“€μ„ #import ν•΄μ€€λ‹€
  • Swift νŒŒμΌμ—μ„œλŠ” extension으둜 ν•¨μˆ˜ κ΅¬ν˜„ ν›„ Objective-C νŒŒμΌμ—μ„œ import ν›„ μ‚¬μš©

Swift Structs

With Playground prototyping

  • ꡬ쑰체 μ‚¬μš© μ‹œ ν•¨μˆ˜λ‚˜ λ©”μ†Œλ“œ 호좜, ν”„λ‘œνΌν‹°μ— μ ‘κ·Ό ν•˜λŠ” 것이 클래슀의 λ™μž‘ 방식과 μœ μ‚¬

Playground for Prototyping

  • ν”Œλ ˆμ΄κ·ΈλΌμš΄λ“œμ—μ„œ UI λ³€κ²½ λ°”λ‘œλ°”λ‘œ λ³Ό 수 있음
  • μ‹€μ œ ν”„λ‘œμ νŠΈμ— Playground μΆ”κ°€ν•΄ 둜직 λΆ€λΆ„λ§Œ ν”„λ‘œν† νƒ€μ΄ν•‘ ν•˜λŠ” 것도 쒋은 방법

Availability: the Next Generation

  • Availability Based on OS Version #available

Live Search

  • Filter
  • Map
  • Reduce