Xamarin.IOS / c# - Get NSObject values

263 views Asked by At

Is there a way to get the values from an NSObject?

I know we can do this NSObject status = (NSObject)MyNSObject.ValueForKey(new NSString("myKey"));

But what if I don't know the key? Is it possible to get all values without supplying any one key? Or is it at least possible to place a breakpoint on the NSObject and view the object's properties / key-value pairs in the visual studio IDE, the same that can be done for a c# object?

I ask as I have an NSObject but I don't know what the properties inside them are, as they aren't supplied to me.

0

There are 0 answers