• R/O
  • HTTP
  • SSH
  • HTTPS

KCD: Commit

main code repository.


Commit MetaInfo

Revisionce5385ffd35632207ca03bc3828532f561944e00 (tree)
Time2018-03-18 10:40:33
Authormasakih <masakih@user...>
Commitermasakih

Log Message

associatedtypeを使用しないようにした

Change Summary

Incremental Difference

--- a/KCD/CoreDataManager.swift
+++ b/KCD/CoreDataManager.swift
@@ -50,11 +50,9 @@ protocol CoreDataAccessor: CoreDataProvider {
5050
5151 protocol CoreDataManager: CoreDataAccessor {
5252
53- associatedtype InstanceType = Self
53+ static var `default`: Self { get }
5454
55- static var `default`: InstanceType { get }
56-
57- static func oneTimeEditor() -> InstanceType
55+ static func oneTimeEditor() -> Self
5856 }
5957
6058 // MARK: - Extension
Show on old repository browser