Skip to content

Instantly share code, notes, and snippets.

@vyppN
Last active March 30, 2022 07:49
Show Gist options
  • Select an option

  • Save vyppN/20821020ec5d01795b3b6aa3e8e2024b to your computer and use it in GitHub Desktop.

Select an option

Save vyppN/20821020ec5d01795b3b6aa3e8e2024b to your computer and use it in GitHub Desktop.

Revisions

  1. vyppN revised this gist Mar 30, 2022. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions basegrad.swift
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    public struct BaseGradient {
    var colors: [UIColor]
    var angle: CGFloat
    var locations: [NSNumber]
    }
  2. vyppN created this gist Mar 30, 2022.
    4 changes: 4 additions & 0 deletions basegrad.swift
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    public struct BaseGradient {
    var colors: [UIColor]
    var angle: CGFloat
    }