• Stars
    star
    136
  • Rank 267,670 (Top 6 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 11 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Content placeholders, randomized data and other helpers for early dev, testing and proto work.

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.

Prefer the Swift version? We've got you covered with Wallpaper.

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. PlaceKit's demo application needs some work
  2. Random business names API is still a work-in-progress and could use some more work

License

Standard MIT license

More Repositories

1

LARSAdController

Lightweight ad mediation for iOS to properly manage multiple ad networks dynamically including iAd and Google ads.
Objective-C
269
star
2

LARSBar

An oddly-named UISlider subclass which mimics the EQ slider found on Twitter's #music app.
Objective-C
113
star
3

TOLDeveloperAds

Easily create beautiful banners for all of your App Store apps with a single line of code.
Objective-C
45
star
4

LARSTorch

Lightweight AVFoundation-based interface to access your iDevice's LED torch.
Objective-C
14
star
5

DeceptiCam

Decepticam is a covert camera that is instantly available when launched and is activated by putting your iPhone up to your ear, as if taking a phone call. DeceptiCam will start shooting photos at intervals or start capturing video when the proximity sensor is activated (as if taking a phone call), and ends and saves the file when the proximity sensor is no longer covered. This app will never be approved into Apple's App Store due to the blatant mimicking of iPhone's phone interface. _**Kind of a fun project - needs a lot of work to be truly useable.**_
Objective-C
13
star
6

LARSSlidingPicker

An iOS Subclass of UIPicker modified to mimic the native iOS keyboard. Also pairs with a second SlidingPicker class to toggle one after the other. Accepts a riding auxiliary UIView on top of the picker.
Objective-C
6
star
7

LARSMorse-Strobe

Objective-C
4
star
8

CoreGraphicsDynamicAnimation

Dynamic drawRect: animation using CoreAnimation for interpolation.
Objective-C
3
star
9

Light2

LightΒ² is a simpler flashlight for all of your iDevices. Really no reason *not* to put this out there... Go ahead - just try and submit this to the app store.
Objective-C
3
star
10

TOLPowerSource

Objective-C abstraction of IOKit's power sources C API on OSX to monitor battery and other power sources. Built to support UPSs. May become popular if we ever get IOKit on iOS.
Objective-C
3
star
11

swift-yolo

http://larsacus.github.io/swift-yolo/ I hope you thought long and hard before using swift's force-unwrapped optionals.
HTML
2
star
12

Outage-Mac

A tiny mac app that monitors your UPS and will log the time you are on battery power.
Objective-C
1
star
13

heatmap-tile-toolbox

Rewrites broken Strava heatmap requests into new-style auth endpoints.
HTML
1
star
14

theonlylars.com

JavaScript
1
star
15

DestinyBrowser

Explore and browse the Bungie Destiny world asset database files visually.
JavaScript
1
star
16

LARSSlideShow

A photo slideshow plugin written in javascript that will fade and scale between images of different sizes in a container div. Still needs some work.
JavaScript
1
star