Skip to content

Instantly share code, notes, and snippets.

View aaronshekey's full-sized avatar

Aaron Shekey aaronshekey

View GitHub Profile
aaronshekey / commonInit.m
Last active May 22, 2019 12:50
Common initialization methods for a custom view in Objective C
- (void)commonInit
CGRect rect = self.frame;
// Top Handle Drawing
UIBezierPath* topHandlePath = [UIBezierPath bezierPathWithOvalInRect: CGRectMake(CGRectGetMinX(rect), CGRectGetMinY(rect), 8, 8)];
[UIColor.hum_recordingColor setFill];
[topHandlePath fill];
// Bottom Handle Drawing