forked from youknowone/FoundationExtension
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFoundationExtension.podspec
More file actions
53 lines (49 loc) · 2.21 KB
/
FoundationExtension.podspec
File metadata and controls
53 lines (49 loc) · 2.21 KB
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
Pod::Spec.new do |s|
s.name = "FoundationExtension"
s.version = "0.35.2"
s.summary = "Foundation/UIKit extension kit. It is category based and looks familiar to Foundation/UIKit. It includes many common snippets as shortcut."
s.description = <<-DESC
This library includes small Foundation/Cocoa/UIKit extensions. This library does not includes high-level data structure, algorithm or frameworks, but collection of code snippets.
* Many common snippets in a method call.
* Looks like native foundation methods - It follows Apple Coding Guideline and Foundation naming convention.
See document on [Github] (http://youknowone.github.com/FoundationExtension)
Try FoundationExtension for Foundation extensions.
For iOS, UIKitExtension is available too.
DESC
s.homepage = "https://github.com/youknowone/FoundationExtension"
s.license = "2-clause BSD"
s.author = { "Jeong YunWon" => "jeong@youknowone.org" }
s.source = { :git => "https://github.com/youknowone/FoundationExtension.git", :tag => "0.35.2" }
s.dependency "cdebug", "~> 0.1"
s.subspec "FoundationExtension" do |ss|
ss.source_files = "FoundationExtension"
ss.public_header_files = "FoundationExtension/*.h"
ss.prefix_header_contents = '
#include <cdebug/debug.h>
#include <FoundationExtension/FoundationExtension.h>
'
end
s.subspec "CocoaExtension" do |ss|
ss.platform = :osx
ss.source_files = "CocoaExtension"
ss.public_header_files = "CocoaExtension/*.h"
ss.header_dir = "CocoaExtension"
ss.framework = "Cocoa"
ss.prefix_header_contents = '
#include <cdebug/debug.h>
#include <CocoaExtension/CocoaExtension.h>
'
ss.dependency "FoundationExtension/FoundationExtension"
end
s.subspec "UIKitExtension" do |ss|
ss.platform = :ios
ss.source_files = "UIKitExtension"
ss.public_header_files = "UIKitExtension/*.h"
ss.header_dir = "UIKitExtension"
ss.prefix_header_contents = '
#include <cdebug/debug.h>
#include <UIKitExtension/UIKitExtension.h>
'
ss.dependency "FoundationExtension/FoundationExtension"
end
end