This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* If you need to use **different decoders (JSON, URL, XML, etc)** with Alamofire, | |
the best and simplest way I found was using [XMLCoder][1]. | |
- **Alamofire 5** | |
- **Swift 5** | |
------------------- | |
*/ | |
[1]: https://github.com/MaxDesiatov/XMLCoder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void enumeratesDictionaryValues(const char *key, CGPDFObjectRef object, void *info) | |
{ | |
NSLog(@"---------- key ------ %s ---------------", key); | |
CGPDFObjectType type = CGPDFObjectGetType(object); | |
switch (type) | |
{ | |
case kCGPDFObjectTypeString: | |
{ | |
CGPDFStringRef objectString; | |
if (CGPDFObjectGetValue(object, kCGPDFObjectTypeString, &objectString)) |