• Stars
    star
    310
  • Rank 134,926 (Top 3 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created almost 10 years ago
  • Updated about 7 years ago

Reviews

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

Repository Details

Put your asset catalog launch images to work for you.

IFTTTLaunchImage

Build Status Coverage Status

Asset Catalogs in Xcode 5+ are pretty neat. You can keep all of your app's assets in one place, you can see at a glance which image scales you're using, and you can even use asset catalogs for your app's icon and launch image.

When your app first launches, you'll probably have some loading or setup to do before you can display your initial user interface. Instead of showing your user a broken or half-loaded interface, why not animate a smooth transition from your app's launch image to your fully loaded user interface? Unlike normal images in your asset catalog, unfortunately it is not obvious how to reach into your asset catalog to programmatically access the correct launch image for the user's current device.

IFTTTLaunchImage is a set of classes that simplify working with launch images in your asset catalog as well as nib-based launch screens.

What's in the Box

  • UIImage+IFTTTLaunchImage and UIDevice+IFTTTLaunchImage are simple categories that make it easy to access the correct launch image for the user's current device.
  • IFTTTSplashView is a view containing your launch image or launch screen that you can display when your app launches. When your app has finished launching and loading its initial interface, the splash view can be dismissed using one of several nifty built-in animations.

IFTTTSplashView also has full support for UINib-based Launch Screens as well as splash screens that display a custom UIView. Check out IFTTTSplashView.h for more details.

Examples

ExampleImage is an app that animates from its launch image to its initial interface.

ExampleLaunchScreen is an app that animates from its nib-based launch screen to its initial interface.

To try the example projects:

pod try IFTTTLaunchImage

Or just open IFTTTLaunchImage.xcworkspace or open IFTTTLaunchScreen.xcworkspace.

Here it is in action in the ExampleImage app, using the built-in animation IFTTTSplashAnimationDrop:

IFTTTLaunchImage

Usage

To run the example project, clone the repo, and run pod install from the Example directory.

Installation

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

pod "IFTTTLaunchImage"

Author

Jonathan Hersh

License

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

Copyright Β© 2015 IFTTT Inc.

More Repositories

1

JazzHands

A simple keyframe-based animation framework for UIKit. Perfect for scrolling app intros.
Objective-C
6,419
star
2

RazzleDazzle

A simple keyframe-based animation framework for iOS, written in Swift. Perfect for scrolling app intros.
Swift
3,361
star
3

FastttCamera

Fasttt and easy camera framework for iOS with customizable filters
Objective-C
1,853
star
4

jot

An iOS framework for easily adding drawings and text to images.
Objective-C
1,775
star
5

polo

Polo travels through your database and creates sample snapshots so you can work with real world data in development.
Ruby
758
star
6

SparkleMotion

A ViewPager animator that animates Views within pages as well as views across pages.
Java
340
star
7

kashmir

Kashmir is a Ruby DSL that makes serializing and caching objects a snap.
Ruby
266
star
8

tablerize

Say goodbye to aligning tables in Markdown.
Ruby
40
star
9

ConnectSDK-Android

Android SDK for Connect API
Java
25
star
10

connect_with_ifttt_auth_sample

A fake OAuth2 server, mobile API and IFTTT Channel to demonstrate how to implement the server side portion of the Connect with IFTTT SDK.
JavaScript
20
star
11

ConnectSDK-iOS

Connect Button SDK for iOS
Swift
18
star
12

redshift_runner

Ruby gem to query AWS Redshift
Ruby
15
star
13

kramdown-tablerize

Use Tablerize to convert YAML tables in Markdown to HTML.
Ruby
7
star
14

heroku_line_item_billing

Ruby
5
star
15

stripe-webhook-event-ingester

An AWS CDK-based project for ingesting Stripe webhook events into an SQS queue
Python
4
star
16

service-api

OpenAPI definition for IFTTT Service API
HTML
4
star
17

memoize_via_cache

Ruby
4
star
18

pool-shard

Pools of sharded PostgreSQL database connections.
CoffeeScript
4
star
19

elb-tool

Go
2
star
20

delayed_job_shim_for_resque

Ruby
2
star
21

getting-started-with-connect

Getting Started with IFTTT Connect
Python
2
star
22

github_channel_test

1
star
23

3d-logo

IFTTT logo, suitable for 3D printing
OpenSCAD
1
star
24

engineering-handbook

1
star