Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Commit

Permalink
Enable modules for sample (but not for framework)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonreid committed Dec 23, 2015
1 parent b69d0ca commit 8d5085e
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@
baseConfigurationReference = 0EF849A61C2A621B00862CC9 /* XcodeWarnings.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
Expand Down Expand Up @@ -363,6 +364,7 @@
baseConfigurationReference = 0EF849A61C2A621B00862CC9 /* XcodeWarnings.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
Expand Down
3 changes: 2 additions & 1 deletion Sample/SampleApp/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#import <UIKit/UIKit.h>
@import UIKit;


@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (nonatomic, strong) UIWindow *window;
Expand Down
1 change: 1 addition & 0 deletions Sample/SampleApp/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#import "AppDelegate.h"


@implementation AppDelegate
@end
7 changes: 4 additions & 3 deletions Sample/SampleApp/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7706" systemVersion="14E46" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/>
</dependencies>
<scenes>
<!--View Controller-->
Expand All @@ -25,7 +26,7 @@
<action selector="showAlert:" destination="BYZ-38-t0r" eventType="touchUpInside" id="UH9-3D-wTB"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="W0M-xH-y3m">
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="W0M-xH-y3m">
<rect key="frame" x="193" y="285" width="215" height="30"/>
<state key="normal" title="Show Deprecated Action Sheet">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
Expand Down
3 changes: 2 additions & 1 deletion Sample/SampleApp/ViewController.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#import <UIKit/UIKit.h>
@import UIKit;


@interface ViewController : UIViewController <UIAlertViewDelegate, UIActionSheetDelegate>

Expand Down
1 change: 1 addition & 0 deletions Sample/SampleApp/ViewController.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#import "ViewController.h"


@implementation ViewController

- (IBAction)showAlert:(id)sender
Expand Down
2 changes: 1 addition & 1 deletion Sample/Tests/ViewControllerTests-OCHamcrest.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Test support
#import <MockUIAlertViewActionSheet/QCOMockActionSheetVerifier.h>
#import <MockUIAlertViewActionSheet/QCOMockAlertViewVerifier.h>
#import <XCTest/XCTest.h>
@import XCTest;

#define HC_SHORTHAND
#import <OCHamcrestIOS/OCHamcrestIOS.h>
Expand Down
2 changes: 1 addition & 1 deletion Sample/Tests/ViewControllerTests-PlainXCTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Test support
#import <MockUIAlertViewActionSheet/QCOMockActionSheetVerifier.h>
#import <MockUIAlertViewActionSheet/QCOMockAlertViewVerifier.h>
#import <XCTest/XCTest.h>
@import XCTest;


@interface ViewControllerTests_PlainXCTest : XCTestCase
Expand Down

0 comments on commit 8d5085e

Please sign in to comment.