Simplified version of ivar_getTypeEncodingSwift
Merge pull request #1 from johnno1962/patch-1

Simplified version of ivar_getTypeEncodingSwift