Skip to content

Commit

Permalink
Revert "removing unncessary class keyword in protocol"
Browse files Browse the repository at this point in the history
This reverts commit 79d5ae9.
  • Loading branch information
balaji committed Aug 15, 2014
1 parent b9e49fa commit ecdedc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion swift-2048/AppearanceProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import UIKit

protocol AppearanceProviderProtocol {
protocol AppearanceProviderProtocol: class {
func tileColor(value: Int) -> UIColor
func numberColor(value: Int) -> UIColor
func fontForNumbers() -> UIFont
Expand Down
2 changes: 1 addition & 1 deletion swift-2048/Models/GameModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import UIKit

/// A protocol that establishes a way for the game model to communicate with its parent view controller.
protocol GameModelProtocol {
protocol GameModelProtocol : class {
func scoreChanged(score: Int)
func moveOneTile(from: (Int, Int), to: (Int, Int), value: Int)
func moveTwoTiles(from: ((Int, Int), (Int, Int)), to: (Int, Int), value: Int)
Expand Down

0 comments on commit ecdedc1

Please sign in to comment.