Twitter Style Template for iPad - iOS 6
Overview
iPad catalogue project is a demo application for creating views like twitter for iPad, this project is only for iPad and comes in 2 version ARC and NON-ARC.
iPad catalogue is a simple way to present a sliding view interface similar to Twitter's iPad App.
It comprises of three classes:
RootViewController
MenuViewController
TwitterLikeViewController.
This control supports:
Orientation (both Landscape & Portrait)
Swipe Gestures
Bouncing Effect Create your twitter like catalogue in a minute with this amazing mobile app component.
Don't waste your time coding it from scratch.
Workflow video: http://vimeo.com/34739987
Adding views video: http://vimeo.com/34740383
First Option:
Start from the TwitterLike Xcode project and just add your own Views & Controllers. For pushing a view from Menu go to didSelectRowAtIndex method of MenuViewController and initiate your controller there.
Next step is to pass your controller object to this method of
TwitterLikeViewController Class: -‐ (void) addViewInSlider:(UIViewController*)controller invokeByController:(UIViewController*)invokeByController isStackStartView:(BOOL)isStackStartView;
Where controller = your controller object, invokeByController = self, isStackStartView = YES For pushing View into subsequent screens, the procedure is the same but only for the value of isStackStartView = NO
Second Option:
To add this wonderful control in your own project.
Step 1: Go to the Source Folder and Add RootViewController, MenuViewController & TwitterLikeViewController files to your Xcode project. Compile the project and make sure no error occurs.
Step 2: Copy the /Resources and /Extension for using default icon and the shadow effect of overlay conrollers.
Step 3: Find the viewDidLoad method in MenuViewController and initialize the menuItems array according to your requirements of number of items in the main menu.
Step 4: Find the cellForRowAtIndexPath method in MenuViewController and customize the look an feel of your items in the main menu
Step 5: Find the didSelectRowAtIndexPath method in MenuViewController and initiate your controller there. Next step is to pass your controller object to this method of TwitterLikeViewController Class: -‐ (void) addViewInSlider:(UIViewController*)controller invokeByController:(UIViewController*)invokeByControll er isStackStartView:(BOOL)isStackStartView;
Parameters: -‐ controller : object of a controller whose view should be added -‐ invokeByController: object of a controller from where it has been invoked -‐ isStackStartView : set this to TRUE/YES if you need to place this controller's view at very first position (Note: all the other view in view stack will be removed), set this to FALSE/NO if you need to place this controller's view in stack hierarchy
Step 6: For pushing View into subsequent screens, the procedure is the same but only for the value of isStackStartView = NO
Note: For further help get guidance from inline comments and the sample project
More item by Chupa Team
RSS reader
Google Maps
Hotel App Template
