Skip to content

YumemiWeather を iOS 13 以降にしてはどうか。 #74

@yumemi-kumagai

Description

@yumemi-kumagai

YumemiWeather の API の一部に iOS 13 以降で有効と明記されたものがいくつかあります。

たとえば、非同期で天気情報を拾ってくるメソッドがそれに該当します。

@available(iOS 13, macOS 10.15, *)
    public static func asyncFetchWeather(_ jsonString: String) async throws -> String {

これが使えなくても同期版があるため問題はないのですけれど、課題の環境条件に「基本的に最新の安定版を利用すること」とあるのと、バグ解消の課題で使う Example プロジェクトが iOS 17.2 を求めているのを踏まえると、YumemiWeather で一部の機能を iOS 13 以降で解禁するよりも、YumemiWeather 自体を iOS 13 以降にするのが自然かもしれません。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions