2018-03-11から1日間の記事一覧

Optionalのオーバーライドの挙動の検証

概要 moaible-swift-memo.hateblo.jp もし親が Int で 子が Int? ならオーバライドできるので、 法則が乱れてるね、という話です ということで今回の検証としてはOptionalのオーバーライドの挙動、 Arrayのオーバーライドの挙動を確認していきます Optional…

(discord/swift/2018/03/02/0) SwiftのOptionalが絡んだoverrideの仕様が乱れてる件について

概要 discord ios dev #swift 2018/03/02-03 SwiftのOptionalが絡んだoverrideの仕様が乱れてる件について log tarunon - 2018/03/02 class My { func get() -> Int?? { return 1 } } class MyMy: My { override func get() -> Int? { return 2 } } MyMy().g…

(discord/swift/2018/03/09/0) swift標準ライブラリがwindowsでビルド可能について

概要 discord ios dev #swift 2018/03/09 swift標準ライブラリがwindowsでビルド可能になった log omochimetaru - 03/09 12:02 forums.swift.org Swift Forums Unit Tests on Windows (Windows State Part II) The standard library and the compiler is now…

(discord/swift/2018/03/09/0) SwiftPackageManagerのコミット権限について

概要 discord ios dev #swift 2018/03/09 Swift Package Managerのコミット権について log giginet - 3/9 13:59 この前SPMにだしたPR、LGTMされたけど、この人はコミッターではないw? @ikesyo github.com Motivation I'd like to test generated Xcode Pro…

(discord/swift/2018/03/09/0) swift-ast-explorerに追加されたコードとの比較機能

概要 discord ios dev #swift 2018/03/09 libsyntaxに追加されたコードとの比較機能 github.com log Kishikawa Katsumi - 3/9 15:54 Swift AST Explorer ^ ちょっとパワーアップして、libSyntaxの出力と元のソースコードの対応がわかる機能をつけた。 libSyn…

ReactorKit/ReactorKit コードレビュー1 (Reactor&View)

概要 github.com RxSwiftを使ったアーキテクチャを構築してくれる基盤となるフレームワーク 導入 cocoapods pod 'ReactorKit' pod 'RxSwift', '~> 4.0.0' pod 'RxCocoa', '~> 4.0.0' carthage github 'ReactorKit' github 'RxSwift', '~> 4.0.0' github 'RxC…