Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
kaishin committed Jan 2, 2024
1 parent 507de3b commit b9a0a25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 4 additions & 0 deletions Demo/Demo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
DEVELOPMENT_TEAM = 5G38N4D8G2;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "$(SRCROOT)/Demo-tvOS/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = Gifu;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
Expand Down Expand Up @@ -366,6 +367,7 @@
DEVELOPMENT_TEAM = 5G38N4D8G2;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "$(SRCROOT)/Demo-tvOS/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = Gifu;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.redalemeden.Gifu-tvOSDemo";
Expand Down Expand Up @@ -490,6 +492,7 @@
DEVELOPMENT_TEAM = HCTW65QDC4;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = "$(SRCROOT)/Demo-iOS/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = Gifu;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_SWIFT_FLAGS = "";
Expand All @@ -509,6 +512,7 @@
DEVELOPMENT_TEAM = HCTW65QDC4;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = "$(SRCROOT)/Demo-iOS/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = Gifu;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_SWIFT_FLAGS = "";
Expand Down
6 changes: 1 addition & 5 deletions Sources/Gifu/Classes/FrameStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class FrameStore {
var frameBufferSize: Int {
switch cachingStrategy {
case .cacheNext(let size): size
case .cacheAll: 10
case .cacheAll: 10 // Default to 10 when purging frames is disabled
}
}

Expand Down Expand Up @@ -311,10 +311,6 @@ private extension FrameStore {
loadFrameAtIndexIfNeeded(index)
}

if #available(iOSApplicationExtension 15.0, *) {
print(#function, "Cache:", totalFrameCacheSize.formatted(.byteCount(style: .memory)))
}

self.loopDuration = duration
}

Expand Down

0 comments on commit b9a0a25

Please sign in to comment.