stevel05 Expert Licensed User Longtime User Nov 25, 2014 #1 Is it possible to get data from an NSRect Object using NativeObject or any other way? Declaration OBJECTIVE-C typedef struct _NSRect { NSPoint origin; NSSize size; } NSRect; Click to expand... I could extract a value from a string returned using the NativeObject AsString method, but I'm hoping there is a tidier way. I tried assigning it to a B4i Rect object, but it was a no go.
Is it possible to get data from an NSRect Object using NativeObject or any other way? Declaration OBJECTIVE-C typedef struct _NSRect { NSPoint origin; NSSize size; } NSRect; Click to expand... I could extract a value from a string returned using the NativeObject AsString method, but I'm hoping there is a tidier way. I tried assigning it to a B4i Rect object, but it was a no go.
Erel B4X founder Staff member Licensed User Longtime User Nov 25, 2014 #2 Currently the only way is by parsing the string. It is more or less impossible to dynamically access the C constructs (unlike the Objective C objects). Upvote 0
Currently the only way is by parsing the string. It is more or less impossible to dynamically access the C constructs (unlike the Objective C objects).