-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(NEW) Added feature for selecting image format while configuring.
- Loading branch information
1 parent
a74335a
commit df57cb5
Showing
4 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// ImageFormat.swift | ||
// | ||
// Author: Aum Chauhan | ||
// Date: 25/8/2023 | ||
// GitHub: https://github.com/aum-chauhan-175 | ||
|
||
import Foundation | ||
|
||
@available(iOS 15.0, *) | ||
/// Enumeration representing supported image formats in PixieCacheKit. | ||
public enum ImageFormat: String { | ||
/// `jpeg` stores images in .jpeg format. | ||
case jpeg = ".jpeg" | ||
|
||
/// `png` stores images in .png format. | ||
case png = ".png" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters