Sign in

IRSticker-swift — is a powerful sticker for iOS

Screenshots


Screenshots

Look at my face! The stickers are there.

Features

  • Support face sticker.
  • Support GPUImage.

Future

  • Support more customized settings.

Install

  1. Git clone this project.
  2. Copy this project into your own project.
  3. Add the .xcodeproj into you project and link it as embed framework.
  • Options: You can remove the “demo” and “ScreenShots” folder.
Add "pod IRCameraSticker" in the Podfile
pod install

How does it work?


Today I’m gonna introduce a test tool to you.

Appium

Appium is an open source test automation framework for use with native, hybrid and mobile web apps. It drives iOS, Android, and Windows apps using the WebDriver protocol.

There are two ways to download the server side of Appium:

  1. Directlydownload:Github

2…


IRSingleButtonGroup — A powerful buttons group framework for iOS

IRSingleButtonGroup

Features

  • Single Button Selection.
  • Single Button Selection Demo: Deselect able.
  • Multi Buttons Selection.

Install

Cocoapods

  • Add pod 'IRSingleButtonGroup' in the Podfile
  • pod install

Usage

  • more examples in the demo applications.

Basic

IRSingleButtonGroup* singleButtonGroup = [[IRSingleButtonGroup alloc] init];
singleButtonGroup.buttons = @[self.button1, self.button2, self.button3];
singleButtonGroup.delegate = self;
#pragma mark - SingleButtonGroupDelegate
- (void)didSelectedButton:(UIButton *)button {
NSLog(@"Button%ld", button.tag);
}
- (void)didDeselectedButton:(UIButton *)button {
NSLog(@"Button%ld", button.tag);
}

Advanced settings

singleButtonGroup.canMultiSelected = NO;
singleButtonGroup.canSelectWhenSelected = YES;
[singleButtonGroup setInitSelected:0];

Screenshots


IRDataPicker — A powerful data picker framework for iOS

IRDataPicker

This project is copy and change from PGDatePicker. Implemet custom data picker.

Features

  • Date picker.
  • Custom data picker.

Install

Cocoapods

  • Add pod 'IRDataPicker' in the Podfile
  • pod install

Usage

  • more examples in the demo applications.

Basic

#import <IRDataPicker/IRDataPicker.h>IRDataPicker *datePicker = [[IRDataPicker alloc]init];
[self.view addSubview:datePicker];
datePicker.selectedDate = ^(NSDateComponents *dateComponents) {
NSLog(@"dateComponents = %@", dateComponents);
};

Advanced settings

IRDataPickerManager *datePickManager = [[IRDataPickerManager alloc]init];
IRDataPicker *datePicker = datePickManager.datePicker;
datePicker.showUnit = IRShowUnitTypeNone;
datePicker.isHiddenMiddleText = NO;
UIColor *headerColor = [UIColor redColor];datePickManager.titleLabel.text = @"";
//设置半透明的背景颜色
datePickManager.isShadeBackgroud = true;
//设置头部的背景颜色
datePickManager.headerViewBackgroundColor = headerColor;
//设置线条的颜色
datePicker.lineBackgroundColor = headerColor;
//设置选中行的字体颜色
datePicker.textColorOfSelectedRow = headerColor;
//设置未选中行的字体颜色
datePicker.textColorOfOtherRow = [UIColor blackColor];
//设置取消按钮的字体颜色
datePickManager.cancelButtonTextColor = [UIColor whiteColor];
//设置取消按钮的字
datePickManager.cancelButtonText = @"Cancel";
//设置取消按钮的字体大小
datePickManager.cancelButtonFont = [UIFont boldSystemFontOfSize:17];
//设置确定按钮的字体颜色
datePickManager.confirmButtonTextColor = [UIColor whiteColor];
//设置确定按钮的字
datePickManager.confirmButtonText = @"Done";
//设置确定按钮的字体大小
datePickManager.confirmButtonFont = [UIFont boldSystemFontOfSize:17];

Screenshots


IRPopupMenu

This project is copy and change from YBPopupMenu. Implemet custom arrow icon.

  • Custom popupMenu

效果图


IRCustomIconButton

Install

Git

  • Git clone this project.
  • Copy this project into your own project.

Donwload

  • Download IRCustomIconButton.h and IRCustomIconButton.m.
  • Copy these two files into your own project.

Usage

@property (nonatomic, assign) IBInspectable UIViewContentMode imageViewContentMode;

  • Set UIViewContentMode to the imageView of button.

@property (nonatomic, assign) IBInspectable NSInteger iconContentMode;

  • Set iconContentMode to button.
typedef NS_ENUM(NSInteger, IconContentMode) {
IconContentModeCenter = 0,
IconContentModeLeft,
IconContentModeRight
};

@property (nonatomic, assign) IBInspectable CGSize iconSizePersent; // >0

  • Set iconSizePersent to button.

@property (nonatomic, assign) IBInspectable CGFloat cornerRadius;

  • Set cornerRadius to button.

@property (nonatomic, assign) IBInspectable CGFloat borderWidth;

  • Set borderWidth to the border of button.

@property (nonatomic, strong) IBInspectable UIColor *borderColor;

  • Set UIColor to the border of button.

@property (nonatomic, assign) IBInspectable CGFloat titleEdgeTop;

@property (nonatomic, assign) IBInspectable CGFloat titleEdgeLeft;

@property (nonatomic, assign) IBInspectable CGFloat titleEdgeBottom;

@property (nonatomic, assign) IBInspectable CGFloat titleEdgeRight;

  • Set titleEdge to button.

IRSticker — A powerful sticker for iOS

IRSticker

Features

  • Customize your stickers image.
  • Customize your sitcker functions, max to 4.
  • Default functions support:
  • Delete
  • Flip
  • Move back to center of main view
  • Scale and move

Install

Git

  • Git clone this project.
  • Copy this project into your…

IRHierarchyTreeTableView — A powerful hierarchy tree for iOS

IRHierarchyTreeTableView

Features

  • Clear component of Hierarchy Tree.
  • Fold and expand smoothly.
  • Friendly UI.

Install

Git

  • Git clone this project.
  • Copy this project into your own project.
  • Add the .xcodeproj into you project and link it as embed…

  • IRShareManager is a easy framework for deal with share files between the share extension and main app.

Features

  • Easy to share files into main app by Share Extension.

Install

Git

  • Git clone this project.
  • Copy this project into your own project.
  • Add the .xcodeproj into you project and link it as embed framework.

Irons163

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store