Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

Commit f685d75

Browse files
committed
fix folders structure, create summary extensions header, create objc podspec, fix readme
1 parent 3ffa4d2 commit f685d75

59 files changed

Lines changed: 128 additions & 63 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Example/OrangeFramework.xcodeproj/project.pbxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
B73EA13B1C20923800681710 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = B73EA1381C20923800681710 /* Info.plist */; };
1110
B73EA13C1C20923800681710 /* OFDependencySpec.m in Sources */ = {isa = PBXBuildFile; fileRef = B73EA1391C20923800681710 /* OFDependencySpec.m */; };
1211
B73EA13D1C20923800681710 /* OFDependencySpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = B73EA13A1C20923800681710 /* OFDependencySpec.swift */; };
1312
B73EA1471C218F8C00681710 /* OFLogSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = B73EA1461C218F8C00681710 /* OFLogSpec.m */; };
1413
B73EA1491C218FA500681710 /* OFLogSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = B73EA1481C218FA500681710 /* OFLogSpec.swift */; };
1514
B7A2D82C1C23064100080093 /* OFExtensionSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = B7A2D82B1C23064100080093 /* OFExtensionSpec.m */; };
15+
B7B9C9C51C2AAA77006FC8AF /* OrangeFrameworkObjC.podspec in Resources */ = {isa = PBXBuildFile; fileRef = B7B9C9C41C2AAA77006FC8AF /* OrangeFrameworkObjC.podspec */; };
1616
BDE7A31337913D25FBC75722 /* Pods_OrangeFramework_Specs.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DCBB1CDA75E36449C1C2D5D /* Pods_OrangeFramework_Specs.framework */; };
1717
/* End PBXBuildFile section */
1818

@@ -28,6 +28,7 @@
2828
B73EA1461C218F8C00681710 /* OFLogSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OFLogSpec.m; sourceTree = "<group>"; };
2929
B73EA1481C218FA500681710 /* OFLogSpec.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OFLogSpec.swift; sourceTree = "<group>"; };
3030
B7A2D82B1C23064100080093 /* OFExtensionSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OFExtensionSpec.m; sourceTree = "<group>"; };
31+
B7B9C9C41C2AAA77006FC8AF /* OrangeFrameworkObjC.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = OrangeFrameworkObjC.podspec; path = ../OrangeFrameworkObjC.podspec; sourceTree = "<group>"; };
3132
F37C9518BA8F4C03FE1D26EC /* OrangeFramework.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = OrangeFramework.podspec; path = ../OrangeFramework.podspec; sourceTree = "<group>"; };
3233
/* End PBXFileReference section */
3334

@@ -67,6 +68,7 @@
6768
607FACF51AFB993E008FA782 /* Podspec Metadata */ = {
6869
isa = PBXGroup;
6970
children = (
71+
B7B9C9C41C2AAA77006FC8AF /* OrangeFrameworkObjC.podspec */,
7072
F37C9518BA8F4C03FE1D26EC /* OrangeFramework.podspec */,
7173
90233076878E7EA11B771E9A /* README.md */,
7274
);
@@ -173,7 +175,7 @@
173175
isa = PBXResourcesBuildPhase;
174176
buildActionMask = 2147483647;
175177
files = (
176-
B73EA13B1C20923800681710 /* Info.plist in Resources */,
178+
B7B9C9C51C2AAA77006FC8AF /* OrangeFrameworkObjC.podspec in Resources */,
177179
);
178180
runOnlyForDeploymentPostprocessing = 0;
179181
};

Example/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ EXTERNAL SOURCES:
2424

2525
SPEC CHECKSUMS:
2626
Nimble: 4c353d43735b38b545cbb4cb91504588eb5de926
27-
OrangeFramework: 70e205c80d395612b596617ea661f06e10f9bf6a
27+
OrangeFramework: 74be818e2371656a4b4e9b80bb76b0aa7a61c369
2828
Quick: 563d0f6ec5f72e394645adb377708639b7dd38ab
2929

