1

Sorry if this been answered before, but i can't find an answer here.

How do I store a CMTime value using CoreData?

Thanks in advance.

Erik
  • 5,791
  • 5
  • 30
  • 45

1 Answers1

3

Convert it to a dictionary and store the dictionary representation.

CMTimeCopyAsDictionary and CMTimeMakeFromDictionary

tidwall
  • 6,881
  • 2
  • 36
  • 47
  • This sounds very interesting, will look into it tomorrow before I approve your answer. Thanks :) – Erik Feb 14 '12 at 15:06
  • How do you save dictionary representation in coredata? – Or Ron Apr 22 '12 at 16:25
  • 1
    @Or.Ron, check out this post http://stackoverflow.com/questions/1562676/best-practice-array-dictionary-as-a-core-data-entity-attribute – tidwall Apr 23 '12 at 18:48