Latest 1.0.6
Homepage https://github.com/moosefactory/MFCocoaExtras
License MIT
Platforms ios 7.0, osx 10.6, requires ARC
Authors

MacDown logo

Utility Framework for iOS or MacOS

This is a compilation of some of commonly used codes over the years.
Feel free to contact me by email at [email protected]

Cheers :)

Tristan Leblanc – MooseFactory Software
https://www.moosefactory.eu


USAGE

To use MFCocoaExtras in your project, add #import <MFCocoaExtras/MFCocoaExtras.h> in the precompiled headers (.pch file) or in the file where you need the class or method.

DISCLAIMER

Not everything is documented and tested yet.
Work is in progress. This disclaimer should disapear quite soon ;)


Table of Content


MFCocoaExtras**

CocoaTouch+Extras

  • UIBarButtonItem+Extras

    • barButtonItemWithImage
  • UIButton+Extras
    • title
    • image
    • setTitle
    • setImage:
    • setTitleColorForAllStates:
    • setTitleForAllStates:
    • setImageForAllStates
  • UIView+Extras
    • imageCropped:
    • imageRotated:
    • imageRotatedByDegrees:
    • imageFromView:
    • drawCenteredOnPoint
    • tintedImageWithColor
    • tintedImageWithColor
  • UIView+Extras
    • removeAllSubviews:
    • moveByY:
    • moveByX:
    • moveByX:Y:
    • moveByPoint
    • addInViewAndResize
    • snapshot
    • saveSnapshotToRoll
  • NSString+MFExtras
    • UUIDString
    • md5
    • sha1
    • isValidEmail:
    • isValidName
    • urlEncode
    • urlDecode

Graphics

  • CGExtras
    MFNSUITypes
    NSUIColor-Extras

Security

MFSecurity
copy_mac_address
AppleRootCA
check_code_signature

Installation

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

pod ‘MFCocoaExtras’

Author

Tristan Leblanc [email protected]

Twitter : https://www.twitter.com/tristanleblanc
Google+ : https://plus.google.com/+TristanLeblanc

Link for recruiters ( Online Resume ) : http://tristan.moosefactory.eu


Contribute

If you wish to contribute, check the CONTRIBUTE file for more information.


License

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


Preliminary document – Updated 03/14/2016

Latest podspec

{
    "name": "MFCocoaExtras",
    "version": "1.0.6",
    "summary": "MFCocoaExtras is a cross-platofrm (iOS/MacOS) Utility Library.",
    "description": "MFCocoaExtras is a cross-platofrm (iOS/MacOS) Utility Library build on Cocoa or CocoaTouch (UIKit) frameworks.nIt includesn- Convenient extras ( categories ) on some Cocoa classesn- Graphics Utilitiesn- Security",
    "homepage": "https://github.com/moosefactory/MFCocoaExtras",
    "license": "MIT",
    "authors": {
        "Tristan Leblanc": "[email protected]"
    },
    "source": {
        "git": "https://gitlab.com/MooseFactorySoftware/MFCocoaExtras.git",
        "tag": "1.0.6"
    },
    "social_media_url": "https://twitter.com/moosefactory_eu",
    "platforms": {
        "ios": "7.0",
        "osx": "10.6"
    },
    "requires_arc": true,
    "ios": {
        "source_files": [
            "MFCocoaExtras/*",
            "MFCocoaExtras/Sources/*",
            "MFCocoaExtras/Sources/Graphics/*",
            "MFCocoaExtras/Sources/CocoaExtras/*",
            "MFCocoaExtras/Sources/Security/*",
            "MFCocoaExtras/Sources/Views/*",
            "MFCocoaExtras/Sources/CocoaTouch+Extras/*"
        ],
        "frameworks": "SystemConfiguration"
    },
    "osx": {
        "source_files": [
            "MFCocoaExtras/*",
            "MFCocoaExtras/Sources/*",
            "MFCocoaExtras/Sources/Graphics/*",
            "MFCocoaExtras/Sources/CocoaExtras/*",
            "MFCocoaExtras/Sources/Security/*",
            "MFCocoaExtras/Sources/Views/*"
        ],
        "frameworks": "SystemConfiguration"
    }
}

Pin It on Pinterest

Share This