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

iOSアプリを堅牢にデザインするために知っておくべきたった1つのこと

 iOSアプリを堅牢にデザインするために知っておくべきたった1つのこと

PKPK-Carnage

August 05, 2020
Tweet

More Decks by PKPK-Carnage

Other Decks in Programming

Transcript

  1. 8IZJT5IJTTDSFFOTJ[FPOMZzBCBEJEFB @IBOutlet private weak var imageHeightConstraint: NSLayoutConstraint! { willSet {

    if UIScreen.main.bounds.size == CGSize(width: 568, height: 320) { newValue.constant = 300 } else { newValue.constant = 340 } } }
  2. 8IZJT5IJTTDSFFOTJ[FPOMZzBCBEJEFB @IBOutlet private weak var imageHeightConstraint: NSLayoutConstraint! { willSet {

    if UIScreen.main.bounds.size == CGSize(width: 568, height: 320) { newValue.constant = 300 } else { newValue.constant = 340 } } }
  3. XJEUI IFJHIU J1IPOF 1PSUSBJU $PNQBDU 3FHVMBS T4& TU 4& OE

    1SP -BOETDBQF $PNQBDU $PNQBDU 1MVT1SP.BY -BOETDBQF 3FHVMBS $PNQBDU J1BE 'VMM4DSFFO 3FHVMBS 3FHVMBS
  4. XJEUI IFJHIU J1IPOF 1PSUSBJU $PNQBDU 3FHVMBS T4& TU 4& OE

    1SP -BOETDBQF $PNQBDU $PNQBDU 1MVT1SP.BY -BOETDBQF 3FHVMBS $PNQBDU J1BE 'VMM4DSFFO 3FHVMBS 3FHVMBS
  5. XJEUI IFJHIU J1IPOF 1PSUSBJU $PNQBDU 3FHVMBS T4& TU 4& OE

    1SP -BOETDBQF $PNQBDU $PNQBDU 1MVT1SP.BY -BOETDBQF 3FHVMBS $PNQBDU J1BE 'VMM4DSFFO 3FHVMBS 3FHVMBS
  6. XJEUI IFJHIU J1IPOF 1PSUSBJU $PNQBDU 3FHVMBS T4& TU 4& OE

    1SP -BOETDBQF $PNQBDU $PNQBDU 1MVT1SP.BY -BOETDBQF 3FHVMBS $PNQBDU J1BE 'VMM4DSFFO 3FHVMBS 3FHVMBS
  7. XJEUI IFJHIU J1IPOF 1PSUSBJU $PNQBDU 3FHVMBS T4& TU 4& OE

    1SP -BOETDBQF $PNQBDU $PNQBDU 1MVT1SP.BY -BOETDBQF 3FHVMBS $PNQBDU J1BE 'VMM4DSFFO 3FHVMBS 3FHVMBS
  8. XJEUI IFJHIU J1IPOF 1PSUSBJU $PNQBDU 3FHVMBS T4& TU 4& OE

    1SP -BOETDBQF $PNQBDU $PNQBDU 1MVT1SP.BY -BOETDBQF 3FHVMBS $PNQBDU J1BE 'VMM4DSFFO 3FHVMBS 3FHVMBS 4PNFOFXJ1IPOF