| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
- RxCocoa
- 스위프트
- Human interface guide
- rxswift
- 클린 코드
- HIG
- scrollview
- uiscrollview
- 리팩토링
- ios
- Xcode
- Observable
- clean architecture
- ribs
- 애니메이션
- Protocol
- MVVM
- UITextView
- Clean Code
- uitableview
- tableView
- swift documentation
- SWIFT
- Refactoring
- swiftUI
- collectionview
- combine
- 리펙토링
- UICollectionView
- map
- Today
- Total
목록ios (1132)
김종권의 iOS 앱 개발 알아가기
String(describing:) 모든 Type의 instance를 문자열로 변환 print(String(describing: ViewController.self)) // ViewController 주의: ClassName.Type할 경우 컴파일 에러 -> 특정 클래스의 타입을 얻고 싶은 경우 ClassName.self로 접근 CustomStringConvertible description에 대한 정의가 되어있는 프로토콜 스위프트의 print()와 String(decription:)은 위 description 프로퍼티를 사용 CustomStringConvertible을 conform하고 있는 클래스의 객체를 print()하면 구현된 description프로퍼티를 사용 Linked List에서 연결된 N..
1. collectionView 개념 2. collectionView 구현, custom cell 3. collectionView 레이아웃 개념 (UICollectionViewFlowLayout) * CollectionView(컬레션 뷰) - self resizing cell, custom Layout 방법 참고: https://ios-development.tistory.com/629 UICollectionViewFlowLayout CollectionView에는 CollectionViewLayout라는 객체가 있고, 이 객체가 cell들의 레이아웃과 스타일을 담당 크게 FlowLayout과 CustomLayout이 존재 FlowLayout: default되어 있는 옵션 customLayout: 직접 La..
1. collectionView 개념 2. collectionView 구현, custom cell 3. collectionView 레이아웃 개념 (UICollectionViewFlowLayout) programmtically CollectionView 구현 참고: https://ios-development.tistory.com/624 xib사용하여 CollectionView 구현 CollectionView 추가 -> 구분을 위해 CollectionView와 Cell 배경 색상 세팅 Cell의 Identifier 설정 CollectionView의 DataSource 정의 collectionView @IBOutlet 설정 tableView와 동일하게 DataSource에서 numberOfItemsInSect..
1. collectionView 개념 2. collectionView 구현, custom cell 3. collectionView 레이아웃 (UICollectionViewFlowLayout) CollectionView의 개념 CollectionView와 TableView의 차이점 CollectionView는 cell이 grid형태 CollectionView는 UICollectionViewLayout이라해서 cell 레이아웃 설정하는 부분이 따로 존재 tableView에서의 "row"라는 용어가 "Item"으로 사용 CollectionView와 TableView의 공통점 Section과 Cell이 존재하고 dataSource를 가지고 데이터처리와 UI 처리가 분리되어 있는 구조 TableView와 동일하게..
초기 info.plist 위치 AppTargetName/AppName/info.plist info.plist 파일 이동 시 에러 Resource 하위로 이동 빌드 시 에러: "Build input file cannot be found: ... info.plist" 해결 방법 info.plis File에 수정 준비: Target > Build Settings > Packaging info.plist File에 info.plist 주소 입력
Dynamic Type Sizes iOS 7+부터 사용자가 텍스트 크기를 선택할 수 있는 기능 존재 아이폰 > 설정 > 손쉬운 사용 > 디스플레이 및 텍스트 크기 > 더 큰 텍스트 사용자가 선호하는 텍스트 크기를 선택할 수 있도록하여 유연성을 제공 Larger Accessibility Type Sizes: Dynamic Type Sizes보다 더욱 큰 사이즈를 사용 Dynamic Type Sizes 사용 방법 코드에서는 .preferredFont(forTextStyle:)으로 사용 storyboard에서는 inspector에서 설정 UIFontTextStyle // UIFontTextStyle 사용 방법 bodyLabel.font = .preferredFont(forTextStyle: .body) cal..
SF Symbol SF Symbol: iOS13+부터 개발자와 디자이너를 위한 도구이며 1500가지가 넘는 symbol set 제공 SF Synbol은 weight와 size의 텍스트에 optical vertical alignment를 자동으로 보장 SF Symbol 특징 small, medium, large 세 가지 스케일로도 제공 앱의 강조 색상을 사용할 수 있는 장점 존재 cloud.sun.rain 강조 -> cloud.sun.rain.fill 커스텀 SF Symbol SF Symbol에서 제공하지 않는 심볼을 직접 만들 수 있는 방법이 존재 링크: https://developer.apple.com/sf-symbols/ 설치 후 앱 진행 * 참고 https://developer.apple.com/d..
다크 모드 iOS 13+ 이상에서 시스템 전체 모양을 다크 모드로 선택 가능 배경은 Views, Menu, Control에 비해 더 어두운 팔레트를 사용하고 컨텐츠는 밝은색으로 하여 돋보이도록 표출 시력이 낮은 시각장애인은 대비가 낮은 텍스트를 읽기 힘들기 때문에 다크 모드에서 대비를 증가하는 것이 필요 다크 모드 색상 되도록이면 dynamic system color를 사용: 다크 모드는 동적이므로, pop over나 modal sheet와 같이 인터페이스가 위로 덮을 때 덮는 View의 색상들이 자동으로 (조금 밝게)변경되므로 hard coding 지양하고 dynamic system color 사용 modal 시 덮는 View의 색상 변경: Base -> Elevated dynamic system co..