Skip to content

Commit

Permalink
Fixed formatter visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
PGLongo committed Mar 18, 2015
1 parent 9a8e611 commit 0bf8b3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PGLFormatter/PGLFormatter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import UIKit

public class PGLFormatter: NSObject {

class var numberFormatter: NSNumberFormatter {
public class var numberFormatter: NSNumberFormatter {
struct Static {
static let instance : NSNumberFormatter = {
let formatter = NSNumberFormatter()
Expand All @@ -23,7 +23,7 @@ public class PGLFormatter: NSObject {
return Static.instance
}

class var dateFormatter: NSDateFormatter {
public class var dateFormatter: NSDateFormatter {
struct Static {
static let instance : NSDateFormatter = {
let formatter = NSDateFormatter()
Expand Down

0 comments on commit 0bf8b3d

Please sign in to comment.