Update Detector.m

Returns information for C and Swift structs, hopefully traps less.