VoovilSideMenu for iOS 7 and XCode 5
Note: This is my first project on Github!
VoovilSideMenu is a simple SideMenu for iOS 7 Apps. This app uses ARC, Storyboards, it's works fine with Swipe Gesture and IBAction button. I have use Modern Objective-C, so you can easily add items to tableview with .plist. The picture will be automatically rounded with CAlayer.
Screenshot
[email protected] or visit Codecanyon - Sale $8)
Normal Github version (Free) | Pro Version (Contact me:How-To
You can set the width on the storyboard, the functions Show/Hide are set with **sideMenu.frame** and **menuTable.frame**. Change the SideMenu width
I have set the CornerRadius to 60.0 because the picture size on the storyboard is 120px. Change the picture size
Example:
You change the size of the picture with storyboard to 220px, than you have to change the
[imageLayer setCornerRadius:60.0];
"60.0" to 110.0.
I have use a custom seperator for the tableview with CAlayer. You can change the size, width and the color of the seperator as follow: Change the seperator
separator.backgroundColor = [UIColor colorWithRed:255/255.0f green:255/255.0f blue:255/255.0f alpha:0.25].CGColor;
separator.frame = CGRectMake(31, 43, 200, .5);
Change the row height
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
You can use Action to didselectrow
if (indexPath.row == 0)
in
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
Example
if (indexPath.row == 0) {
NSLog(@"Pressed 0");
}
if (indexPath.row == 1) {
NSLog(@"Pressed 1");
}
if (indexPath.row == 2) {
NSLog(@"Pressed 2");
}
Support me
Donation are recommended
Visit my Website for Tutorials, Sample projects and more!