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

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)
  • 방명록

iOS (278)
UITabBar와 UILongPressGestureRecognizer

안녕하세요 :) Zedd입니다. 오늘은 처음 겪는 현상에 대해...분석 & 해결해보고자 합니다. # UITabBar와 UILongPressGestureRecognizer class MainTabBarViewController: UITabBarController { override func viewDidLoad() { super.viewDidLoad() let gesture = UILongPressGestureRecognizer(target: self, action: #selector(handleLongPress)) self.tabBar.addGestureRecognizer(gesture) } @objc func handleLongPress() { print("안녕") } } 코드는 간단합니다. UILon..

iOS 2021. 5. 16. 17:28
iOS Search API - CoreSpotlight

안녕하세요 :) Zedd입니다. iOS Search API글에서 아주아주 간략하게만 봤는데, 오늘은 그 중 CoreSpotlight에 대해서 간단히 공부해보겠습니다. [CoreSpotlight 특징] - Any App Content - content를 on-device index에 추가 (private) - app에 대한 딥링크를 활성화하는데 도움이 되는 API제공 - 사용자가 index를 생성하기 위해 content를 방문할 필요가 없음 - 친구, 즐겨찾기로 표시된 항목, 구입한 항목과 같은 사용자 별 content를 indexing하는데 가장 적합 -> 사용자가 spotlight검색 결과에서 자신의 content를 쉽게 찾을 수 있음. - item이 수천개 이하일 때 가장 잘 동작함 정도였는데요. 가..

iOS 2021. 5. 9. 22:01
iOS Search API

안녕하세요 :) Zedd입니다. 오늘은 iOS Search API에 대해서 공부! # content를 검색가능(Searchable)하게 만들면 1. 사용자는 Spotlight 및 사파리 검색결과, Handoff, Siri제안 및 미리 알림을 통해 보여질 수 있음. 2. UX 향상, 검색 가능성을 개선하는 데 도움이 된다. Spotlight를 예제로 들어보겠습니다. Spotlight에서 검색을 하여 앱을 찾아본적이 있을텐데요. 여러분이 코드에 아무짓도 안해도 가장 오른쪽 사진처럼 앱 이름만 검색하면 잘 나옵니다. 이런식으로 App을 search할 수도 있지만, App내의 content를 search할 수도 있습니다. # Two Indexes Help Protect User Privacy 위에서 본 것 처럼..

iOS 2021. 5. 9. 21:58
RxFlow

안녕하세요 :) Zedd입니다. Coordinator Pattern에 이어서.. RxFlow에 대해서 공부해봤습니다. zeddios.medium.com/rxflow-9d009357b262 RxFlow 왕초보의 RxFlow 사용해보기 zeddios.medium.com 이번글은 미디엄으로!

iOS 2021. 4. 4. 21:37
preferredFont와 UIFontMetrics

안녕하세요 :) Zedd입니다. 2021 제1차 정보접근성 오픈 아카데미에서 인상깊게 본 것 중 하나가 UIFontMetrics인데, 얼른 공부해보고싶더라구요! # Dynamic Type 사용자가 원하는 Text(Content) Size Category를 선택할 수 있도록 하는 기능. 명시적으로 Text size를 입력하는게 아니라, category를 지정하는 것. # 앱이 Dynamic Type을 지원하는 법 text에 font크기를 지정할 때, let label = UILabel() label.font = UIFont.systemFont(ofSize: 16, weight: .regular) 뭐 대충 이렇게 size와 weight를 지정해줄텐데, 이렇게 하면 Dynamic Type을 지원 할 수 없다...

iOS 2021. 4. 2. 18:06
iOS 14 ) Modern Cell Configuration (2)

안녕하세요 :) Zedd입니다. Modern Cell Configuration (1) 에 이어 계속 공부해보도록 하겠습니다. WWDC20 Modern cell configuration을 정리한 글입니다. 1편에서는 아주 간단한 사용방법만 봤습니다. 아 이제 이런식으로 사용해야겠구나~정도! 본격적으로 공부해봅시다. # UIContentConfiguration UIContentConfiguration을 가장 먼저 알아야합니다. - 프로토콜 - contentView에 대한 기본 스타일 및 content configuration object(컨텐트 구성 객체)에 대한 청사진 제공. - content configuration은 content view customization을 위해 지원되는 모든 프로퍼티 및 동작..

iOS 2021. 2. 5. 13:41
iOS 14 ) Modern Cell Configuration (1)

안녕하세요 :) Zedd입니다. WWDC20 Modern cell configuration을 정리한 글입니다. # Cell configuration before iOS 14 그냥 간단하게 TableView를 구성하고 싶을 때, UITableViewCell안에 이미 있는 textLabel, detailTextLabel, imageView를 사용하는데요. 그래서 대충 이렇게 됩니다. # Deprecated in iOS 14 하지만 iOS 14.0에서 이것들이 deprecate되었습니다. 이제 iOS 14부터는 defaultContentConfiguration()을 사용해라~ 라고 나오네요. # Cell configuration after iOS 14 1. cell에 defaultContentConfigura..

iOS 2021. 2. 1. 19:20
iOS ) cell.backgroundColor / cell.contentView.backgroundColor고찰

안녕하세요 :) Zedd입니다. 제곧내. 1. UIView class는 backgroundColor라는 프로퍼티를 가지고 있습니다. 2. UITableViewCell / UICollectionViewCell은 UIView를 상속받고 있습니다. 3. UITableViewCell / UICollectionViewCell은 backgroundColor프로퍼티에 접근이 가능합니다. 4. UITableViewCell / UICollectionViewCell은 contentView라는 프로퍼티를 가지고 있습니다. 5. contentView역시 UIView타입이므로 backgroundColor프로퍼티를 가지고 있습니다. 여기까진 알겠습니다. class ZeddCollectionViewCell: UICollection..

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

Blog is powered by Tistory / Designed by Tistory

티스토리툴바