title: Parse PDF content stream as a string in xCode?
body: <p>I am trying to get the contents stream out of a PDFs internal structure using xCode.
  I have managed to get to the array of contents using:</p>
  
  <p>CGPDFDictionaryGetArray(str, "Contents", &amp;val)</p>
  
  <p>Then counting the amount of objects within the array, its returning 8 which is far less than shown in Acrobat Pro.</p>
  
  <p>The objects with in the array seem to be of type kCGPDFObjectTypeStream, not sure what I can do with this.</p>
  
  <p>Any help would be much appreciated, many </p>
  
  <p>thanks,
  Jacob</p>