CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

MAPuzzleShapeView 0.0.2

MAPuzzleShapeView 0.0.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Ardelean Madalina.



  • By
  • Madalina Ardelean

A rectangular view with puzzle shapes drawn on different sides.

Installation

Drag and drop MAPuzzleShapeView.h/m into your project.

Usage

CGRect frame = CGRectMake(0.f, 0.f, 200.f, 100.f);

MAPuzzleShapeView puzzleShapeView = [[MAPuzzleShapeView alloc] initWithFrame:CGRectZero];
puzzleShapeView.shapeLength = 30.f;
puzzleShapeView.shapeAlignment = UIViewShapeAlignmentOnX;
puzzleShapeView.backgroundColor = [UIColor lightGrayColor];

[self.view addSubview:puzzleShapeView];

Screenshots

Screenshot Screenshot