Skip to content

Commit 29d8cc3

Browse files
authored
Merge pull request Boris-Em#44 from Boris-Em/bug/43Header
Bug/43 header
2 parents 4c78e0f + 72e9507 commit 29d8cc3

File tree

12 files changed

+24
-23
lines changed

12 files changed

+24
-23
lines changed

Classes/BEMCheckBox.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
//
88

99
#import <UIKit/UIKit.h>
10+
#import "BEMCheckBoxGroup.h"
1011

11-
@class BEMCheckBoxGroup;
1212
@protocol BEMCheckBoxDelegate;
1313

1414
/** The different type of boxes available.
@@ -24,9 +24,6 @@ typedef NS_ENUM(NSInteger, BEMBoxType) {
2424
BEMBoxTypeSquare
2525
};
2626

27-
#import "BEMPathManager.h"
28-
#import "BEMAnimationManager.h"
29-
3027
// Tell the compiler to assume that no method should have a NULL value
3128
NS_ASSUME_NONNULL_BEGIN
3229

Sample Project/CheckBox.xcodeproj/project.pbxproj

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
5643F1331CDE722C0020E238 /* BEMCheckBox.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 5643F12B1CDE722C0020E238 /* BEMCheckBox.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1212
5643F1381CDE724A0020E238 /* BEMCheckBox.h in Headers */ = {isa = PBXBuildFile; fileRef = C325373A1B9231FD0059F394 /* BEMCheckBox.h */; settings = {ATTRIBUTES = (Public, ); }; };
1313
5643F1391CDE724A0020E238 /* BEMCheckBox.m in Sources */ = {isa = PBXBuildFile; fileRef = C325373B1B9231FD0059F394 /* BEMCheckBox.m */; };
14-
5643F13A1CDE724A0020E238 /* BEMAnimationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = C3E837A81BAE3493004576D6 /* BEMAnimationManager.h */; settings = {ATTRIBUTES = (Public, ); }; };
14+
5643F13A1CDE724A0020E238 /* BEMAnimationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = C3E837A81BAE3493004576D6 /* BEMAnimationManager.h */; settings = {ATTRIBUTES = (Private, ); }; };
1515
5643F13B1CDE724A0020E238 /* BEMAnimationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C3E837A91BAE3493004576D6 /* BEMAnimationManager.m */; };
16-
5643F13C1CDE724A0020E238 /* BEMPathManager.h in Headers */ = {isa = PBXBuildFile; fileRef = C3E837AB1BAE35D8004576D6 /* BEMPathManager.h */; settings = {ATTRIBUTES = (Public, ); }; };
16+
5643F13C1CDE724A0020E238 /* BEMPathManager.h in Headers */ = {isa = PBXBuildFile; fileRef = C3E837AB1BAE35D8004576D6 /* BEMPathManager.h */; settings = {ATTRIBUTES = (Private, ); }; };
1717
5643F13D1CDE724A0020E238 /* BEMPathManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C3E837AC1BAE35D8004576D6 /* BEMPathManager.m */; };
18-
984F9E0F1DB59228002F746B /* BEMCheckBoxGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 984F9E0D1DB59228002F746B /* BEMCheckBoxGroup.h */; };
18+
984F9E0F1DB59228002F746B /* BEMCheckBoxGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 984F9E0D1DB59228002F746B /* BEMCheckBoxGroup.h */; settings = {ATTRIBUTES = (Public, ); }; };
1919
984F9E101DB59228002F746B /* BEMCheckBoxGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 984F9E0E1DB59228002F746B /* BEMCheckBoxGroup.m */; };
2020
984F9E111DB59228002F746B /* BEMCheckBoxGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 984F9E0E1DB59228002F746B /* BEMCheckBoxGroup.m */; };
2121
C32537131B9231780059F394 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C32537121B9231780059F394 /* main.m */; };
@@ -223,12 +223,12 @@
223223
children = (
224224
C325373A1B9231FD0059F394 /* BEMCheckBox.h */,
225225
C325373B1B9231FD0059F394 /* BEMCheckBox.m */,
226+
984F9E0D1DB59228002F746B /* BEMCheckBoxGroup.h */,
227+
984F9E0E1DB59228002F746B /* BEMCheckBoxGroup.m */,
226228
C3E837A81BAE3493004576D6 /* BEMAnimationManager.h */,
227229
C3E837A91BAE3493004576D6 /* BEMAnimationManager.m */,
228230
C3E837AB1BAE35D8004576D6 /* BEMPathManager.h */,
229231
C3E837AC1BAE35D8004576D6 /* BEMPathManager.m */,
230-
984F9E0D1DB59228002F746B /* BEMCheckBoxGroup.h */,
231-
984F9E0E1DB59228002F746B /* BEMCheckBoxGroup.m */,
232232
);
233233
name = Classes;
234234
sourceTree = "<group>";
@@ -338,7 +338,7 @@
338338
C32537051B9231780059F394 /* Project object */ = {
339339
isa = PBXProject;
340340
attributes = {
341-
LastUpgradeCheck = 0700;
341+
LastUpgradeCheck = 0800;
342342
ORGANIZATIONNAME = "Boris Emorine";
343343
TargetAttributes = {
344344
5643F12A1CDE722C0020E238 = {
@@ -500,6 +500,7 @@
500500
isa = XCBuildConfiguration;
501501
buildSettings = {
502502
CLANG_ANALYZER_NONNULL = YES;
503+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
503504
CURRENT_PROJECT_VERSION = 1;
504505
DEBUG_INFORMATION_FORMAT = dwarf;
505506
DEFINES_MODULE = YES;
@@ -523,6 +524,7 @@
523524
isa = XCBuildConfiguration;
524525
buildSettings = {
525526
CLANG_ANALYZER_NONNULL = YES;
527+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
526528
CURRENT_PROJECT_VERSION = 1;
527529
DEFINES_MODULE = YES;
528530
DYLIB_COMPATIBILITY_VERSION = 1;
@@ -554,8 +556,10 @@
554556
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
555557
CLANG_WARN_EMPTY_BODY = YES;
556558
CLANG_WARN_ENUM_CONVERSION = YES;
559+
CLANG_WARN_INFINITE_RECURSION = YES;
557560
CLANG_WARN_INT_CONVERSION = YES;
558561
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
562+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
559563
CLANG_WARN_UNREACHABLE_CODE = YES;
560564
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
561565
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -598,8 +602,10 @@
598602
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
599603
CLANG_WARN_EMPTY_BODY = YES;
600604
CLANG_WARN_ENUM_CONVERSION = YES;
605+
CLANG_WARN_INFINITE_RECURSION = YES;
601606
CLANG_WARN_INT_CONVERSION = YES;
602607
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
608+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
603609
CLANG_WARN_UNREACHABLE_CODE = YES;
604610
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
605611
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";

Sample Project/CheckBox.xcodeproj/xcshareddata/xcschemes/BEMCheckBox.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0730"
3+
LastUpgradeVersion = "0800"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Sample Project/CheckBox.xcodeproj/xcshareddata/xcschemes/CheckBox.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0700"
3+
LastUpgradeVersion = "0800"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Sample Project/CheckBox.xcodeproj/xcshareddata/xcschemes/CheckBoxTests.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0700"
3+
LastUpgradeVersion = "0800"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Sample Project/CheckBox/BEMAnimationsTableViewController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <UIKit/UIKit.h>
10-
#import "BEMCheckBox.h"
10+
#import <BEMCheckBox/BEMCheckBox.h>
1111

1212
@protocol BEMAnimationsTableViewDelegate <NSObject>
1313

Sample Project/CheckBox/BEMCurrentSetupTableViewController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <UIKit/UIKit.h>
10-
#import "BEMCheckBox.h"
10+
#import <BEMCheckBox/BEMCheckBox.h>
1111

1212
@interface BEMCurrentSetupTableViewController : UITableViewController
1313

Sample Project/CheckBox/BEMMainViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import "BEMMainViewController.h"
10-
#import "BEMCheckBox.h"
10+
#import <BEMCheckBox/BEMCheckBox.h>
1111
#import "BEMCurrentSetupTableViewController.h"
1212

1313
@interface BEMMainViewController ()

Sample Project/CheckBoxTests/AnimationManangerTests.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <XCTest/XCTest.h>
10-
#import "BEMAnimationManager.h"
10+
#import <BEMCheckBox/BEMAnimationManager.h>
1111

1212
@interface AnimationManangerTests : XCTestCase
1313

@@ -24,10 +24,8 @@ - (void)setUp {
2424
}
2525

2626
- (void)testInit {
27-
2827
XCTAssertNotNil(self.manager);
2928
XCTAssert(self.manager.animationDuration == 10.0);
30-
3129
}
3230

3331
- (void)testStrokeAnimation {

Sample Project/CheckBoxTests/CheckBoxTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import <UIKit/UIKit.h>
1010
#import <XCTest/XCTest.h>
11-
#import "BEMCheckBox.h"
11+
#import <BEMCheckBox/BEMCheckBox.h>
1212

1313
@interface CheckBoxTests : XCTestCase
1414

Sample Project/CheckBoxTests/GroupTests.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
#import <UIKit/UIKit.h>
1010
#import <XCTest/XCTest.h>
11-
#import "BEMCheckBox.h"
12-
#import "BEMCheckBoxGroup.h"
11+
#import <BEMCheckBox/BEMCheckBox.h>
12+
#import <BEMCheckBox/BEMCheckBoxGroup.h>
1313

1414
@interface GroupTests : XCTestCase
1515

Sample Project/CheckBoxUITests/CheckBoxUITests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <XCTest/XCTest.h>
10-
#import "BEMCheckBox.h"
10+
#import <BEMCheckBox/BEMCheckBox.h>
1111

1212
@interface CheckBoxUITests : XCTestCase
1313

0 commit comments

Comments
 (0)