Upgrade to Pro — share decks privately, control downloads, hide ads and more …

20180820 これからはじめるDynamicType

Kei Ito
August 20, 2018

20180820 これからはじめるDynamicType

Kei Ito

August 20, 2018
Tweet

More Decks by Kei Ito

Other Decks in Programming

Transcript

  1. override func traitCollectionDidChange( _ previousTraitCollection: UITraitCollection?) { stackView.axis = .horizontal

    if traitCollection.horizontalSizeClass == .compact { if traitCollection.preferredContentSizeCategory >= .extraExtraLarge { stackView.axis = .vertical } } } ྫʣԣDPNQBDUͰ99-Ҏ্ͷαΠζͳΒ TUBDL7JFXΛॎʹฒ΂Δ ϨΠΞ΢τΛಈతʹมߋ