Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Rymarz committed Apr 24, 2018
1 parent 3f249e2 commit aa7078e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Source/Snowflakes/SnowflakesAnimation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,4 @@ public extension UIView {
cell.contents = UIImage(named: "snowflake")?.cgImage
return cell
}

func loadImageBundle(named imageName:String) -> UIImage? {
let podBundle = Bundle(for: self.classForCoder)
if let bundleURL = podBundle.url(forResource: "Resources", withExtension: "bundle")
{
let imageBundel = Bundle(url:bundleURL )
let image = UIImage(named: imageName, in: imageBundel, compatibleWith: nil)
return image
}
return nil
}
}

0 comments on commit aa7078e

Please sign in to comment.