diff options
author | 2016-06-14 10:29:05 -0400 | |
---|---|---|
committer | 2016-06-14 10:29:05 -0400 | |
commit | 7b984f5a1c54dbe2dca310992c60e196337d9f5c (patch) | |
tree | e496d130ef74e8a0bef6c82ece68abd5754aab8a /XcodeConfig/Project | |
parent | 03623a95a6be9adee2db1c195bb2cf991ac99464 (diff) |
Improve the casing macros
Make GTM_STATIC_CAST(className, object) and GTM_DYNAMIC_CAST(className, object)
return objects that are type-casted to className *, instead of id. This enables
access to properties on the casted objects, e.g.
GTM_STATIC_CAST(NSString, object).length
which wouldn't work previously, since accessing .length on an id type
(correctly) results in a compiler error.
Diffstat (limited to 'XcodeConfig/Project')
0 files changed, 0 insertions, 0 deletions