Skip to content

Commit

Permalink
Add UI subspec for categories and BONTextAlignmentConstraint
Browse files Browse the repository at this point in the history
  • Loading branch information
Imperiopolis committed Mar 12, 2016
1 parent 6f62bb8 commit 9fd3886
Show file tree
Hide file tree
Showing 24 changed files with 309 additions and 212 deletions.
15 changes: 12 additions & 3 deletions BonMot.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@ Pod::Spec.new do |s|
s.platform = :ios, '8.0'
s.requires_arc = true

s.source_files = 'Pod', 'Pod/Classes/**/*'
s.private_header_files = "Pod/Classes/*_Private.h"

s.frameworks = 'UIKit'

s.default_subspec = 'Core'

s.subspec 'Core' do |sp|
sp.source_files = 'Pod', 'Pod/Classes/**/*'
sp.private_header_files = "Pod/Classes/*_Private.h"
end

s.subspec 'UI' do |sp|
sp.source_files = 'Pod/UI', 'Pod/UI/Classes/**/*'
sp.dependency 'BonMot/Core'
end
end
2 changes: 2 additions & 0 deletions Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ use_frameworks!

target 'BonMot_Example', :exclusive => true do
pod "BonMot", :path => "../"
pod "BonMot/UI", :path => "../"
end

target 'BonMot_Tests', :exclusive => true do
pod "BonMot", :path => "../"
pod "BonMot/UI", :path => "../"
end
9 changes: 7 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
PODS:
- BonMot (2.4.1)
- BonMot (2.4.1):
- BonMot/Core (= 2.4.1)
- BonMot/Core (2.4.1)
- BonMot/UI (2.4.1):
- BonMot/Core

DEPENDENCIES:
- BonMot (from `../`)
- BonMot/UI (from `../`)

EXTERNAL SOURCES:
BonMot:
:path: ../

SPEC CHECKSUMS:
BonMot: 6a9a314f50e60e71a48d5ec63bc44412ec520e19
BonMot: 90e8f2228c5174697f928fdfc9f14b937fdf0ec7

COCOAPODS: 0.39.0

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Example/Pods/Headers/Private/BonMot/BonMot-UI.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 24 additions & 6 deletions Example/Pods/Local Podspecs/BonMot.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

420 changes: 232 additions & 188 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Example/Pods/Target Support Files/BonMot/BonMot-umbrella.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions Pod/BonMot.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,3 @@
#import "BONText.h"
#import "BONChain.h"
#import "BONSpecial.h"
#import "BONTextAlignmentConstraint.h"
#import "UIImage+BONMotUtilities.h"
#import "UILabel+BonMotUtilities.h"
#import "UITextField+BonMotUtilities.h"
#import "UITextView+BonMotUtilities.h"
13 changes: 13 additions & 0 deletions Pod/UI/BonMot-UI.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// BonMot-UI.h
// Pods
//
// Created by Nora Trapp on 3/10/16.
//
//

#import "BONTextAlignmentConstraint.h"
#import "UIImage+BONMotUtilities.h"
#import "UILabel+BonMotUtilities.h"
#import "UITextField+BonMotUtilities.h"
#import "UITextView+BonMotUtilities.h"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 9fd3886

Please sign in to comment.