Skip to content

Commit

Permalink
Made BEMCheckBoxGroup public while BEMAnimationManager and BEMPathMan…
Browse files Browse the repository at this point in the history
…ager are now private.
  • Loading branch information
Boris-Em committed Oct 27, 2016
1 parent 4c78e0f commit 75d8969
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 19 deletions.
5 changes: 1 addition & 4 deletions Classes/BEMCheckBox.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//

#import <UIKit/UIKit.h>
#import "BEMCheckBoxGroup.h"

@class BEMCheckBoxGroup;
@protocol BEMCheckBoxDelegate;

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

#import "BEMPathManager.h"
#import "BEMAnimationManager.h"

// Tell the compiler to assume that no method should have a NULL value
NS_ASSUME_NONNULL_BEGIN

Expand Down
10 changes: 5 additions & 5 deletions Sample Project/CheckBox.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
5643F1331CDE722C0020E238 /* BEMCheckBox.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 5643F12B1CDE722C0020E238 /* BEMCheckBox.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
5643F1381CDE724A0020E238 /* BEMCheckBox.h in Headers */ = {isa = PBXBuildFile; fileRef = C325373A1B9231FD0059F394 /* BEMCheckBox.h */; settings = {ATTRIBUTES = (Public, ); }; };
5643F1391CDE724A0020E238 /* BEMCheckBox.m in Sources */ = {isa = PBXBuildFile; fileRef = C325373B1B9231FD0059F394 /* BEMCheckBox.m */; };
5643F13A1CDE724A0020E238 /* BEMAnimationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = C3E837A81BAE3493004576D6 /* BEMAnimationManager.h */; settings = {ATTRIBUTES = (Public, ); }; };
5643F13A1CDE724A0020E238 /* BEMAnimationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = C3E837A81BAE3493004576D6 /* BEMAnimationManager.h */; settings = {ATTRIBUTES = (Private, ); }; };
5643F13B1CDE724A0020E238 /* BEMAnimationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C3E837A91BAE3493004576D6 /* BEMAnimationManager.m */; };
5643F13C1CDE724A0020E238 /* BEMPathManager.h in Headers */ = {isa = PBXBuildFile; fileRef = C3E837AB1BAE35D8004576D6 /* BEMPathManager.h */; settings = {ATTRIBUTES = (Public, ); }; };
5643F13C1CDE724A0020E238 /* BEMPathManager.h in Headers */ = {isa = PBXBuildFile; fileRef = C3E837AB1BAE35D8004576D6 /* BEMPathManager.h */; settings = {ATTRIBUTES = (Private, ); }; };
5643F13D1CDE724A0020E238 /* BEMPathManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C3E837AC1BAE35D8004576D6 /* BEMPathManager.m */; };
984F9E0F1DB59228002F746B /* BEMCheckBoxGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 984F9E0D1DB59228002F746B /* BEMCheckBoxGroup.h */; };
984F9E0F1DB59228002F746B /* BEMCheckBoxGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 984F9E0D1DB59228002F746B /* BEMCheckBoxGroup.h */; settings = {ATTRIBUTES = (Public, ); }; };
984F9E101DB59228002F746B /* BEMCheckBoxGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 984F9E0E1DB59228002F746B /* BEMCheckBoxGroup.m */; };
984F9E111DB59228002F746B /* BEMCheckBoxGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 984F9E0E1DB59228002F746B /* BEMCheckBoxGroup.m */; };
C32537131B9231780059F394 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C32537121B9231780059F394 /* main.m */; };
Expand Down Expand Up @@ -223,12 +223,12 @@
children = (
C325373A1B9231FD0059F394 /* BEMCheckBox.h */,
C325373B1B9231FD0059F394 /* BEMCheckBox.m */,
984F9E0D1DB59228002F746B /* BEMCheckBoxGroup.h */,
984F9E0E1DB59228002F746B /* BEMCheckBoxGroup.m */,
C3E837A81BAE3493004576D6 /* BEMAnimationManager.h */,
C3E837A91BAE3493004576D6 /* BEMAnimationManager.m */,
C3E837AB1BAE35D8004576D6 /* BEMPathManager.h */,
C3E837AC1BAE35D8004576D6 /* BEMPathManager.m */,
984F9E0D1DB59228002F746B /* BEMCheckBoxGroup.h */,
984F9E0E1DB59228002F746B /* BEMCheckBoxGroup.m */,
);
name = Classes;
sourceTree = "<group>";
Expand Down
2 changes: 1 addition & 1 deletion Sample Project/CheckBox/BEMAnimationsTableViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <UIKit/UIKit.h>
#import "BEMCheckBox.h"
#import <BEMCheckBox/BEMCheckBox.h>

@protocol BEMAnimationsTableViewDelegate <NSObject>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <UIKit/UIKit.h>
#import "BEMCheckBox.h"
#import <BEMCheckBox/BEMCheckBox.h>

@interface BEMCurrentSetupTableViewController : UITableViewController

Expand Down
2 changes: 1 addition & 1 deletion Sample Project/CheckBox/BEMMainViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "BEMMainViewController.h"
#import "BEMCheckBox.h"
#import <BEMCheckBox/BEMCheckBox.h>
#import "BEMCurrentSetupTableViewController.h"

@interface BEMMainViewController ()
Expand Down
4 changes: 1 addition & 3 deletions Sample Project/CheckBoxTests/AnimationManangerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <XCTest/XCTest.h>
#import "BEMAnimationManager.h"
#import <BEMCheckBox/BEMAnimationManager.h>

@interface AnimationManangerTests : XCTestCase

Expand All @@ -24,10 +24,8 @@ - (void)setUp {
}

- (void)testInit {

XCTAssertNotNil(self.manager);
XCTAssert(self.manager.animationDuration == 10.0);

}

- (void)testStrokeAnimation {
Expand Down
2 changes: 1 addition & 1 deletion Sample Project/CheckBoxTests/CheckBoxTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import <UIKit/UIKit.h>
#import <XCTest/XCTest.h>
#import "BEMCheckBox.h"
#import <BEMCheckBox/BEMCheckBox.h>

@interface CheckBoxTests : XCTestCase

Expand Down
4 changes: 2 additions & 2 deletions Sample Project/CheckBoxTests/GroupTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

#import <UIKit/UIKit.h>
#import <XCTest/XCTest.h>
#import "BEMCheckBox.h"
#import "BEMCheckBoxGroup.h"
#import <BEMCheckBox/BEMCheckBox.h>
#import <BEMCheckBox/BEMCheckBoxGroup.h>

@interface GroupTests : XCTestCase

Expand Down
2 changes: 1 addition & 1 deletion Sample Project/CheckBoxUITests/CheckBoxUITests.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <XCTest/XCTest.h>
#import "BEMCheckBox.h"
#import <BEMCheckBox/BEMCheckBox.h>

@interface CheckBoxUITests : XCTestCase

Expand Down

0 comments on commit 75d8969

Please sign in to comment.