mirror of
https://github.com/exyte/Macaw.git
synced 2024-10-26 13:01:25 +03:00
Swift 3.0 conversion
This commit is contained in:
parent
bed4386799
commit
70d7c7dea9
@ -2,12 +2,4 @@ use_frameworks!
|
||||
|
||||
target 'Example' do
|
||||
pod 'Macaw', :path => '../'
|
||||
end
|
||||
|
||||
post_install do |installer|
|
||||
installer.pods_project.targets.each do |target|
|
||||
target.build_configurations.each do |config|
|
||||
config.build_settings['SWIFT_VERSION'] = '2.3'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
@ -17,6 +17,6 @@ SPEC CHECKSUMS:
|
||||
RxSwift: 0823e8d7969c23bfa9ddfb2afa4881e424a1a710
|
||||
SWXMLHash: e0f6935971f01b06fb228cf435510d998ecde647
|
||||
|
||||
PODFILE CHECKSUM: 151f0be871736eddfeeec5cda1747f8a81e679ef
|
||||
PODFILE CHECKSUM: 228ebdda766cd7e558e36c929c03097c7aedb2ed
|
||||
|
||||
COCOAPODS: 1.1.0.rc.2
|
||||
|
@ -29,7 +29,7 @@ open class Animation {
|
||||
return self
|
||||
}
|
||||
|
||||
open func onComplete(_: (() -> ())) -> Animation {
|
||||
open func onComplete(_: @escaping (() -> ())) -> Animation {
|
||||
return self
|
||||
}
|
||||
}
|
||||
|
@ -80,6 +80,14 @@ extension ObservableArray: Indexable {
|
||||
public var endIndex: Int {
|
||||
return elements.endIndex
|
||||
}
|
||||
|
||||
public func formIndex(after i: inout Int) {
|
||||
elements.formIndex(after: &i)
|
||||
}
|
||||
|
||||
public func index(after i: Int) -> Int {
|
||||
elements.index(after: i)
|
||||
}
|
||||
}
|
||||
|
||||
extension ObservableArray: RangeReplaceableCollection {
|
||||
|
Loading…
Reference in New Issue
Block a user