Swift then
-
Swift then 사용Swift 2021. 5. 10. 10:06
Then 이란? 전수열개발자님께서 만든 then은 ReadMe에 있는 예제만 보고도 우리가 흔히 쓰던 무엇을 then으로 만들었는지 알 수 있습니다. (클로저를 통해 인스턴스를 생성했을때 원하는 처리를 할 수 있음 ) 장점 : 코드 깔끔 단점 : ? https://github.com/devxoul/Then devxoul/Then ✨ Super sweet syntactic sugar for Swift initializers - devxoul/Then github.com 적용방법 Podfile 에 pod 'Then' 을 적고 pod install 을 터미널 명령어에 쳐주면 설치 완료! (Podfile이 없다면 pod init ~) 사용 You can use then() to all of NSObject su..