-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLaziable.podspec
40 lines (25 loc) · 1.37 KB
/
Laziable.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Pod::Spec.new do |s|
s.name = "Laziable"
s.version = "1.1.0"
s.summary = "When 'lazy var' doesn't cut it, have a truly Lazy variable in Swift."
s.screenshot = "https://github.com/BellAppLab/Laziable/raw/master/Images/laziable.png"
s.description = <<-DESC
So you declared a `lazy var` in Swift thinking it would behave like lazily instantiated variables in good ol' Objective-C. You thought you would set them to `nil` and they would reconstruct themselves later on when needed.
You poor thing.
[They don't](https://stackoverflow.com/a/40847994).
So why not bring that awesomeness back to Swift in a very lightweight way?
DESC
s.homepage = "https://github.com/BellAppLab/Laziable"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Bell App Lab" => "apps@bellapplab.com" }
s.social_media_url = "https://twitter.com/BellAppLab"
s.ios.deployment_target = "9.0"
s.watchos.deployment_target = "3.0"
s.osx.deployment_target = "10.10"
s.tvos.deployment_target = "9.0"
s.swift_version = '5.0'
s.module_name = 'Laziable'
s.source = { :git => "https://github.com/BellAppLab/Laziable.git", :tag => "#{s.version}" }
s.source_files = "Sources/Laziable"
s.framework = "Foundation"
end