I have a sample code wherein:
- I am unable to understand how data flows from database to reports because there is no place to set or fetch data explicitly. It is all done through custom objects.
- Even we are not able to fetch data through console using NSLog as it has ENUM keys
- All objects are custom objects so if we put it in NSLogs we get structure like
< CustomObject-hexcode>. Many of the classes again comprise of objects from other classes. - Even if I try to debug code by putting breakpoint, then after few steps it show Hexadecimal codes
I wont be able to put sample code as it is a whole project containing lot of files.
Can you please let me know what kind of approach has been used? It looks like some sort of encapsulation.
Thanks!
Write categories that implement the
- (NSString* ) descriptionmethod for each custom object that displays all variables the custom obejects hold, you can there translate each of the enum values to strings. Then you can use NSLog to output objects and get readable results.