Skip to content

Commit

Permalink
fix more copyWithZone(_ zone: NSZone?) -> AnyObject errors
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxuan30 committed Aug 31, 2016
1 parent 66573bc commit 3bb6931
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ChartsRealm/Classes/Data/RealmBarDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ open class RealmBarDataSet: RealmBarLineScatterCandleBubbleDataSet, IBarChartDat

// MARK: - NSCopying

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
open override func copyWithZone(_ zone: NSZone?) -> Any
{
let copy = super.copyWithZone(zone) as! RealmBarDataSet
copy._stackSize = _stackSize
Expand Down
2 changes: 1 addition & 1 deletion ChartsRealm/Classes/Data/RealmBubbleDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ open class RealmBubbleDataSet: RealmBarLineScatterCandleBubbleDataSet, IBubbleCh

// MARK: - NSCopying

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
open override func copyWithZone(_ zone: NSZone?) -> Any
{
let copy = super.copyWithZone(zone) as! RealmBubbleDataSet
copy._xMin = _xMin
Expand Down
2 changes: 1 addition & 1 deletion ChartsRealm/Classes/Data/RealmLineDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ open class RealmLineDataSet: RealmLineRadarDataSet, ILineChartDataSet

// MARK: NSCopying

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
open override func copyWithZone(_ zone: NSZone?) -> Any
{
let copy = super.copyWithZone(zone) as! RealmLineDataSet
copy.circleRadius = circleRadius
Expand Down
2 changes: 1 addition & 1 deletion ChartsRealm/Classes/Data/RealmLineRadarDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ open class RealmLineRadarDataSet: RealmLineScatterCandleRadarDataSet, ILineRadar

// MARK: NSCopying

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
open override func copyWithZone(_ zone: NSZone?) -> Any
{
let copy = super.copyWithZone(zone) as! RealmLineRadarDataSet
copy.fillColor = fillColor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ open class RealmLineScatterCandleRadarDataSet: RealmBarLineScatterCandleBubbleDa

// MARK: NSCopying

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
open override func copyWithZone(_ zone: NSZone?) -> Any
{
let copy = super.copyWithZone(zone) as! RealmLineScatterCandleRadarDataSet
copy.drawHorizontalHighlightIndicatorEnabled = drawHorizontalHighlightIndicatorEnabled
Expand Down
2 changes: 1 addition & 1 deletion ChartsRealm/Classes/Data/RealmScatterDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ open class RealmScatterDataSet: RealmLineScatterCandleRadarDataSet, IScatterChar

// MARK: NSCopying

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
open override func copyWithZone(_ zone: NSZone?) -> Any
{
let copy = super.copyWithZone(zone) as! RealmScatterDataSet
copy.scatterShapeSize = scatterShapeSize
Expand Down

0 comments on commit 3bb6931

Please sign in to comment.