Latest 0.5.1
Homepage https://github.com/whalefood/WFImagePickerPlus
License MIT Copyright (c) 2013 Jonah Wallerstein

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Platforms ios 5.0, requires ARC
Authors

A simple extention to the UIImagePickerController to allow an extra "gallery" source type.
The gallery is made to look similar to Apple’s interface for picking a photo from your library, but allows the program to specify the image options.

There’s no lazy loading implimented with the gallery, so having a huge number of images may hurt performance.
For a higher perfance grid control, I’d recommend looking at https://github.com/AlanQuatermain/AQGridView/

Licence: MIT-Licence

Usage

The sample project should be mostly self explanitory.

There are two protocols involved: WFImagePickerControllerGalleryDataSource and WFImagePickerControllerPlusDelegate.

Implementing WFImagePickerControllerPlusDelegate allows your class to respond to events when an image is picked or the user cancels.

Implementing WFImagePickerControllerGalleryDataSource allows you to specify how many and which images are shown in the gallery.

Acknowledgements

Some pieces of code borrowed from https://github.com/jeena/JPImagePickerController

Latest podspec

{
    "name": "WFImagePickerPlus",
    "version": "0.5.1",
    "summary": "A simple extention to the UIImagePickerController to allow an extra gallery source type.",
    "homepage": "https://github.com/whalefood/WFImagePickerPlus",
    "license": {
        "type": "MIT",
        "text": "Copyright (c) 2013 Jonah WallersteinnnPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:nnThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.nnTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.n"
    },
    "authors": {
        "Jonah Wallerstein": "[email protected]"
    },
    "source": {
        "git": "https://github.com/whalefood/WFImagePickerPlus.git",
        "tag": "0.5.1"
    },
    "platforms": {
        "ios": "5.0"
    },
    "source_files": [
        "Classes",
        "WFImagePickerPlus/**/*.{h,m}"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This