Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 396 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 396 Bytes

UIImage-Symmetric

UIImage category for images assets that are symmetric.

Remember to slice your image to half ( vertically or horizontally).

Usage

UIImage *image = [UIImage symmetricImageNamed:@"sym_half.png" horizontalSplit:NO]; // Vertical sliced

UIImage *image2 = [UIImage symmetricImageNamed:@"sym_half.png" horizontalSplit:YES]; // Horizontal sliced