Swift
Try LLDB of Xcode integration with Kaleidoscope v2.4
Minor updated Kalidoscope, let's try it.
Getting started Protocol Buffers in Swift
In this post, trial the Protocol Buffer on Swift.
Create a Swift Package and publish it to GitHub
To describe building and publishing your swift package in this post.
Use Swift Package with Xcode
Explaining how to use Swift Package conveniently with Xcode.
SafariViewControllerとセッション
要確認。データを共有できるとあるがセッションも含むのだろうか。 SafariViewControllerとは AppleはWebビューとしてUIWebView、WKWebViewを提供していますが、それとは別にSafariの機能を持つSafariViewControllerを提供しています。
Background fetch
XcodeのCapabilitiesに Background fetch (下図の青枠部分) がありますが、これについて理解を深めたいと思います。
RxSwift 雑記
RxSwiftのメモ。 Step1 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 32 33 34 35 36 37 import RxSwift import RxCocoa final class MainModel { private let subModel = SubModel() init() { } func turnOn() { self.subModel.turnOn() } } final class SubModel { private var logic1Subject: PublishSubject<Bool> = PublishSubject<Bool>() private var logic2Subject: PublishSubject<Bool> = PublishSubject<Bool>() private let disposeBag = DisposeBag() init() { self.hoge() } func turnOn() { self.logic1Subject.onNext(true) } func turnOff() { self.logic1Subject.onNext(false) } private func hoge() { self.logic1Subject.subscribe { (event) in print("hoge") }.disposed(by: self.disposeBag) } } MainModelのturnOnを呼び出すと、コンソールログにhogeと出るはずです。