-
Notifications
You must be signed in to change notification settings - Fork 3
/
SHSegueBlocks.podspec
37 lines (30 loc) · 1.35 KB
/
SHSegueBlocks.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
Pod::Spec.new do |s|
name = "SHSegueBlocks"
url = "https://github.com/seivan/#{name}"
git_url = "#{url}.git"
version = "1.2.3"
source_files = "#{name}/**/*.{h,m}"
s.name = name
s.version = version
s.summary = "Segue Blocks and userInfo without swizzling."
s.description = <<-DESC
Do segueus with blocks without any swizzling or leaks.
Blocks are hold with a weak reference so you don't have to cleanup when your vc is gone.
Also implements userInfo mutableDictionary on UIViewController
* No need to clean up after - Blocks are self maintained.
* Handles uninemplemented unwind segues
* Weak referenced blocks.
* No swizzling or hacks.
* Name-scoped selectors.
* Implements userInfo on controllers without a bullshit hack.
* Works with existing codebase that uses old fashioned segues.
DESC
s.homepage = url
s.license = 'MIT'
s.author = { "Seivan Heidari" => "seivan.heidari@icloud.com" }
s.source = { :git => git_url, :tag => version }
s.platform = :ios, "6.0"
s.source_files = source_files
s.requires_arc = true
s.dependency 'SHObjectUserInfo', '~> 1.2.0'
end