3030
COCOAPODS: 0.39.0

OrangeFramework.podspec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@ Pod::Spec.new do |s|
2121
s.xcconfig = { 'SWIFT_INSTALL_OBJC_HEADER' => 'NO', 'EMBEDDED_CONTENT_CONTAINS_SWIFT' => 'NO' }
2222

2323
s.subspec 'Dependency' do |ss|
24-
ss.source_files = 'OrangeFramework/Dependency/**/*'
24+
ss.source_files = 'Source/Dependency/**/*.{swift,h,m}'
2525
end
2626

2727
s.subspec 'Log' do |ss|
28-
ss.source_files = 'OrangeFramework/Log/**/*'
28+
ss.source_files = 'Source/Log/**/*.{swift,h,m}'
2929
end
3030

3131
s.subspec 'SystemInfo' do |ss|
32-
ss.source_files = 'OrangeFramework/SystemInfo/**/*'
32+
ss.source_files = 'Source/SystemInfo/**/*.{swift,h,m}'
3333
end
3434

3535
s.subspec 'Extensions' do |ss|
36-
ss.source_files = 'OrangeFramework/Extensions/**/*'
36+
ss.source_files = 'Source/Extensions/**/*.{swift,h,m}'
3737
end
3838

3939
s.subspec 'Segues' do |ss|
40-
ss.source_files = 'OrangeFramework/Segues/**/*'
40+
ss.source_files = 'Source/Segues/**/*.{swift,h,m}'
4141
end
4242

4343
end

OrangeFramework/Extensions/Foundation/Dispatch+OFExtension.h

Lines changed: 0 additions & 36 deletions
This file was deleted.

OrangeFramework/SystemInfo/OFSystemInfo.swift

Lines changed: 0 additions & 3 deletions
This file was deleted.

OrangeFrameworkObjC.podspec

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#
2+
# Be sure to run `pod lib lint OrangeFrameworkObjC.podspec' to ensure this is a
3+
# valid spec before submitting.
4+
#
5+
6+
Pod::Spec.new do |s|
7+
s.name = "OrangeFrameworkObjC"
8+
s.version = "0.1.0"
9+
s.summary = "Powerful framework aimed at fast and high quality developing mobile apps on Objective-C."
10+
s.description = <<-DESC
11+
OrangeFramework is a collection of components for fast and high quality developing mobile apps on Objective-C.
12+
It includes a light-weight iOC container (used for dependency injection), flexible logger, powerful extensions and simple system info getter.
13+
DESC
14+
s.homepage = "https://github.com/kuler90/OrangeFramework"
15+
s.license = 'MIT'
16+
s.author = { "Roman Kulesha" => "kulesha.r@gmail.com" }
17+
s.source = { :git => "https://github.com/kuler90/OrangeFramework.git", :tag => s.version.to_s }
18+
s.default_subspecs = 'Dependency', 'Log', 'SystemInfo', 'Extensions', 'Segues'
19+
s.platform = :ios, '7.0'
20+
s.requires_arc = true
21+
22+
s.subspec 'Dependency' do |ss|
23+
ss.source_files = 'Source/Dependency/**/*.{h,m}'
24+
end
25+
26+
s.subspec 'Log' do |ss|
27+
ss.source_files = 'Source/Log/**/*.{h,m}'
28+
end
29+
30+
s.subspec 'SystemInfo' do |ss|
31+
ss.source_files = 'Source/SystemInfo/**/*.{h,m}'
32+
end
33+
34+
s.subspec 'Extensions' do |ss|
35+
ss.source_files = 'Source/Extensions/**/*.{h,m}'
36+
end
37+
38+
s.subspec 'Segues' do |ss|
39+
ss.source_files = 'Source/Segues/**/*.{h,m}'
40+
end
41+
42+
end

README.md

Lines changed: 10 additions & 7 deletions
File renamed without changes.

0 commit comments

Comments
 (0)