Initial Commit
Massive commit with a brand new underlying project. Basic new game functionality and basic score board UI is in place. Still need to hook up the score keeping logic.
Added in .gitignore again.
Fixed a nib loading crash.
increment decrement logic and basic ui
prelimiary scorboard setup
scoreboard scor asset
total score added
score cell prelim setup
Refactored and fleshed out the new game modal view. Additions include transitioning from free floating view controller objects to a collection view with each new player added as a cell. Added a new player button which increments the number of players up to the max. Add player button will become disabled after max and will become reenabled after number of players drops below max. Removing players can be done by tapping the x by them. The first two can not be deleted. Default names are given to all players. If a player is deleted we check to see if the other players names have been edited otherwise we update their default names to reflect their new positions. Tapping on the cell itself allows you to edit the player name and tapping anywhere else gets you out of edit mode and resigns the keyboard. View now supports all orientations aside from the uidynamics darts.
Quick and dirty fix for uidynamics on the new game view. Should probably look for something a little more elegant. Build more of a framework out of it.
Fixed weird bug where new game won't work.
closing out and end game logic added
Fixed bug where player names would get messed up upon editing a cell.
Made the score board view layout according to interface orientation. Unforuntately I had to use two hardcoded values for the tableview height, one for portrait height and one for landscape height. I dont see a way around this as the tableview height uses autoresizing mask. As far as I know there is no way of knowing its height as the cell is being created, which is when I need it.
Instead of using the data source to provide the score template, we are now using supplementary views. I put in a ton of logic to optimize appearance based on the number of players. This con be tweaked later on by updating constants in the app. I did have to do one unfortunate thing due to the same problem that drove me to put constants in for the tableview height in the last commit, only this time I couldn't get around the problem with delegation. The end result is that there are two nib files for the supplementary view, one for landscape and one for portrait. There was no way for me to tell how big the cells should be from within the supplementary view and delegation was not working as my delegate was always nil no matter when or where I set it. The data source flush methods need to be cleaned up and the logic surrounding it needs to be updated.
Fixed a bug involving the first responder on the new game view controller.
Fixed yet another bug on the new game view controller having to do with the tap gesture on the main view.
Put basic code in place to make sure that players names are unique. Did not test it thoroughly but happy path is working.
disable highlighting cell and return remove keyboard