Skip to content

Instantly share code, notes, and snippets.

@rknLA
Created November 8, 2015 18:46
Show Gist options
  • Save rknLA/c12f384326843b787ab0 to your computer and use it in GitHub Desktop.
Save rknLA/c12f384326843b787ab0 to your computer and use it in GitHub Desktop.
joys of swift
(lldb) po self.internalVirtualDestinations
<__NSArrayM 0x144669170>(
<MIKMIDIDestinationEndpoint: 0x144642130> Network Session 1,
<MIKMIDIDestinationEndpoint: 0x144692bd0> Grain Science
)
(lldb) po deviceManager.virtualDestinations as! NSArray
"2 values"
{
[0] = 0x0000000144642130
[1] = 0x0000000144692bd0
}
(lldb) po deviceManager.virtualDestinations as! Array
{}
(lldb) po deviceManager.virtualDestinations as! [MIKMIDIDestinationEndpoint]
{}
(lldb) po deviceManager.virtualDestinations as! [AnyObject]
{}
(lldb) po deviceManager.virtualDestinations
Some
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment