Skip to content

Commit

Permalink
optimize images
Browse files Browse the repository at this point in the history
  • Loading branch information
khcrysalis committed Mar 25, 2024
1 parent 9edc4ed commit b642972
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 27 deletions.
4 changes: 2 additions & 2 deletions palera1nLoader.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
338B005C2B6FEB5400BA0CF5 /* Language.swift in Sources */ = {isa = PBXBuildFile; fileRef = 338B005B2B6FEB5400BA0CF5 /* Language.swift */; };
338B00612B706FE400BA0CF5 /* Post-Install.swift in Sources */ = {isa = PBXBuildFile; fileRef = 338B00602B706FE400BA0CF5 /* Post-Install.swift */; };
338E24A12BB01B5E00561B18 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 33628E962B69C78600EB4887 /* IOKit.framework */; };
338E24A42BB0DED800561B18 /* IOKit.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 017796DC2BAFB63D00BCC2C3 /* IOKit.tbd */; };
338E24AA2BB1451000561B18 /* IOKit.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 017796DC2BAFB63D00BCC2C3 /* IOKit.tbd */; };
33BA31D92BA6AA510063B2B7 /* UIImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33BA31D82BA6AA510063B2B7 /* UIImage.swift */; };
33BA31DB2BA6AEF30063B2B7 /* OpenApplication.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33BA31DA2BA6AEF30063B2B7 /* OpenApplication.swift */; };
33BA31DD2BA6AF2E0063B2B7 /* Header.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33BA31DC2BA6AF2E0063B2B7 /* Header.swift */; };
Expand Down Expand Up @@ -135,7 +135,7 @@
buildActionMask = 2147483647;
files = (
336A9DBE2BAEB56C00134693 /* CoreServices.framework in Frameworks */,
338E24A42BB0DED800561B18 /* IOKit.tbd in Frameworks */,
338E24AA2BB1451000561B18 /* IOKit.tbd in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "1.png",
"filename" : "1-min.png",
"idiom" : "tv",
"scale" : "1x"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "thetv.png",
"filename" : "thetv 2.png",
"idiom" : "universal",
"scale" : "1x"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
21 changes: 0 additions & 21 deletions palera1nLoaderTV/Assets.xcassets/thetvbg.imageset/Contents.json

This file was deleted.

Binary file not shown.
2 changes: 0 additions & 2 deletions palera1nLoaderTV/View/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class ViewController: UIViewController {
stackView.axis = .horizontal
stackView.spacing = 20
stackView.translatesAutoresizingMaskIntoConstraints = false
stackView.addBackground(image: UIImage(named: "thetvbg")!, alpha: 0.6)
view.addSubview(stackView)

let imageView = UIImageView(image: UIImage(named: "apple-tv"))
Expand Down Expand Up @@ -78,7 +77,6 @@ class ViewController: UIViewController {

var contentOffsetY = (screenHeight - tableViewContentHeight) / 2.0

// Ensure the content offset doesn't go beyond the limits
contentOffsetY = max(-tableView.contentInset.top, contentOffsetY)
contentOffsetY = min(tableView.contentSize.height - tableView.frame.size.height + tableView.contentInset.bottom, contentOffsetY)

Expand Down

0 comments on commit b642972

Please sign in to comment.