Skip to content

Commit 7646591

Browse files
committed
Updated the DatePlot example app with a Swift 3 naming change.
1 parent e5607eb commit 7646591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/DatePlot/Source/DateController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class DateController : NSObject, CPTPlotDataSource {
2424
// Create graph
2525
let newGraph = CPTXYGraph(frame: .zero)
2626

27-
let theme = CPTTheme(named: kCPTDarkGradientTheme)
27+
let theme = CPTTheme(named: .darkGradientTheme)
2828
newGraph.apply(theme)
2929

3030
if let host = self.hostView {

0 commit comments

Comments
 (0)