SMW 0.1.0

SMW 0.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jan 2015

Maintained by Sam Meech-Ward.



SMW 0.1.0

  • By
  • Sam Meech-Ward

Just some global functions I find useful sometimes. Also I wanted to practice making a cocoapod.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

#import <SMW/SMW.h>

// Like NSLog but better
SMWLog(args...)

// Check if the device is an ipad
BOOL deviceIsiPad();

// Remove any implicit animations
// Example: Change the frame of a CALayer without it animating
void unAnimateBlock(void (^block)(void));

// Log a CGRect
void printFrame(CGRect frame);

Requirements

Installation

SMW is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SMW"

Author

Sam Meech-Ward, [email protected]

License

SMW is available under the MIT license. See the LICENSE file for more info.