Comments (6)
@balistrerin not quite. [[NSBundle mainBundle] pathForResource:]
is only for finding files in the application bundle. If you want a file on your desktop, you would just write:
NSString *filePath = @"/Users/mycomputer/Desktop/foo.xml";
The rest is correct.
from xmldictionary.
Ah thank you so much. That was it. So I now have another issue where when I:
NSLog(@"Output: %@", frame);
I have 960 frames but it is only printing out the first 87 frames. Is there any reason why that could be happening?
from xmldictionary.
if "frame" is an array, xcode might just be truncating it when it prints. Try:
NSLog(@"frame count %i", frame.count);
from xmldictionary.
If not, it's possible that there is an error in the xml file around node 88 (e.g a missing tag), and so the parser is stopping at that point.
from xmldictionary.
Naw it was just truncating. When i did the count i got 960 frames. Thanks for the help man I really appreciate it..epic XMLDictionary.
from xmldictionary.
👍
from xmldictionary.
Related Issues (20)
- CocoaPods support? HOT 5
- problem with empty elements
- closed
- Fail to parse CData HOT 2
- Odd behaviour in processing certain nodes. HOT 1
- XMLDictionary Crashing when being used within NSURLSessionDataTask Completion block
- If XML Data has XML declarations, boom!
- support for watchos2 (pod) HOT 3
- tvos support HOT 1
- Attribute parsing for XML response HOT 1
- Issue in parsing an array from XML
- XMLString returning plist HOT 4
- XMLDictionary.m:130:67: Multiple methods named 'count' found with mismatched result, parameter type or attributes. HOT 2
- XMLDictionary should handle NSXMLParser Errors
- How to create null node by XMLString Method
- Handle invalid xmlChar HOT 2
- accidental post... :(
- parser less HOT 3
- How to convert Dictionary to XML HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmldictionary.