3

When I wait until Xcode 6.1.1 hits a breakpoint after this line

let metrics = ["leading" : 15.0, "size" : 44.0]

and then type po metrics the debugger reports (after several seconds delay) {}, which seems wrong. po metrics.count reports 2, which is right.

Is this a feature or a bug?

UPDATE The problem appears when debugging on a physical device (iPhone 5), e.g. not on a simulator (e.g. iPhone 6 Plus).

Drux
  • 11,992
  • 13
  • 66
  • 116

1 Answers1

0

Did you try doing this way?

let metrics:NSDictionary? = ["leading" : 15.0, "size" : 44.0]

println(metrics!)
Quentin Hayot
  • 7,786
  • 6
  • 45
  • 62