diff options
author | Nicholas Tay <nick@windblume.net> | 2022-07-18 10:24:49 +1000 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-07-18 10:26:05 +1000 |
commit | 338256206f5e11d7e21a714dedb461ae89281526 (patch) | |
tree | a67e03473a2f2e749e58b2babe532ace9d396826 /foray/Presenters | |
parent | 8b255702c674bf1bfeca96697711f6e4f088dfdb (diff) | |
download | forayios-338256206f5e11d7e21a714dedb461ae89281526.tar.gz forayios-338256206f5e11d7e21a714dedb461ae89281526.tar.bz2 forayios-338256206f5e11d7e21a714dedb461ae89281526.zip |
Custom share sheet icons and load them with UIImage
Found that LPLinkMetadata + NSItemProvider can actually use UIImage. I
think this is better now since not using a bundle load and can use
assets.
Diffstat (limited to '')
-rw-r--r-- | foray/Presenters/PenguinItemPresenter.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/foray/Presenters/PenguinItemPresenter.swift b/foray/Presenters/PenguinItemPresenter.swift index 45b970c..9d6525d 100644 --- a/foray/Presenters/PenguinItemPresenter.swift +++ b/foray/Presenters/PenguinItemPresenter.swift @@ -21,7 +21,7 @@ class PenguinItemPresenter { return transform(models: apiItems) } - func transform(models: [PenguinItemModel]) -> [PenguinItemViewModel] { + private func transform(models: [PenguinItemModel]) -> [PenguinItemViewModel] { let dateFormatter = DateFormatter() dateFormatter.dateFormat = "yyyy-MM-dd" |