diff --git a/Example/Example/Data/Weather.swift b/Example/Example/Data/Weather.swift index 6765fcb..abab461 100644 --- a/Example/Example/Data/Weather.swift +++ b/Example/Example/Data/Weather.swift @@ -6,8 +6,6 @@ // Copyright © 2020 YUMEMI Inc. All rights reserved. // -import Foundation - enum Weather: String, Decodable { case sunny case cloudy diff --git a/Example/Example/Data/WeatherError.swift b/Example/Example/Data/WeatherError.swift index 55e7bac..4d3eec8 100644 --- a/Example/Example/Data/WeatherError.swift +++ b/Example/Example/Data/WeatherError.swift @@ -6,8 +6,6 @@ // Copyright © 2020 YUMEMI Inc. All rights reserved. // -import Foundation - enum WeatherError: Error { case jsonEncodeError case jsonDecodeError diff --git a/Example/Example/Model/DisasterModel.swift b/Example/Example/Model/DisasterModel.swift index eb1c190..05925ef 100644 --- a/Example/Example/Model/DisasterModel.swift +++ b/Example/Example/Model/DisasterModel.swift @@ -6,7 +6,6 @@ // Copyright © 2020 YUMEMI Inc. All rights reserved. // -import Foundation import YumemiWeather class DisasterModelImpl: DisasterModel { diff --git a/Sources/YumemiWeather/YumemiDisaster.swift b/Sources/YumemiWeather/YumemiDisaster.swift index 84fdbc0..07df4f0 100644 --- a/Sources/YumemiWeather/YumemiDisaster.swift +++ b/Sources/YumemiWeather/YumemiDisaster.swift @@ -5,8 +5,6 @@ // Created by 渡部 陽太 on 2020/04/19. // -import Foundation - public protocol YumemiDisasterHandleDelegate: AnyObject { func handle(disaster: String) }