Latest 0.0.1
Homepage https://github.com/NeeSDev/NSD_LFImagePicker
License MIT
Platforms ios 7.0, requires ARC
Authors

NSD_LFImagePicker

使用的他人已开源项目,根据自己业务的需求,对LFImagePickerController、LFMediaEditingController进行小修改

使用方法

直接拷贝

  1. 将github工程中的想要用到的功能对应文件夹下的所有文件复制到您的工程中。
  2. 将与文件夹同名的头文件放入到您的pch文件中,或者在需要使用界面布局的源代码位置。

CocoaPods安装

如果您还没有安装cocoapods则请先执行如下命令:

$ gem install cocoapods

为了用CocoaPods整合NSDExtendTool到您的Xcode工程, 请建立如下的Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'

pod 'NSD_LFImagePicker'

然后运行如下命令:

$ pod install

版本历史

具体请查看 CHANGELOG.md

Latest podspec

{
    "name": "NSD_LFImagePicker",
    "version": "0.0.1",
    "summary": "A clone of UIImagePickerController, support picking multiple photosu3001 video and edit photo",
    "homepage": "https://github.com/NeeSDev/NSD_LFImagePicker",
    "license": "MIT",
    "authors": {
        "NeeSDev": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/NeeSDev/NSD_LFImagePicker.git",
        "tag": "0.0.1",
        "submodules": true
    },
    "requires_arc": true,
    "default_subspecs": "LFImagePickerController",
    "subspecs": [
        {
            "name": "LFImagePickerController",
            "resources": "LFImagePickerController/LFImagePickerController/class/*.bundle",
            "source_files": [
                "LFImagePickerController/LFImagePickerController/class/*.{h,m}",
                "LFImagePickerController/LFImagePickerController/class/**/*.{h,m}"
            ],
            "public_header_files": [
                "LFImagePickerController/LFImagePickerController/class/*.h",
                "LFImagePickerController/LFImagePickerController/class/**/*.h"
            ],
            "dependencies": {
                "NSD_LFImagePicker/LFGifPlayer": [],
                "NSD_LFImagePicker/LFToGIF": []
            }
        },
        {
            "name": "LFGifPlayer",
            "source_files": "LFImagePickerController/LFImagePickerController/vendors/LFGifPlayer/*.{h,m}",
            "public_header_files": "LFImagePickerController/LFImagePickerController/vendors/LFGifPlayer/*.h"
        },
        {
            "name": "LFToGIF",
            "source_files": "LFImagePickerController/LFImagePickerController/vendors/LFToGIF/*.{h,m}",
            "public_header_files": "LFImagePickerController/LFImagePickerController/vendors/LFToGIF/*.h"
        },
        {
            "name": "LFMediaEditingController",
            "subspecs": [
                {
                    "name": "LFPhotoEditingController",
                    "resources": "LFMediaEditingController/class/common/*.bundle",
                    "source_files": [
                        "LFMediaEditingController/class/*.{h,m}",
                        "LFMediaEditingController/class/LFPhotoEditingController/**/*.{h,m}",
                        "LFMediaEditingController/class/common/**/*.{h,m}"
                    ],
                    "public_header_files": [
                        "LFMediaEditingController/class/*.h",
                        "LFMediaEditingController/class/LFPhotoEditingController/**/*.h",
                        "LFMediaEditingController/class/common/**/*.h"
                    ],
                    "dependencies": {
                        "NSD_LFImagePicker/JRPickColorView": [],
                        "NSD_LFImagePicker/JRFilterBar": [],
                        "NSD_LFImagePicker/LFColorMatrix": [],
                        "NSD_LFImagePicker/LFFilterSuite": []
                    }
                },
                {
                    "name": "LFVideoEditingController",
                    "resources": "LFMediaEditingController/class/common/*.bundle",
                    "source_files": [
                        "LFMediaEditingController/class/*.{h,m}",
                        "LFMediaEditingController/class/LFVideoEditingController/**/*.{h,m}",
                        "LFMediaEditingController/class/common/**/*.{h,m}",
                        "LFMediaEditingController/class/LFPhotoEditingController/view/model/*.{h,m}",
                        "LFMediaEditingController/class/LFPhotoEditingController/view/other/**/*.{h,m}",
                        "LFMediaEditingController/class/LFPhotoEditingController/view/subView/*.{h,m}",
                        "LFMediaEditingController/class/LFPhotoEditingController/view/toolBar/*.{h,m}"
                    ],
                    "public_header_files": [
                        "LFMediaEditingController/class/*.h",
                        "LFMediaEditingController/class/LFVideoEditingController/**/*.h",
                        "LFMediaEditingController/class/common/**/*.h",
                        "LFMediaEditingController/class/LFPhotoEditingController/view/model/*.h",
                        "LFMediaEditingController/class/LFPhotoEditingController/view/other/**/*.h",
                        "LFMediaEditingController/class/LFPhotoEditingController/view/subView/*.h",
                        "LFMediaEditingController/class/LFPhotoEditingController/view/toolBar/*.h"
                    ],
                    "dependencies": {
                        "NSD_LFImagePicker/JRPickColorView": [],
                        "NSD_LFImagePicker/JRFilterBar": [],
                        "NSD_LFImagePicker/LFColorMatrix": [],
                        "NSD_LFImagePicker/LFFilterSuite": []
                    }
                }
            ]
        },
        {
            "name": "JRPickColorView",
            "source_files": "LFMediaEditingController/class/vendors/JRPickColorView/*.{h,m}",
            "public_header_files": "LFMediaEditingController/class/vendors/JRPickColorView/*.h"
        },
        {
            "name": "JRFilterBar",
            "source_files": [
                "LFMediaEditingController/class/vendors/JRFilterBar/*.{h,m}",
                "LFMediaEditingController/class/vendors/JRFilterBar/**/*.{h,m}"
            ],
            "public_header_files": [
                "LFMediaEditingController/class/vendors/JRFilterBar/*.h",
                "LFMediaEditingController/class/vendors/JRFilterBar/**/*.h"
            ]
        },
        {
            "name": "LFColorMatrix",
            "source_files": "LFMediaEditingController/class/vendors/ColorMatrix/*.{h,m}",
            "public_header_files": "LFMediaEditingController/class/vendors/ColorMatrix/*.h"
        },
        {
            "name": "LFFilterSuite",
            "source_files": [
                "LFMediaEditingController/class/vendors/LFFilterSuite/*.{h,m}",
                "LFMediaEditingController/class/vendors/LFFilterSuite/**/*.{h,m}"
            ],
            "public_header_files": [
                "LFMediaEditingController/class/vendors/LFFilterSuite/*.h",
                "LFMediaEditingController/class/vendors/LFFilterSuite/**/*.h"
            ]
        },
        {
            "name": "LFMediaPickerAndEdit",
            "xcconfig": {
                "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) LF_MEDIAEDIT=1"
            },
            "dependencies": {
                "NSD_LFImagePicker/LFImagePickerController": [],
                "NSD_LFImagePicker/LFMediaEditingController": []
            }
        }
    ]
}

Pin It on Pinterest

Share This