Skip to content

Commit

Permalink
Added Cocoa Pods support
Browse files Browse the repository at this point in the history
  • Loading branch information
CooperRS authored and CooperRS committed Nov 4, 2013
1 parent a3e0154 commit 80bb86e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
4 changes: 4 additions & 0 deletions RMDateSelectionViewController-Demo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
CA153F5518279AC000428F05 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CA153F5418279AC000428F05 /* QuartzCore.framework */; };
CA1846711826C04A002822C5 /* RMModalViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA1846701826C04A002822C5 /* RMModalViewController.m */; };
CA8AC1E0181C1F370037B2D3 /* RMDateSelectionViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = CA8AC1DB181C1DEB0037B2D3 /* RMDateSelectionViewController.xib */; };
CAA60A3D181C1A0200198490 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CAA60A3C181C1A0200198490 /* Foundation.framework */; };
Expand All @@ -24,6 +25,7 @@
660D9E4A1826D36200E204D3 /* es */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = es; path = es.lproj/RMDateSelectionViewController.xib; sourceTree = "<group>"; };
93A3ADBB1823E11E0004FE44 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "zh-Hans"; path = "zh-Hans.lproj/RMDateSelectionViewController.xib"; sourceTree = "<group>"; };
93A3ADBC1823E1A90004FE44 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "zh-Hant"; path = "zh-Hant.lproj/RMDateSelectionViewController.xib"; sourceTree = "<group>"; };
CA153F5418279AC000428F05 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
CA18466F1826C04A002822C5 /* RMModalViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RMModalViewController.h; sourceTree = "<group>"; };
CA1846701826C04A002822C5 /* RMModalViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RMModalViewController.m; sourceTree = "<group>"; };
CA8AC1DA181C1DEB0037B2D3 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/RMDateSelectionViewController.xib; sourceTree = "<group>"; };
Expand Down Expand Up @@ -51,6 +53,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
CA153F5518279AC000428F05 /* QuartzCore.framework in Frameworks */,
CAA60A3F181C1A0200198490 /* CoreGraphics.framework in Frameworks */,
CAA60A41181C1A0200198490 /* UIKit.framework in Frameworks */,
CAA60A3D181C1A0200198490 /* Foundation.framework in Frameworks */,
Expand Down Expand Up @@ -81,6 +84,7 @@
CAA60A3B181C1A0200198490 /* Frameworks */ = {
isa = PBXGroup;
children = (
CA153F5418279AC000428F05 /* QuartzCore.framework */,
CAA60A3C181C1A0200198490 /* Foundation.framework */,
CAA60A3E181C1A0200198490 /* CoreGraphics.framework */,
CAA60A40181C1A0200198490 /* UIKit.framework */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

#import <Availability.h>

#ifndef __IPHONE_5_0
#warning "This project uses features only available in iOS SDK 5.0 and later."
#ifndef __IPHONE_7_0
#warning "This project uses features only available in iOS SDK 7.0 and later."
#endif

#ifdef __OBJC__
Expand Down
14 changes: 14 additions & 0 deletions RMDateSelectionViewController.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Pod::Spec.new do |s|
s.name = "RMDateSelectionViewController"
s.version = "0.9"
s.summary = "iOS control for selecting a date using UIDatePicker in a UIActionSheet like fashion"
s.homepage = "https://github.com/CooperRS/RMDateSelectionViewController"
s.screenshots = "http://cooperrs.github.io/RMDateSelectionViewController/Images/Screen-Portrait.png", "http://cooperrs.github.io/RMDateSelectionViewController/Images/Screen-Landscape.png", "http://cooperrs.github.io/RMDateSelectionViewController/Images/Screen-Portrait-Black.png"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "CooperRS" => "[email protected]" }
s.source = { :git => "https://github.com/CooperRS/RMDateSelectionViewController.git", :tag => "0.9" }
s.source_files = 'RMDateSelectionViewController', 'RMDateSelectionViewController/*'
s.platform = :ios, '7.0'
s.requires_arc = true
s.framework = 'CoreGraphics', 'QuartzCore'
end
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#define RM_DATE_PICKER_HEIGHT_LANDSCAPE 162

#import "RMDateSelectionViewController.h"
#import <QuartzCore/QuartzCore.h>

@interface RMDateSelectionViewController ()

Expand Down

0 comments on commit 80bb86e

Please sign in to comment.