Skip to content

Commit 23d27cf

Browse files
committed
Make functionality for saving bitmaps public.
1 parent 5d89a4b commit 23d27cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/LispKit/Graphics/Drawing_iOS.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ public enum BitmapImageFileType {
492492
case jpeg
493493
case png
494494

495-
func data(for image: UIImage) -> Data? {
495+
public func data(for image: UIImage) -> Data? {
496496
guard let cgImage = image.cgImage else {
497497
return nil
498498
}

Sources/LispKitRepl/AppInfo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public struct AppInfo {
4545
public static let buildDate = { () -> String in
4646
let dateFormatter = DateFormatter()
4747
dateFormatter.dateFormat = "yyyy-MM-dd HH:mm"
48-
return dateFormatter.string(from: Date(timeIntervalSince1970: 1699261749))
48+
return dateFormatter.string(from: Date(timeIntervalSince1970: 1699655433))
4949
}()
5050
public static let buildAnnotation = " (\(AppInfo.buildDate))"
5151
}

0 commit comments

Comments
 (0)