title: How to see Swift object properties in Objective-C project?
body: <p>I'm having Objective-C project and i'd like to try Swift in it. I was able to configure it to use Swift classes. Anyway i can't see Swift object properties while debugging:</p>
  
  <p><a href="https://i.stack.imgur.com/O7eeE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O7eeE.png" alt="enter image description here"></a></p>
  
  <p>I've even overriden <code>description</code> property to print all the variables:</p>
  
  <pre><code>import Foundation
  import ObjectMapper
  
  @objc
  public class Mcu : NSObject, Mappable {
      var name : String?
      var arch : String?
      var macro : String?
      var libraryName : String?
  
      required public init?(_ map: Map) {
      }
  
      // Mappable
      public func mapping(map: Map) {
          name        &lt;- map["name"]
          arch        &lt;- map["arch"]
          macro       &lt;- map["macro"]
          libraryName &lt;- map["libraryName"]
      }
  
      override public var description : String {
          return "name=\(name), arch=\(arch), macro=\(macro), libraryName=\(libraryName)"
      }
  }
  </code></pre>
  
  <p>If i print object in log (<code>NSLog([mcus[0] description])</code>) i
  m getting correct string:</p>
  
  <pre><code>2015-11-01 10:27:19.262 Project[1447:261056] name=Optional("avr2"), arch=Optional("ARCH_AVR2"), macro=nil, libraryName=Optional("\"s8515\"")
  </code></pre>
  
  <p>It's not the solution to convert to Swift all the project as it's pretty large.. What can i do to provide convenient debugging for both Obj-C and Swift in Obj-C project?</p>
  
  <p>PS. Xcode 7.1</p>
  
  <p>PPS. For Swift class <code>Mcu</code> Xcode generates according Obj-c header and it looks correct (but there is difference for debugger):</p>
  
  <pre><code>SWIFT_CLASS("_TtC17ProjectModule3Mcu")
  @interface Mcu : NSObject
  @property (nonatomic, copy) NSString * __nullable name;
  @property (nonatomic, copy) NSString * __nullable arch;
  @property (nonatomic, copy) NSString * __nullable macro;
  @property (nonatomic, copy) NSString * __nullable libraryName;
  @property (nonatomic, readonly, copy) NSString * __nonnull description;
  @end
  </code></pre>