Latest 1.1.0
Homepage https://github.com/tuppaware/baconipsum
License MIT
Platforms ios 10.0
Authors

🥓 BaconIpsum for Swift 🥓

Version
License
Platform

Introduction

A Swift library to create awesome pork flavoured Lorem Ipsum placeholder text in your IOS apps. Fill your app and life with Pork! This library generates pork related text for use as placeholder text.
Also now includes vegetarian option!

Installation

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

pod 'BaconIpsum'

Dont forget to Import it into your project (when using the pod).

import BaconIpsum

Or manually drop the BaconIpsum.swift file into your project.

Getting that porky goodness

This will simply return a single pork related word.

let myText = BaconIpsum.giveMeBacon()
// returns a string

Add a switch for vegetarian option!

let myText = BaconIpsum.giveMeBacon(vegetarian: true) // defaults to false
// returns a vegetarian string

Want a number of 🐷 words ?

let myText = BaconIpsum.giveMeBacon(withWords: 4)

Want a full sentence ?

let myText = BaconIpsum.giveMeBacon(withSentences: 2)

Maybe the whole hog 🐖 is what you are after ?

let myText = BaconIpsum.giveMeBacon(withParagraphs: 4)

Contribute

Yaass, please do!

nutmeatIpsum?

Author

Adam Ware, [email protected]

License

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

Latest podspec

{
    "name": "BaconIpsum",
    "version": "1.1.0",
    "summary": "Fill your app and life with Pork! This library generates pork related text for use as placeholder text. Also now includes vegetarian option!",
    "description": "A Swift library to create awesome pork flavoured placeholder text in your IOS apps. Fill your app and life with Pork! This library generates pork related text for use as placeholder text. Also now includes vegetarian option!",
    "homepage": "https://github.com/tuppaware/baconipsum",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Adam Ware": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tuppaware/BaconIpsum.git",
        "tag": "1.1.0"
    },
    "social_media_url": "https://twitter.com/tuppaware",
    "platforms": {
        "ios": "10.0"
    },
    "swift_version": "4.2",
    "source_files": "BaconIpsum/Classes/**/*"
}

Pin It on Pinterest

Share This