Giter Site home page Giter Site logo

placekit's Introduction

PlaceKit

Placeholders, lorem ipsum, and fake data oh my!

For all of your early-development, sandbox and proto work. PlaceKit is an easy-to-use framework for adding content when you either have none or don't care what it is during the early phases of development.

##Content ###Placeholder Content

Nothing motivates a designer more than seeing random meat-based assets on an app they have to work with.

###Random Geometry & Numbers

Easily generate views with random frames within another view, pick a random point within a given rect or generate random numbers and percentages:

  • Random CGSize
  • Random CGRect
  • Random CGRect enclosed in CGRect
  • Random CGPoint enclosed in CGRect
  • Random percentages
  • Random numbers in range

###Random Colors

Create new colors to give you bland UI some dimension, give new views a random color to tell them apart or generate a new random color matching the hue of another:

  • Fully random UIColor
  • Random UIColor with hue
  • Random UIColor with same hue as another color
  • Random greyscale color
  • More

##Installation ###CocoaPods The easiest way to use PlaceKit is using CocoaPods: pod 'PlaceKit'

If you would like to use the UIImageView categories for the placeholder images, you will need to use the 'ImageView' subspec: pod 'PlaceKit/ImageView'. This will install the AFNetworking as a dependency in order to use UIImageView+AFNetworking.

###Standalone The PlaceKit core was built dependency-free to make it as easy as possible to drop into your project. Simply drop PlaceKit.{h,m} into your project and import as necessary! If you would like to use the UIImageView category, you will also need to integrate AFNetworking into your project.

##Known Issues

  1. Still needs the pod submitted
  2. PlaceKit's demo application needs some work
  3. Random business names API is still a work-in-progress and could use some more work

##License Standard MIT license

placekit's People

Contributors

larsacus avatar xinsight avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.