haw i can show object in pdf
i try parse my pdf file to  get all the  object with this function


>  void ListDictionaryObjects (const char *key, CGPDFObjectRef object,
> void *info) {
>     NSLog(@"key: %s", key);
>     CGPDFObjectType type = CGPDFObjectGetType(object);
>     
>     
> 
>     switch (type) { 
>        
>         case kCGPDFObjectTypeDictionary: {
>             CGPDFDictionaryRef objectDictionary;
>             if (CGPDFObjectGetValue(object, kCGPDFObjectTypeDictionary, &objectDictionary)) {
>               //  CGPDFDictionaryApplyFunction(objectDictionary, ListDictionaryObjects, NULL);
>                 
>                 
> 
>                    NSLog(@"pdf Dictionary value: %ld",(long int)objectDictionary);
>             }
>         }
>             
>         case kCGPDFObjectTypeInteger: {
>             CGPDFInteger objectInteger;
>             if (CGPDFObjectGetValue(object, kCGPDFObjectTypeInteger, &objectInteger)) {
>                 NSLog(@"pdf integer value: %ld", (long int)objectInteger); 
>             }
>             
>        }   case kCGPDFObjectTypeStream: {
>     CGPDFInteger objectStream;
>     if (CGPDFObjectGetValue(object, kCGPDFObjectTypeStream, &objectStream)) {
>         NSLog(@"pdf stream value: %ld", (long int)objectStream); 
>     }
>      }     
>     }     }


but i not work form me
haw i can show object in pdf
===

i try parse my pdf file to  get all the  object with this function


>  void ListDictionaryObjects (const char *key, CGPDFObjectRef object,
> void *info) {
>     NSLog(@"key: %s", key);
>     CGPDFObjectType type = CGPDFObjectGetType(object);
>     
>     
> 
>     switch (type) { 
>        
>         case kCGPDFObjectTypeDictionary: {
>             CGPDFDictionaryRef objectDictionary;
>             if (CGPDFObjectGetValue(object, kCGPDFObjectTypeDictionary, &objectDictionary)) {
>               //  CGPDFDictionaryApplyFunction(objectDictionary, ListDictionaryObjects, NULL);
>                 
>                 
> 
>                    NSLog(@"pdf Dictionary value: %ld",(long int)objectDictionary);
>             }
>         }
>             
>         case kCGPDFObjectTypeInteger: {
>             CGPDFInteger objectInteger;
>             if (CGPDFObjectGetValue(object, kCGPDFObjectTypeInteger, &objectInteger)) {
>                 NSLog(@"pdf integer value: %ld", (long int)objectInteger); 
>             }
>             
>        }   case kCGPDFObjectTypeStream: {
>     CGPDFInteger objectStream;
>     if (CGPDFObjectGetValue(object, kCGPDFObjectTypeStream, &objectStream)) {
>         NSLog(@"pdf stream value: %ld", (long int)objectStream); 
>     }
>      }     
>     }     }


but i not work form me