arrays - Objective-C: Comparing user input with object's instance variable -
i have been learning objective-c while, , decided try , take on little bigger project without real "guidelines" in learning books have got stuck. what i'm trying helping friend digitalising few documents have, creating searchable commandline-tool these documents. i think have gotten pretty far, have created custom class documents 3 variable; name of author, number of article , path file on computer (which of course change place have documents stored on computer). have created 2 example documents variables filled in. since documents have 2 properties, numbers , name of author, user may search 1 of these properties. therefore separated input of user either string or int (with of stack overflow post: how determine if first character of nsstring letter ) created array 'author'-variable's of different documents. this have hit bump: want run through array of 'author' , if author's name match user have put in, open document @ path given @ '