読者です 読者をやめる 読者になる 読者になる

quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

RubyMotion for Rails Developers: Auto-Layout (part 3)

RubyMotion for Rails Developers: Auto-Layout (part 3) - MotionInMotion

Auto-Layout (part 3)

  • addConstraints
    • NSLayoutConstraint.constraintsWithVisualFormat
    • options: NSLayoutFormatDirectionLeadingToTrailing,
    • metrics: { 'padding' => 20 },
    • views: { 'title_label' => @title_label }
    • 'V:[top_layout_guide]-padding-[title_label]-padding-[notes_label]',
    • views: { 'top_layout_guide' => layout_guide,