Git Product home page Git Product logo

irsplashwindow's Introduction

IRSplashWindow

IRSplashWindow is an UIWindow subclass that allows developers to create splashed applications easily. It provides a transition between your app’s splash image and the actual app.

By default, IRSplashWindow uses your default launch image. To provide a custom image, include the name of the desired image in your app’s info.plist as key IRSplashWindowImage. The custom value takes precedence.

The transition duration defaults to 0.8 seconds and is exposed as a property (splashAnimationDuration).

IRSplashWindow relies on iridia / CGGeometry-IRFittingAdditions.

Todo

  • Support launch images for all four orientations.
  • Support IRSplashWindow.showSplashWithAnimation.

Delegate protocol

Set the delegate, and implement this optional protocol to do additional work:

- (void) splashWillPrepare:(IRSplashWindow *)sender;
- (void) splashDidPrepare:(IRSplashWindow *)sender;
- (void) splashWillRetreat:(IRSplashWindow *)sender;
- (void) splashDidRetreat:(IRSplashWindow *)sender;

Comments welcomed

Evadne Wu at Iridia Productions, 2010. [email protected]

irsplashwindow's People

Contributors

oobe avatar

Stargazers

Jasper Ji avatar Robert Wood avatar robin avatar Gun.io Robot avatar jprothwell avatar  avatar Lex Tang avatar paoloandrea avatar Jared Crawford avatar Elango avatar  avatar Willi Wu avatar

Watchers

James Cloos avatar

irsplashwindow's Issues

Workaround on adding an activity indication to the splash screen (Was: Feedback)

Hi,

Used this and seems to work fine. Thanks for sharing.
I think you forgot to mention in the help that you need to call the [window retreatSplash] for the fade to work. Didn't take me long to realise though.

Would be nice if you give us some pointers on how to add a loading spinner to the view while it waits for the retreat call. I tried adding a UIActivityIndicatorView to the window subView but I guess the layer is covering it. Any suggestions?

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.