일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- c#
- 아이맥
- WebService
- WSDL
- 맥
- iPhone
- 형식
- 퇴사
- screen
- VISTA
- 애플
- 7932
- java
- 오브젝티브C
- install
- 볼링
- mac
- ObjectiveC
- 윈도구7
- 윈도우즈7
- windows
- 설치
- Number
- cagr48com
- 아이폰
- Objective-C
- windows7
- 윈도구
- Mobile
- 링크
- Today
- Total
목록Development/아이폰 (70)
A colossal Dreamer: GR鐵塔-天生我材
Swift 실행환경에서 날짜 성분 출력하는 예제 import Foundation let now = Date() let calendar = Calendar.current print("era:", calendar.component(.era, from: now)) print("year:", calendar.component(.year, from: now)) print("yearForWeekOfYear:", calendar.component(.yearForWeekOfYear, from: now)) print("quarter:", calendar.component(.quarter, from: now)) print("month:", calendar.component(.month, from: now)) print("..
괜찮은 도구: PropertyWrapper @propertyWrapper public class PublishedBuffer where Buffer: RandomAccessCollection & RangeReplaceableCollection, Failure: Error, Buffer.Index == Int { public var wrappedValue: Buffer { ... } public var projectedValue: PublishedBuffer.Publisher { ... } public class Publisher: Combine.Publisher { ... } } 하나의 선언으로 3가지 타입으로 접근이 가능함. @PublishedBuffer var buffer: [Int] 아래와 같이 3..
# Platforms State of Union * Xcode Clould(유료) - 2022년말까지 개인은 무료 * Vision of Platform - 대전환기: UIKit→SwiftUI, InterfaceBuilder→Xcode --- * Swift - 강타입 언어 - Concurrency - `for` statement with `await`, `try await` - `distributed actor` - RegularEx Expression - JS와 같이 letteral 로 생성가능 ⨁ RegExBuilder - 읽을 수 있는 RegEx - Generic with `some`, `any` - `some`: on function's type parameters - `any`: on proper..
오다 주웠다. SwiftPlantUML - generate class diagrams from Swift with Swift https://github.com/MarcoEidinger/SwiftPlantUML
구성하면, 확정되는 함수형 구성에서 의미를 갖는 것 같다. 시퀀스 가 구성되면, 동작이 확정되는... 시작할 때 시퀀스를 확정하고, 끝까지 publisher 체인을 유지하는 것이 필요해 보인다. 잦은 구독/해지 는 구독상태와 해지상태가 구분되므로, 테스트 구성의 초기 부터 구분해야하게되고, 테스트를 어렵게 만든다. 하나의 완결된 흐름(사용자 관점: UX)이 시작할 때 구성하고, 해당 흐름이 완결되었을 때 해제하는 방식으로 설계한다면, 초기 설계 단계에서 상태에 무관하게 동작할 수 있도록 애 써두는 것으로 추후 흐름을 이해하거나, 테스트를 구성하는 시점에서 유리할 수 있다. 각각의 시작과 끝을 세션으로 정의한다면; UIKit 에서는 ViewController 의 라이프사이클을 하나의 세션을 바라보는 것이 ..
cs193p.sites.stanford.edu CS193p - Developing Apps for iOS The lectures for the Spring 2020 version of Stanford University's course CS193p (Developing Applications for iOS using SwiftUI) were delivered to our students in an on-line fashion due to the novel coronavirus outbreak. Stanford has made these lectur cs193p.sites.stanford.edu 위 링크에 작년(2020) 봄학기에 강의내용이 공개되어 있습니다. 틈틈히 살펴봐야겠어욤.. :)
Xcode11.4.1 기준 /Application/Xcode.app - 18GB ~/Library/iOS DeviceSupport - 40GB(OS 하나당 2GB x2,메이저 2개의 마이너 5개씩 나오면... 요새는 마이너 10개) ~/Library/watchOS DeviceSupport - 10GB(OS 하나당 1GB 가량) ~/Library/Developer/DerivedData - 10GB /Application/Xcode11.3.1.app - 18GB 일단 100GB 가 필요하다. 문서는 커녕, git 저장소는 일도 고려하지 않은 수치... 컴파일부산물(DerivedData), 구버전 Xcode 를 제외해도 70GB... 넉넉히 쓰려면, 1TB 가 필요해... 512GB 는 빡빡하고.
12.9”(1G,2G,3G,4G) 11”(3G,4G) 10.5”(2G) 9.7”(1G) 2732-by-2048 2388-by-1668 2224-by-1668 2048-by-1536 2732 2048 2388 1668 2224 1668 2048 1536 1366 1024 1194 834 1112 834 1024 768 4:3 4.3:3 4:3 4:3 12.9" 는 세대별로 해상도를 유지하고 베젤을 깎는 선택을 했다. (1, 2세대는 홈버튼, 3, 4세대는 홈버튼 제거) 작은 놈은 비슷한 크기를 유지하고, 해상도를 넓혔다 6.46” (MAX:Xs,11pro) 5.85” (X,Xs,11pro) 6.09”(11) 6.08”(XR) 5.5” (8+) 4.7” (6,7,8,SE) 2688 × 1242 2436 × ..
protected 접근자가 없는 ObjC 와 swift. ObjC 에서는 좀 복잡하지만, 객체의 properties 와 functions 의 원치않는 접근을 막을 수 있었다. - protected 는 없지만, 동일한 효과를 얻을 수 있다. / header파일을 분리해서 XXX_private.h 는 필요한 곳에서만 사용 히지만, swift 에서는 protected 접근자를 대체할 수단이 존재하지 않는다. - 물론 interal 을 사용하고, framework 으로 분리하면 가능하지만, - framework 내에서 protected만 을 위해 framework 분리는 배보다 배꼽이 크기 때문에 안 쓰고 싶다. 그래서, protected 수준의 접근이 필요한 properties 나 funcitons 의 앞에 ..

Scene 기반으로 생성한 프로젝트에서 info.plist 파일내에는 [Application Scene Windows]>[Scene Configuration]>[Application Session Role]>[Item 0] 에 [Storyboard Name] 이 없을 것이다. 위의 이미지와 같이 여기에 [Storyboard Name] 에 스토리보드의 이름(확장자 제외)를 넣어주면, Storyboard 로 동작한다. 이전에 사용하던 [Main storyboard file base name] 과 무관하게 동작한다. storyboard 기반으로 작성한 앱에서는 [Main storyboard file base name] 프로퍼티도 설정하는데. 이것은 구버전과의 호환성 때문 이지 않을까 ... -- 추가사항 --..