The display in the variables view uses synthetic child providers:
http://lldb.llvm.org/varformats.html
We could hook up the Mirrors to the synthetic child providers if there is no
formatter registered, but Mirrors always run code and we try not to run code
for the variables view if we can
On Sun, Jun 26, 2016 at 5:03 PM, Tim Vermeulen wrote:
> I already did that, sorry for not providing any code. Take this as an
> example:
>
> public struct Wrapper {
>
> private var elements: [Element]
>
> public init(_ sequence:
> S) {
> elements =
I already did that, sorry for not providing any code. Take this as an example:
public struct Wrapper {
private var elements: [Element]
public init(_ sequence: S)
{
elements = [Element](sequence)
}
}
extension Wrapper: Collection {
public var
On Fri, Jun 24, 2016 at 3:53 PM, Tim Vermeulen via swift-users
wrote:
> I’ve implemented a linked list. Now I’d like to be able to view the elements
> of a linked list in the debugger just like with an array. In the debugger, an
> array is represented like this:
>
> [0] =
I have to agree with comments found at the link in this email about swift and
entry level. I am a new developer just finishing school…in school we were
barely getting into objective c when swift was released. From what I’ve been
told, the agreement between schools and Apple doesn’t allow
I think it avoids the confusion. You can use print((0xabc).beef) instead.
Zhaoxin
On Sun, Jun 26, 2016 at 3:50 PM, Toni Suter via swift-users <
swift-users@swift.org> wrote:
> Hi,
>
> I have a question regarding hexadecimal floating-point literals. According
> to the Lexical Structure (
>
Hi,
I have a question regarding hexadecimal floating-point literals. According to
the Lexical Structure
(https://developer.apple.com/library/prerelease/content/documentation/Swift/Conceptual/Swift_Programming_Language/LexicalStructure.html