/
SHUIKitBlocks.podspec
67 lines (57 loc) · 3.04 KB
/
SHUIKitBlocks.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Pod::Spec.new do |s|
name = "SHUIKitBlocks"
url = "https://github.com/seivan/#{name}"
git_url = "#{url}.git"
version = "2.3.2"
source_files = "#{name}/**/*.{h,m}"
s.name = name
s.version = version
s.summary = "Prefixed Blocks for UIKit on categories *without* libffi and swizzling."
s.description = <<-DESC
Prefixed Blocks for UIKit on categories *without* libffi and swizzling.
Blocks are hold with a weak reference so you don't have to cleanup when your object is gone. Comes with tests.
Contains:
* SHAlertViewBlocks => UIAlertView
* SHControlBlocks => UIControl
* SHSegueBlocks => UIViewController
* SHNavigationControllerBlocks => UINavigationController
* SHWebViewBlocks => UIWebView
* SHPopoverControllerBlocks => UIPopoverController
* SHBarButtonItemBlocks => UIBarButtonItem
* SHActionSheetBlocks => UIActionSheet
* SHGestureRecognizerBlocks => UIGestureRecognizer
* SHTextFieldBlocks => UITextField
* SHTextViewBlocks => UITextView
* SHTabBarControllerBlocks => UITabBarController
* SHTransitionBlocks => UIViewController
Summary:
* Swizzle and junk free
* No need to clean up after - The blocks are self maintained.
* Blocks are referenced in a map with weak properties
* Prefixed selectors.
* Minimum clutter on top of the public interface.
* No external dependencies
* Lightweight
* *NO* libffi
DESC
s.homepage = url
s.license = 'MIT'
s.author = { "Seivan Heidari" => "seivan.heidari@icloud.com" }
s.source = { :git => git_url, :tag => version}
s.dependency "SHActionSheetBlocks", '~> 2.3.1'
s.dependency "SHAlertViewBlocks", '~> 1.2.1'
s.dependency "SHBarButtonItemBlocks", '~> 1.2.1'
s.dependency "SHControlBlocks", '~> 1.2.1'
s.dependency "SHGestureRecognizerBlocks", '~> 1.1.1'
s.dependency "SHNavigationControllerBlocks", '~> 2.1.1'
s.dependency "SHPopoverControllerBlocks", '~> 1.2.1'
s.dependency "SHSegueBlocks", '~> 1.2.3'
s.dependency "SHTabBarControllerBlocks", '~> 2.0.1'
s.dependency "SHTextFieldBlocks", '~> 1.1.1'
s.dependency "SHTextViewBlocks", '~> 1.1.1'
s.dependency "SHWebViewBlocks", '~> 1.3.1'
s.dependency "SHTransitionBlocks", '~> 1.0.1'
s.platform = :ios, "7.0"
s.source_files = source_files
s.requires_arc = true
end