Skip to content

Instantly share code, notes, and snippets.

@z5ottu
Last active February 11, 2016 09:45
Show Gist options
  • Save z5ottu/3e7ff2420f4e3c21ced5 to your computer and use it in GitHub Desktop.
Save z5ottu/3e7ff2420f4e3c21ced5 to your computer and use it in GitHub Desktop.
//
// CustomTab.h
//
// Created by z5ottu Szloboda Zsolt on 10/02/16.
// Copyright © 2016 z5 tech. All rights reserved.
//
// compatibility: ios8, ios9
#ifndef CustomTab_h
#define CustomTab_h
#import <UIKit/UIKit.h>
@interface CustomTab : UITabBarController <UITabBarControllerDelegate>
@property (weak, nonatomic) IBOutlet UITabBar *tabBar; // Bind to tabbarcontroller's uitabbar element on the storyboard!
- (UIImage *)imageFromColor:(UIColor *)color setwidth:(CGFloat)width setheight:(CGFloat)height;
@end
#endif /* CustomTab_h */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment