Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aminbenarieb/e16cee36347b6a5e6941a52936cabc9b to your computer and use it in GitHub Desktop.
Save aminbenarieb/e16cee36347b6a5e6941a52936cabc9b to your computer and use it in GitHub Desktop.
ProfileAppDelegate
class ProfileAppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
for i in 100...100000000 {
let side = i
let size = CGSize(width: side, height: side)
print("size: \(side)x\(side) => \(ImageStitcher.bytes(for: size))")
}
return true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment