Skip to content

Instantly share code, notes, and snippets.

@jrcryer
Created July 10, 2015 14:13
Show Gist options
  • Select an option

  • Save jrcryer/4ad2d74d94339eece02a to your computer and use it in GitHub Desktop.

Select an option

Save jrcryer/4ad2d74d94339eece02a to your computer and use it in GitHub Desktop.

Revisions

  1. jrcryer created this gist Jul 10, 2015.
    13 changes: 13 additions & 0 deletions KizuWifiIcon.h
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    //
    // KizuWifiIcon.h
    // Kizu
    //
    // Created by James Cryer on 13/06/2015.
    // Copyright (c) 2015 KIZU Ltd. All rights reserved.
    //

    #import <UIKit/UIKit.h>

    @interface KizuWifiIcon : UIView

    @end
    11 changes: 11 additions & 0 deletions KizuWifiIcon.m
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    #import "KizuWifiIcon.h"
    #import "KizuIcons.h"

    @implementation KizuWifiIcon

    - (void)drawRect:(CGRect)rect
    {
    [KizuIcons drawWifiWithRect:rect];
    }

    @end
    9 changes: 9 additions & 0 deletions METHODS
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    + (void)drawLargeBrushWithFrame: (CGRect)frame;
    + (void)drawMediumBrushWithFrame: (CGRect)frame;
    + (void)drawSmallBrushWithFrame: (CGRect)frame;
    + (void)drawAnnotationWithFrame: (CGRect)frame;
    + (void)drawTextWithFrame: (CGRect)frame;
    + (void)drawDeleteWithFrame: (CGRect)frame;
    + (void)drawEraseWithFrame: (CGRect)frame;
    + (void)drawAddWithFrame: (CGRect)frame;
    + (void)drawUndoWithFrame: (CGRect)frame;