WooKoo Blog

물과 같이

전체 글 124

RxSwift: Chapter - 2[Observables]

해당 내용은 RxSwift Reactive Programming with Swift 원서를 따라 정리하였다. 틀린 내용이나 오역이 있다면 지적 부탁드립니다. https://store.raywenderlich.com/products/rxswift RxSwift: Reactive Programming with Swift Leverage the power of RxSwift in your reactive apps! In this RxSwift book, you'll learn how to integrate RxSwift into real-world iOS apps. store.raywenderlich.com P43 ~ What is an observable? 옵저버블은 Rx의 심장이다. Observable, ..

개발/개발 2020.10.03

iOS - SceneDelegate[레나님]

iOS 13 버전 이후로 AppDlelegate에서 SceneDelegate가 분리되었죠?? 늦게나마 어떻게 변동되었는지 한번 공부해보려고해요. 너무 잘 정리해주신 블로그가 있어서 보고 공부해봐요!! velog.io/@dev-lena/iOS-AppDelegate%EC%99%80-SceneDelegate [iOS] AppDelegate와 SceneDelegate Xcode에서 프로젝트를 생성하면 자동으로 AppDelegate.swift와 SceneDelegate.swift 파일이 추가되어 있어요! 오늘은 이 두 swift 파일에 있는 AppDelegate클래스와 SceneDelegate클래스에 대해서 알아보려고해요 😄 velog.io UI Lifecycle 적인 부분을 독립적으로 분리시켰다고 볼 수 있겠네..

개발/개발 2020.10.01

iOS - 실제 디바이스가 있을 때와 없을 때 할 수 있는 것과 없는 것

본 글은 해당 문서를 번역 후 정리한 것입니다.!! (내용이 다를 수도 있음) developer.apple.com/library/archive/documentation/IDEs/Conceptual/iOS_Simulator_Guide/TestingontheiOSSimulator/TestingontheiOSSimulator.html Testing and Debugging in Simulator Retired Document Important: The information in this document is deprecated in Xcode 9. For Xcode 9 and later, see Simulator Help by choosing Help > Simulator Help in Simulator. T..

개발/개발 2020.10.01

[iOS] - 플로팅버튼 오픈소스 사용하기

github.com/jjochen/JJFloatingActionButton jjochen/JJFloatingActionButton Floating Action Button for iOS. Contribute to jjochen/JJFloatingActionButton development by creating an account on GitHub. github.com JJ플로팅버튼을 사용해볼려고한다. 프로젝트를 먼저 만들어주고 팟설정을해준다. 터미널로 프로젝트 폴더로 이동을 해준다. pod init 맨 위에 사이트에서 pod 파일의 내용을 어떻게 추가하면되는지 나와있다. source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.0' use_fr..

개발/개발 2020.09.29

Swift -nib 호출

새로운 nib파일과 클래스를 만들어주고 View, Empty 상관이 없다. 만들어진 클래스를 xib 파일과 연결시켜주고 이거는 오픈쪽 인스펙터텝에서 2번째에서 클래스 연결해주면된다. 불러올 메인 뷰 컨트롤러에서 let loadNib = Bundle.main.loadNibNamed("Custom", owner: nil, options: nil) let myKCustomView = loadNib?.first as! Custom firstTextField.inputView = myCustomView 뭐 이런식으로 불러와서 호출하면된다. 첫번째 줄은 xib파일을 불러와서 배열처럼 만들어준것이고 두번째 줄은 그안에 있는 오브젝트들의 첫번째를 꺼내 준 것이다. 외워보자!! Bundle.maind.loadnibNam..

개발/개발 2020.09.28

IT - 퍼스트파티, 서드파티?? 뭐야!![위키백과]

ko.m.wikipedia.org/wiki/%EC%84%9C%EB%93%9C_%ED%8C%8C%ED%8B%B0_%EA%B0%9C%EB%B0%9C%EC%9E%90 서드 파티 개발자 - 위키백과, 우리 모두의 백과사전 서드 파티 개발자(3rd party developer)또는 써드 파티는 일반적으로 하드웨어 생산자와 소프트웨어 개발자의 관계를 나타내는 용어로 사용된다. 하드웨어 생산자는 퍼스트 파티(first party)로, 소프트� ko.m.wikipedia.org 개발 블로그나 세미나들을 보면 서드파티라는 말을 많이 사용하는 것을 볼 수 있습니다. 그럼 정확히 서드파티는 무엇을 지칭하는 말일까요?? 먼저 퍼스트 파티는 해당 분야를 처음 개척했거나 원천기술을 확보하고 있는 기업을 말합니다. RxSwift와..

개발/개발 2020.09.27

[SwiftUI] - Button과 ImageButton

기본적인 텍스트 버튼의 경우는 아래와 같이 구성합니다. var body: some View { HStack(spacing: 20){ Button("Button"){ print("Button1") } Button(action:{print("Button2")}){ Text("Button") .padding() .background(RoundedRectangle(cornerRadius: 10).strokeBorder()) } Button(action: {print("Button3")}) { Circle() .stroke(lineWidth: 2) .frame(width: 80, height: 80) .overlay(Text("Button")) } .accentColor(.green) } } 버튼에 이미지를 넣고..

개발/개발 2020.09.24

[iOS] - PhotoKit 사용법

처음에 사진첩을 구현하려고할 때 UIImagePicker 델리게이트를 사용하면 쉽게 구현 할 수 있었다. 근데 조금 더 세세한 수정이나 컨트롤을 하려면 PhotoKit을 사용해야했다. 차이점을 찾아보니 UIImagePicker는 사용자가 직접 선택하고 기존의 설정을 사용한다고하면 PhotoKit은 개발자가 구현할 수 있도록 해놓은?? 뭐 그런 차이가 있다. 아무래도 그냥 이미지 선택이나 그런 간단한 작업을 할 땐 UIImagePicker가 좋겠지요?? 자 알아야할 개념이 너무나도 많은데 기본적으로 이것을 알고가면 좋다. 포토킷은 보이는 것과같이 iCloud와 Local에 있는 그런 것들을 가져올 수 있다. k-elon.tistory.com/19 [iOS] Photos 프레임워크 톺아보기 iOS 개발을 하..

개발/개발 2020.09.23