Skip to content

Commit

Permalink
Swapped the Manager naming convention for Controller.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marxon13 committed Oct 5, 2016
1 parent 9b185ca commit 99f32d9
Show file tree
Hide file tree
Showing 11 changed files with 63 additions and 63 deletions.
72 changes: 36 additions & 36 deletions M13Checkbox.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions Sources/M13Checkbox.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,24 +181,24 @@ public class M13Checkbox: UIControl {
}

/// The manager for the specific animation type.
fileprivate var manager: M13CheckboxManager {
fileprivate var manager: M13CheckboxController {
switch self {
case .stroke:
return M13CheckboxStrokeManager()
return M13CheckboxStrokeController()
case .fill:
return M13CheckboxFillManager()
return M13CheckboxFillController()
case let .bounce(style):
return M13CheckboxBounceManager(style: style)
return M13CheckboxBounceController(style: style)
case let .expand(style):
return M13CheckboxExpandManager(style: style)
return M13CheckboxExpandController(style: style)
case let .flat(style):
return M13CheckboxFlatManager(style: style)
return M13CheckboxFlatController(style: style)
case .spiral:
return M13CheckboxSpiralManager()
return M13CheckboxSpiralController()
case let .fade(style):
return M13CheckboxFadeManager(style: style)
return M13CheckboxFadeController(style: style)
case let .dot(style):
return M13CheckboxDotManager(style: style)
return M13CheckboxDotController(style: style)
}
}

Expand All @@ -224,7 +224,7 @@ public class M13Checkbox: UIControl {

/// The manager that manages display and animations of the checkbox.
/// The default animation is a stroke.
fileprivate var manager: M13CheckboxManager = M13CheckboxStrokeManager()
fileprivate var manager: M13CheckboxController = M13CheckboxStrokeController()

//----------------------------
// MARK: - Initalization
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// M13CheckboxManager.swift
// M13CheckboxController.swift
// M13Checkbox
//
// Created by McQuilkin, Brandon on 3/18/16.
Expand All @@ -13,7 +13,7 @@

import UIKit

internal class M13CheckboxManager {
internal class M13CheckboxController {

//----------------------------
// MARK: - Properties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// M13CheckboxBounceManager.swift
// M13CheckboxBounceController.swift
// M13Checkbox
//
// Created by McQuilkin, Brandon on 3/30/16.
Expand All @@ -13,7 +13,7 @@

import UIKit

internal class M13CheckboxBounceManager: M13CheckboxManager {
internal class M13CheckboxBounceController: M13CheckboxController {

//----------------------------
// MARK: - Properties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// M13CheckboxDotManager.swift
// M13CheckboxDotController.swift
// M13Checkbox
//
// Created by McQuilkin, Brandon on 4/1/16.
Expand All @@ -13,7 +13,7 @@

import UIKit

internal class M13CheckboxDotManager: M13CheckboxManager {
internal class M13CheckboxDotController: M13CheckboxController {

//----------------------------
// MARK: - Properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import UIKit

internal class M13CheckboxExpandManager: M13CheckboxManager {
internal class M13CheckboxExpandController: M13CheckboxController {

//----------------------------
// MARK: - Properties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// M13CheckboxFadeManager.swift
// M13CheckboxFadeController.swift
// M13Checkbox
//
// Created by McQuilkin, Brandon on 4/1/16.
Expand All @@ -13,7 +13,7 @@

import UIKit

internal class M13CheckboxFadeManager: M13CheckboxManager {
internal class M13CheckboxFadeController: M13CheckboxController {

//----------------------------
// MARK: - Properties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// M13CheckboxFillManager.swift
// M13CheckboxFillController.swift
// M13Checkbox
//
// Created by McQuilkin, Brandon on 3/30/16.
Expand All @@ -13,7 +13,7 @@

import UIKit

internal class M13CheckboxFillManager: M13CheckboxManager {
internal class M13CheckboxFillController: M13CheckboxController {

//----------------------------
// MARK: - Properties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// M13CheckboxFlatManager.swift
// M13CheckboxFlatController.swift
// M13Checkbox
//
// Created by McQuilkin, Brandon on 4/1/16.
Expand All @@ -13,7 +13,7 @@

import UIKit

internal class M13CheckboxFlatManager: M13CheckboxManager {
internal class M13CheckboxFlatController: M13CheckboxController {

//----------------------------
// MARK: - Properties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// M13CheckboxSpiralManager.swift
// M13CheckboxSpiralController.swift
// M13Checkbox
//
// Created by McQuilkin, Brandon on 4/1/16.
Expand All @@ -13,7 +13,7 @@

import UIKit

internal class M13CheckboxSpiralManager: M13CheckboxManager {
internal class M13CheckboxSpiralController: M13CheckboxController {

//----------------------------
// MARK: - Properties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// M13CheckboxStrokeManager.swift
// M13CheckboxStrokeController.swift
// M13Checkbox
//
// Created by McQuilkin, Brandon on 3/27/16.
Expand All @@ -13,7 +13,7 @@

import UIKit

internal class M13CheckboxStrokeManager: M13CheckboxManager {
internal class M13CheckboxStrokeController: M13CheckboxController {

//----------------------------
// MARK: - Properties
Expand Down

0 comments on commit 99f32d9

Please sign in to comment.