-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hooked up delegate calls & changed DetailViewController lifecycle. (#22)
* Hooked up delegate protocol Added calls to cardWillShowDetailView, cardDidShowDetailView, cardWillCloseDetailView, cardDidCloseDetailView * Removed duplicate call to cardDidTapInside * detailView lifecycle changes. DetailViewController now owns only reference to the detailView. Removed reference to it from Card class. All DetailViewController setup happens inside of Card.shouldPresent call. Removed setup from Card.cardTapped() call. Changed how the card.backgroundIV is hooked upto the scrollView in DetailViewController.
- Loading branch information
1 parent
de0765e
commit 35412e4
Showing
3 changed files
with
19 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters