FROM : I. Savant
DATE : Mon Apr 21 13:02:16 2008
> I know how to create a NSFetchRequest on a transaction object but I
> am unsure on how to create the NSPredicate object to extract all the
> transactions that were created prior to the current transaction.
How about consulting the documentation?
Fetching (trust me - re-read this)
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdFetching.html
Predicates Programming Guide (useful for the future, but probably not
needed in your case right now)
http://developer.apple.com/documentation/Cocoa/Conceptual/Predicates/predicates.html
> I am trying to figure out how to calculate a running total using
> core data.
Keep this in mind:
Set & Array Operators (directly relevant)
http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/ArrayOperators.html
Interestingly, the example used in the above is similar to what
you're doing ...
--
I.S.
DATE : Mon Apr 21 13:02:16 2008
> I know how to create a NSFetchRequest on a transaction object but I
> am unsure on how to create the NSPredicate object to extract all the
> transactions that were created prior to the current transaction.
How about consulting the documentation?
Fetching (trust me - re-read this)
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdFetching.html
Predicates Programming Guide (useful for the future, but probably not
needed in your case right now)
http://developer.apple.com/documentation/Cocoa/Conceptual/Predicates/predicates.html
> I am trying to figure out how to calculate a running total using
> core data.
Keep this in mind:
Set & Array Operators (directly relevant)
http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/ArrayOperators.html
Interestingly, the example used in the above is similar to what
you're doing ...
--
I.S.
| Related mails | Author | Date |
|---|---|---|
| Felix Rodriguez | Apr 21, 10:06 | |
| I. Savant | Apr 21, 13:02 | |
| Keary Suska | Apr 21, 17:33 | |
| I. Savant | Apr 21, 18:07 |






Cocoa mail archive

