ios - Get Class from External Library's Binary -
is possible class external library's binary in objc?
like kno name of class, , im tryna test view see if type of class
ive tried forward declarations, didnt work
for instance:
if([subview iskindofclass:[externalbinaryview class]]) { externalbinaryview* _foo = subview; } thanks in advance
if header files aren't supplied use nsclassfromstring.
if([subview iskindofclass:nsclassfromstring(@"externalbinaryview")]) { externalbinaryview* _foo = subview; }
Comments
Post a Comment