Skip to content

Conversation

@Yoshitsugu-Antony-Kambara

関連するIssues

変更内容

RealmWork.swiftという名前のファイルを作成
RealmWorkというクラスを作成し、その中でid, title, recommendUrlを定義

Before After

参考

その他 補足

Comment on lines 17 to 22
var image: RealmImage { return RealmImage(recommendedUrl: recommendedUrl) }
}

struct RealmImage {
let recommendedUrl: String?
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

このimageっていう変数 StringがString?になっただけのようにみえるんやけどRealmImageっていう構造体で定義する理由ってある?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants