Uploaded image for project: 'Realm Cocoa SDK'
  1. Realm Cocoa SDK
  2. RCOCOA-25

Support inspecting Realm Objects from Swift in LLDB

      Hi, still having issues here is anyone else?

      When I try and display the ward object (RLMObject)

      Printing description of ward:
      (N2v2.Ward) ward = 0x00007f803bc0b940 {
      Realm.RLMObject = {
      ObjectiveC.NSObject = {}
      }
      id = 0
      name = ""
      beds = nil
      }

      RLMArray and RLMResults behave correctly though.

      Yet if I call println(ward.description) I get the correct output.
      Ward {
      id = 3;
      name = Magnoli ;
      beds = RLMArray <0x7f803bd6bd30> (
      [0] Bed {
      id = 41;
      number = 1;
      admissions = RLMArray <0x7f803bd8cf90> (
      [0] Admission

      { id = 41; admitted_on = 2014-11-13T02:47:24.086Z; discharged_on = 2014-11-13T02:47:24.086Z; discharged = 0; }

      );

      ...

      I've installed as per the swift instructions however I'm using PODS for AFNetworking 2.0 only.

      Thanks
      Leigh

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: