Added EGORefreshTableHeaderView.h and .m files for the refresh code. Also added the assets that accompany it.
Added EGORefreshTableHeaderView.h and .m files. Attempted to implement the classes. It's not working. Right now, when I change the color of the header view itself in "loadView" in KSRootViewController, the color doesn't even show up. The view itself for some reason is not even appearing? Will troubleshoot further.
Implemented iOS6 UIRefreshControl for UITableViewController in KSRootViewController. The UX works now…you can pull to refresh, however, the tableView is not updating with the new data saved in the data model (see refreshControlValueChanged - action method triggered by refreshControl when user pulls down). NSLoging in refreshControlValueChanged method verifies: 1. method is being called by refreshControl and 2. a random new story is being saved to sharedStories data model singleton. Seems to be an issue with [self.tableView reloadData] call.
Removed EGORefresh .h and .m files that had ARC junk that would not let it compile
Added shareButton code to KSStoryDetailViewController. Share Button appears after the last photo swipes through. Also added the stubbed out view controller class files for the final filtered photo set (the content to be shared). Called this KSFinalPhotoSetViewController.
Big check-in! Subclassed NSObject to hoid a single UIImage and typedef enum state information in KSPhoto. KSStory now holds a storyTitle string as well as an array of KSPhotos. Updated the KSStory methods to comply with new KSPhoto class. Then updated KSDataLogging with a cool set of nested for loops to fill the data model with sample stories. Scales nicely to more stories as need be. Lastly, updated KSStoryDetailViewController to read from the new data model methods properly in KSStory. Next workitem: continue updating PhotoStackView library to detect when swipe a photo left or right then change state of the photo object accordingly per the typedef enum in KSPhoto.
Updated KSStory with a simple method that returns the KSPhoto object at an index. Created KSPhotoSetViewController UITableViewController to display the final photo set. Cleaned up KSDataLogging of some random old crusty commented-out code.
Created a property for a KSStory on the PhotoStackView class. Used the passed in KSStory from the StoryDetailViewController to set the correct enum in the left/right gesture switching code in PhotoStackView class.
Epic check-in! So happy :) Figured out how to push the FinalPhotoSetViewController, which is a tableView, onto the navigation stack after the final photo has been flicked away. Also have a "Share" button on there as well.Updated all the relevant files to comply with this UX.
Struggling with getting the photos that are swiped right to display in KSFinalPhotoSetViewController. Perhaps I am setting the typedef enum state wrong for each KSPhoto? Perhaps it's not saving correctly in my data model such that when I try to present it in KSFinalPhotoSetViewController it doesn't show up? Perhaps the finalStory object in KSStoryDetailViewController, which is passed to KSFinalPhotoSetViewController is incorrectly generated? The TableView methods in KSFinal… seem perfectly fine (I modeled them after KSRootViewController after all). On the bright side, I finally figured out how to do the UIRefreshController (thanks to Mehul's tip) in KSRootViewController. Basically, I needed to move the refreshControl to the init method. That way, it is presented and initialized first, then the rest of the tableview.  Added a few methods to the KSStory model to count-up the number of KSPhotos in a KSStory that are swiped left/right/not swiped per the typedef. Also added a method in KSStory model to output in an NSArray all the KSPhotos that are of a certain state (swiped left, right, etc.) per the typedef enum.