Structure, with the same name as a Core Data object type?

Viewed 2260

Can I have a structure with the same name as a Core Data object type? If so, how do I differentiate between the two in code?

Edit: For example, I have a Track core data object, and when I read in "track" information externally, it comes in via json. Instead of using the core data object, since its a managed object, I'm using another structure. I was planning on naming this Track as well, however this may result in conflicts which I'm not sure about, so at present I've called it TrackStruct instead. Also, is this the right approach?

Thanks!

2 Answers
Related