I am just setting up a simple library application, basically a collection of "Members" and a collection of "Books". My idea was to implement both of these as NSMutableArrays so that I could easily add and remove objects. What I would like to ask is what is the best way to implement the link between a "Member" and a "Book" when they take a book out of the library?
Initially for simplicity I was thinking of limiting each member to withdrawing only a single book at a time, but I would be interested in ideas to represent multiple book withdrawals too.
EDIT
Can I just ask if the correct way to do this would be to create a "Library" object as a top level object that holds the "Book" and "Member" collections. I was just thinking about this as otherwise these would need to be created in main() which seems a little un-object oriented.
many thanks for any help / info.
gary