Commit 4508097f authored by Samuel Giddins's avatar Samuel Giddins

Add a private header to the Modules example ObjCPod

parent 03e6ad62
...@@ -8,6 +8,7 @@ Pod::Spec.new do |s| ...@@ -8,6 +8,7 @@ Pod::Spec.new do |s|
s.license = 'proprietary' s.license = 'proprietary'
s.source_files = "src/**/*.{h,m,swift}" s.source_files = "src/**/*.{h,m,swift}"
s.private_header_files = "src/Private/*.h"
s.public_header_files = "src/**/*.h" s.public_header_files = "src/**/*.h"
s.ios.deployment_target = '9.0' s.ios.deployment_target = '9.0'
......
@interface ABC (Private)
+ (void)barkSuperLoudly;
@end
\ No newline at end of file
#import <ObjCPod/abc.h> #import <ObjCPod/abc.h>
#import "abc_private.h"
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
@implementation ABC @implementation ABC
+ (void)bark { NSLog(@"woof woof"); } + (void)bark { NSLog(@"woof woof"); }
+ (void)barkSuperLoudly { NSLog(@"WOOF WOOF"); }
@end @end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment