0

I am new to Swift and running some app under AppCode. And it looks for me, that something strange is happening: legal URL turns to nil in constructor.

This is a watch in debugger:

enter image description here

Why can it be?

Dims
  • 47,675
  • 117
  • 331
  • 600
  • 1
    it is just a [bug](https://bugs.swift.org/browse/SR-12444) **A number of other types fail to display correctly in the Varibles Pane and also fail to print correctly with frame v and print. They do print correctly with po. These include Date, TimeZone, URL, Calendar DateComponents, IndexPath. I haven't tested every type so others probably fail as well.** – Leo Dabus Feb 24 '21 at 17:43
  • Incredible. Thanks. – Dims Feb 24 '21 at 17:54
  • you are welcome – Leo Dabus Feb 24 '21 at 17:54
  • https://bugs.swift.org/browse/SR-11593 is a better one to look at, good discussion of the underlying causes – matt Mar 20 '21 at 23:37

0 Answers0