Giter Club home page Giter Club logo

cbzsplashview's People

Contributors

aldrincb avatar callumboddy avatar mazyod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cbzsplashview's Issues

CocoaPods Issue

Either there's files missing when installed through CocoaPods or your example code is wrong?
As this doesn't seem to work:

CBZSplashView *splashView = [CBZSplashView splashViewWithIcon:icon backgroundColor:color];

Changing iconStartSize has no effect

The only time iconStartSize is used is in the initWithIconImage method, therefore any attempt to change it after initialization has no effect.

Bezier Postion

How to set the bezier position to center ? As you can see in picture it's appearing at the bottom instead of center :
img_0059

Support for vectorized masking

Hey!

I thought I'd start an issue with this new task I am tackling, so I can dump the ideas and issues I com across..

First thing's first, what is this about?

To make the component as not dissimilar as possible, the component needs to draw the splash view with a clipped shape in the middle. That shape would animate out by expanding until it essentially takes over the whole view. At that point, the view behind should be fully visible. So, there is no fading here.

Cocoapods

Cocoapods seems to only include CBZSplashView

Update cocoapod to require ios 7

The startAnimation method uses + (void)animateWithDuration:(NSTimeInterval)duration delay:(NSTimeInterval)delay usingSpringWithDamping:(CGFloat)dampingRatio initialSpringVelocity:(CGFloat)velocity options:(UIViewAnimationOptions)options animations:(void (^)(void))animations completion:(void (^)(BOOL finished))completion NS_AVAILABLE_IOS(7_0); which is only available in iOS7 but the cocoapod specifies only ios6 is required.

support landscape mode

could CBZSplashView also support launching in landscape mode. if you ignore the location pop-up, here's what you get at present:

ios simulator screen shot aug 30 2014 12 08 37 am

many thanks!

Readme file update needed to include Vectorized splash

After adding the new masking functionality, there is a new dependency: QuartzCore. Need to update the readme to make sure users are aware of that.

Also, need to show the new way of using the masking functionality.

Icon properties not working!

__unused UIImage *icon = [UIImage imageNamed:@"circle"];
//UIBezierPath *bezier = [UIBezierPath twitterShape];
UIColor *color = kATOrangeColor;

self.splashView = [CBZSplashView splashViewWithIcon:icon backgroundColor:color];
self.splashView.iconColor = [UIColor purpleColor];
self.splashView.animationDuration = 1.1;


[self.view addSubview:self.splashView];

Not working!

(Suggestion) Mention the need to "reverse" bezier paths to get a "cut out"

As a suggestion, I spent an entire day playing around with a bunch of bezier paths, some complicated, some very simple, until it hit me, the direction of the winding would affect the result.

So, it might be worth mentioning, if you're not seeing any results using bezier paths, try using reversing (Swift)/beziePathByReversingPath (Objective C) and use the resulting path

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.