본문 바로가기

전체 글

(177)
realm swift 강의 실무에서 활용하는 프로토콜 중심 프로그래밍 프로토콜 지향 MVVM을 소개합니다.
swift 구조체에서 protocol 사용 예제 1 struct에서 공통된 기능을 쓰기 위해서 protocol을 통해 추상화 과정을 거친다. 하지만 일부 기능은 구현이 필요 없는 경우도 존재한다. protocol Car { func stop() { } func autostop() { } } struct Truck: Car { func stop() { } func autostop() { } } struct Van: Car { func stop() { } func autostop() { } } 일부 추상화 함수를 extension을 통해 작성하게 되면, 해당 프로토콜을 채택한 struct에서 모두 구현해야할 필요가 없어지게 된다. protocol Car { func stop() { } } extension Car { func autostop() { } } s..
Rick and Morty API Rick And Morty 에니메이션의 캐릭터, 위치, 에피소트의 데이터베이스를 확인할 수 있는 API https://rickandmortyapi.com The Rick and Morty API The Rick and Morty API is a REST and GraphQL API based on the television show Rick and Morty rickandmortyapi.com REST API 관련 문서는 https://rickandmortyapi.com/documentation/ Documentation This documentation will help you get familiar with the resources of the Rick and Morty API and show you..
static library를 xcframework로 제작 M1 실리콘 지원을 위해 static library를 xcframework로 제작이 필요할 경우가 있습니다. 이를 위해 static library를 xcframework로 만드는 방법 공유 xcodebuild -create-xcframework \ -library /make_lib/arm64/sample.a \ -library /make_lib/arm64_x86_64-simulator/sample.a \ -output sample.xcframework 아래와 같이 xcframework로 생성 완료 됩니다. (-library의 path는 각 PC 환경에 맞게 지정)
You don’t (always) need [weak self] https://medium.com/@almalehdev/you-dont-always-need-weak-self-a778bec505ef You don’t (always) need [weak self] We will talk about weak self inside of Swift closures to avoid retain cycles & explore cases where it may not be necessary to capture self weakly. medium.com
온라인 프로토타이핑 툴 oven 앱 만들기 전 프로토타이핑 해볼 수 있는 무료 웹 https://ovenapp.io OvenApp.io Oven(오븐)은 HTML5 기반의 무료 웹/앱 프로토타이핑 툴입니다. (카카오 제공) ovenapp.io
대용량 이미지가 필요한 경우 무료로 다운로드 받을 수 있는 사이트 대용량 이미지 파일을 통한 다운로드 필요한 경우 아래 사이트를 참고해서 테스트 하면 좋을 듯 합니다 20MB ~ 50MB 정도의 이미지를 제공하고 있는 것 같습니다. https://effigis.com/en/solutions/satellite-images/satellite-image-samples/ Free High-Resolution Satellite Images Samples | Effigis Download high-resolution image satellites samples here related to your activity or industry. effigis.com
애플 공식사이트에서 제공하는 SwiftUI 강좌 https://developer.apple.com/tutorials/swiftui

반응형