본문 바로가기 메뉴 바로가기

ZeddiOS

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

ZeddiOS

검색하기 폼
  • 전체 보기 (841)
    • iOS (278)
    • Swift (126)
      • Concurrency (9)
    • SwiftUI (26)
    • Combine (17)
    • watchOS (2)
    • iPadOS (2)
    • Xcode (3)
      • Xcode Cloud (2)
    • Flutter (12)
    • 공부 (205)
    • 피아노 (39)
    • 요리 (2)
    • 시 (25)
    • 일상 (91)
  • 방명록

FlexLayout (3)
FlexLayout ) justifyContent / alignItems / alignSelf / alignContent 차이

안녕하세요 :) Zedd입니다. FlexLayout쓸 때 마다 헷갈리는 친구들이 있는데... 오늘 진짜 내 자신에게 너무 현타가와서 정리 ㅎ ㅏ₩~~~~~~~~~ # justifyContent 정의 : flex container의 main-axis을 따라 정렬을 정의하는 프로퍼티 기본값 : start 가능한 값 : start / end / center / spaceBetween / spaceAround / spaceEvenly 저는 대충 뭐 워드나 한글의 글자 정렬과 비슷하다고 생각했기에 direction을 row로 테스트 해봅시다. rootContainer.flex.height(100) .direction(.row) .backgroundColor(.systemYellow) .define { flex i..

공부 2022. 5. 25. 22:38
FlexLayout (2)

안녕하세요 :) Zedd입니다. 오늘은 FlexLayout 2탄!!! 막상 사용하려니 모르는 메소드가 너무 많아따 # Accessing flex item's UIView add한 아이템의 속성을 바꾸고 싶으면 view.flex.direction(.row).padding(20).alignItems(.center).define { (flex) in flex.addItem().width(50).height(50).define { (flex) in flex.view?.alpha = 0.8 ✅ } } define closure안에서 flex.view로 접근이 가능하다. view.flex.direction(.row).padding(20).alignItems(.center).define { (flex) in let ..

공부 2021. 5. 5. 18:15
FlexLayout 사용해보기

안녕하세요 :) Zedd입니다. 오늘은 PinLayout 사용해보기에 이어서..PinLayout의 친구인 FlexLayout에 대해서 공부해보겠습니다! # FlexLayout - UIStackView를 개선한 Layout 프레임워크 - UIStackView보다 사용하기 간단 / 다양한 API - 높은 성능 → UIStackViews보다 8 ~ 12배 빠름. - PinLayout과 같이 개발되었으므로 PinLayout과 유사한 구문과 메소드. - 보통 PinLayout과 같이 사용된다. # PinLayout과의 차이점? PinLayout도 Layout 프레임워크였는데..FlexLayout는 뭐가 다르냐! 많은 View를 레이아웃 해야 하지만, 복잡한 애니메이션이 필요하지 않은 상황에서는 FlexLayout..

공부 2021. 5. 2. 10:35
이전 1 다음
이전 다음
TAG
  • FLUTTER
  • github
  • ios 13
  • iOS delegate
  • swift 공부
  • WidgetKit
  • actor
  • Combine
  • swift tutorial
  • swift3
  • 피아노
  • Swift
  • np-complete
  • IOS
  • fastlane
  • UIBezierPath
  • SwiftUI
  • WWDC
  • Git
  • swift array
  • Accessibility
  • Xcode
  • 스위프트
  • WKWebView
  • swift delegate
  • swift sort
  • 회고
  • 제이슨 파싱
  • np-hard
  • 스위프트 문법
more
글 보관함
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바