Added button to redeal cards while resetting score. Actually it just recreates the model.
Question: Should the previous model should be released explicitly?
Add (UI) segmented control for user to specify match mode - 2 or 3 card match.
Included logic to enable match mode selection only prior to start of game (1st card selection)
Implemented logic for 2 or 3 card matching mode.
TODO:
 1) Enhance to show display result of last operation as text on screen
 2) Increase number of cards
 3) Improve UI - use images for the switch controls
Added protocol (CardGameNotifications) for CardMatchingGame to notify the impact of a card selection to caller (controller)
CardMatchingGame - reworked part of logic for score calculation to track intermediate score prior to selecting all cards for calculating match.

ViewController:
 - Added interpretation of CardGameNotification and display on screen.
 - TODO: refine placement.
Re-orderd layout to place all options and info display above the cards.
Also resolved all layout warnings
I thought I had taken care of this in the previous commit. Weird! - I am not trying to understand the xml of the storyboard yet :)
Re-orderd layout to place all options and info display above the cards.
Also resolved all layout warnings
Increased cards displayed to 30 and refined layout for that.
Reduced font of card text and increased width to avoid text truncation "1..." for "10♠"
I thought I had already included this change in previous commit.
Basically reduced font size on card to 20 and increased card width to 48
Corrected logic for calculating match. Was incorrectly referring directly to match version in card instead of local version in CardMatchingGame (that includes the weights). Should consider changing local version name to weightedMatch.
Included using diff images (sizes) for app icons for diff devices and spotlight search.
Removed images from root folder as they are copied and included in Images.xcassets folder - Still there may be value in creating and storing these files in a separate images folder. Note storing unused files in Images.xcassetsAppiconset.appiconset folder gives warning about images not assigned.

Fixed conversion warnings from NSInteger to int and use of explicit long conversion while passing NSInteger into (NSString) format strings.
Merge pull request #3 from ParmeshwarBayappu/assignment2

Assignment2