Latest 1.0.0
Homepage https://github.com/yyn835314557/YNActionSheet
License MIT
Platforms ios 8.0, requires ARC
Frameworks Foundation, CoreGraphics, UIKit
Authors

YNActionSheet —— An elegant actionSheet in Swift


YNActionSheet is a custom actionSheet used on iOS, which implement by Swift.

YNActionSheet.gif

USAGE

var actionSheetView = YNActionSheet()
actionSheetView.delegate = self
actionSheetView.addCancelButton("CancelName")
actionSheetView.addButtonWithTitle("titleName")
self.presentViewController(actionSheetView,animate:true,completion: nil)

Installation

  • CocoaPods:

    pod 'YNActionSheet'

  • Manually:

    Download the file YNActionSheet and then drag it to the project

LICENSE

YNActionSheet is released under the MIT LICENSE.See License for details.

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.

Latest podspec

{
    "name": "YNActionSheet",
    "version": "1.0.0",
    "summary": "A custom actionSheet used on iOS.",
    "homepage": "https://github.com/yyn835314557/YNActionSheet",
    "license": "MIT",
    "authors": {
        "u6e38u4e49u7537": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yyn835314557/YNActionSheet.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "YNActionSheet/*",
    "frameworks": [
        "Foundation",
        "CoreGraphics",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This