Skip to content

Instantly share code, notes, and snippets.

View MatyasKriz's full-sized avatar
:shipit:
When in doubt, ship it.

Matty Cross MatyasKriz

:shipit:
When in doubt, ship it.
  • Notino
  • Brno
View GitHub Profile
@MatyasKriz
MatyasKriz / iosicons.rb
Created June 21, 2021 10:07
Simple ruby script that generates all necessary iOS icons.
#!/usr/bin/env ruby
require 'fileutils'
require 'json'
# MARK: Classes
class Size
attr_reader :base_size
attr_reader :scale
def initialize(base_size, scale)