swift
-
Dispatch (Framework) 시스템에서 관리하는 Dispatch 대기열에 작업을 제출하여 Multi Core 하드웨어에서 코드를 동시에 실행 GCD(Grand Central Dispatch)라고 알려진 Dispatch에서는 macOS, iOS, watchOS 및 tvOS의 멀티코어 하드웨어에서 동시 코드 실행 지원에 대한 체계적이고 포괄적인 개선사항을 제공하는 언어 기능 Runtime 라이브러리 및 시스템 개선사항이 포함되어 있음 Dispatch | Apple Developer Documentation Execute code concurrently on multicore hardware by submitting work to dispatch queues managed by the system. ..
[Swift] Dispatch (1)Dispatch (Framework) 시스템에서 관리하는 Dispatch 대기열에 작업을 제출하여 Multi Core 하드웨어에서 코드를 동시에 실행 GCD(Grand Central Dispatch)라고 알려진 Dispatch에서는 macOS, iOS, watchOS 및 tvOS의 멀티코어 하드웨어에서 동시 코드 실행 지원에 대한 체계적이고 포괄적인 개선사항을 제공하는 언어 기능 Runtime 라이브러리 및 시스템 개선사항이 포함되어 있음 Dispatch | Apple Developer Documentation Execute code concurrently on multicore hardware by submitting work to dispatch queues managed by the system. ..
2023.11.23 -
새로 시작하는 프로젝트에서 날씨를 가져오는 API를 사용하게 되었다. 예전 패스트캠퍼스 강의에서 날씨 앱을 만들 때 사용했던 openweather API를 사용했다. Сurrent weather and forecast - OpenWeatherMap Access current weather data for any location on Earth including over 200,000 cities! The data is frequently updated based on the global and local weather models, satellites, radars and a vast network of weather stations. how to obtain APIs (subscriptions w op..
TripMate (1) - openweatherAPI와 CLLocationManager 사용하기새로 시작하는 프로젝트에서 날씨를 가져오는 API를 사용하게 되었다. 예전 패스트캠퍼스 강의에서 날씨 앱을 만들 때 사용했던 openweather API를 사용했다. Сurrent weather and forecast - OpenWeatherMap Access current weather data for any location on Earth including over 200,000 cities! The data is frequently updated based on the global and local weather models, satellites, radars and a vast network of weather stations. how to obtain APIs (subscriptions w op..
2023.11.21 -
UISceneDelegate Scene 내에서 발생하는 수명 주기(Life Cycle) 이벤트에 응답하는 데 사용하는 핵심 방법 UISceneDelegate | Apple Developer Documentation The core methods you use to respond to life-cycle events occurring within a scene. developer.apple.com Connecting and disconnecting the scene scene(_:willConnectTo:options:) : Delegate에 앱의 Scene을 추가하는 것을 알림 func scene(_ scene: UIScene, willConnectTo session: UISceneSession, opt..
[Swift] UISceneDelegateUISceneDelegate Scene 내에서 발생하는 수명 주기(Life Cycle) 이벤트에 응답하는 데 사용하는 핵심 방법 UISceneDelegate | Apple Developer Documentation The core methods you use to respond to life-cycle events occurring within a scene. developer.apple.com Connecting and disconnecting the scene scene(_:willConnectTo:options:) : Delegate에 앱의 Scene을 추가하는 것을 알림 func scene(_ scene: UIScene, willConnectTo session: UISceneSession, opt..
2023.11.09 -
BackgroundTasks Background Tasks | Apple Developer Documentation Request the system to launch your app in the background to run tasks. developer.apple.com BackgroundTasks Framework를 사용하여 앱 컨텐츠를 최신상태로 유지하고 앱이 백그라운드에 있는 동안 완료하는데 몇 분이 걸리는 작업을 실행하세요. 더 긴 작업에는 선택적으로 전원이 공급되는 장치와 네트워크 연결이 필요할 수 있습니다.
[Swift] BackgroundTasksBackgroundTasks Background Tasks | Apple Developer Documentation Request the system to launch your app in the background to run tasks. developer.apple.com BackgroundTasks Framework를 사용하여 앱 컨텐츠를 최신상태로 유지하고 앱이 백그라운드에 있는 동안 완료하는데 몇 분이 걸리는 작업을 실행하세요. 더 긴 작업에는 선택적으로 전원이 공급되는 장치와 네트워크 연결이 필요할 수 있습니다.
2023.09.03 -
회사에서 API를 만들 때 Dynamic Library?, Static Library? 개념에 대하여 이해하기 위해 포스팅해 보았다. Dynamic과 Static의 차이는 여기서 확인할 수 있다. Dynamic Library 처음 Xcode에서 Framework를 선택하면 Dynamic Library로 생성 된다. 아래와 같은 간단한 클래스를 만들었다. open class DynamicClass{ public init(){} open func test1(_ a: Int, _ b: Int) -> Int{ return a + b } } init 사용하지 않으면 사용하려는 프로젝트에서 initializer is inaccessible due to 'internal' protection level 위와 같은 에..
[Swift] Dynamic Library vs Static Library회사에서 API를 만들 때 Dynamic Library?, Static Library? 개념에 대하여 이해하기 위해 포스팅해 보았다. Dynamic과 Static의 차이는 여기서 확인할 수 있다. Dynamic Library 처음 Xcode에서 Framework를 선택하면 Dynamic Library로 생성 된다. 아래와 같은 간단한 클래스를 만들었다. open class DynamicClass{ public init(){} open func test1(_ a: Int, _ b: Int) -> Int{ return a + b } } init 사용하지 않으면 사용하려는 프로젝트에서 initializer is inaccessible due to 'internal' protection level 위와 같은 에..
2023.08.21 -
Core Data Core Data | Apple Developer Documentation Persist or cache data on a single device, or sync data to multiple devices with CloudKit. developer.apple.com 단일 장치에서 데이터를 유지 또는 캐시 하거나 CloudKit을 사용하여 여러 장치에 동기화하는 Framework Core Data를 사용하여 오프라인에서 사용하기 위해 Application의 영구정인 데이터를 저장하고, 임시 데이터를 캐시 하고, 단일 기기에서는 앱의 실행 취소 기능을 추가합니다. 단일 iCloud 계정의 여러 장치에서 데이터를 동기화하기 위해 Core Data는 Schema를 CloudKit Cont..
[Swift] Core DataCore Data Core Data | Apple Developer Documentation Persist or cache data on a single device, or sync data to multiple devices with CloudKit. developer.apple.com 단일 장치에서 데이터를 유지 또는 캐시 하거나 CloudKit을 사용하여 여러 장치에 동기화하는 Framework Core Data를 사용하여 오프라인에서 사용하기 위해 Application의 영구정인 데이터를 저장하고, 임시 데이터를 캐시 하고, 단일 기기에서는 앱의 실행 취소 기능을 추가합니다. 단일 iCloud 계정의 여러 장치에서 데이터를 동기화하기 위해 Core Data는 Schema를 CloudKit Cont..
2023.08.21