SnowGlobeFramework alternatives and similar libraries
Based on the "Alerts" category.
Alternatively, view SnowGlobeFramework alternatives based on common mentions on social networks and blogs.
-
SwiftMessages
A very flexible message bar for iOS written in Swift. -
SCLAlertView-Swift
Beautiful animated Alert View. Written in Swift -
TSMessages
š Easy to use and customizable messages/notifications for iOS Ć la Tweetbot -
NotificationBanner
The easiest way to display highly customizable in app notification banners in iOS -
JDStatusBarNotification
Highly customizable & feature rich notifications displayed below the status bar. iOS 13+. Swift ready! -
CRToast
A modern iOS toast view that can fit your notification needs -
Toast-Swift
A Swift extension that adds toast notifications to the UIView object class. -
Whisper
:mega: Whisper is a component that will make the task of display messages and in-app notifications simple. It has three different views inside -
PMAlertController
PMAlertController is a great and customizable alert that can substitute UIAlertController -
SweetAlert
Live animated Alert View for iOS written in Swift -
Jelly
š - Jelly is a library for animated, non-interactive & interactive viewcontroller transitions and presentations with the focus on a simple and yet flexible API. -
RKDropdownAlert
iOS / Objective C: an extremely simple UIAlertView alternative -
RMDateSelectionViewController
This is an iOS control for selecting a date using UIDatePicker in an UIAlertController like manner -
BRYXBanner
A lightweight dropdown notification for iOS 7+, in Swift. -
CDAlertView
Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift -
CFAlertViewController
It is a highly configurable iOS library which allows easy styling with built in styles as well as extra header and footer views so that you can make extremely unique alerts and action sheets. -
SwiftNotice
GUI library for displaying various popups (HUD), written in pure Swift. -
FCAlertView
FCAlertView is a Flat Customizable AlertView for iOS (Written in Objective C) -
NZAlertView
Simple and intuitive alert view. Similar to push notification effect. -
Swift-Prompts
A Swift library to design custom prompts with a great scope of options to choose from. -
SwiftyDrop
Lightweight dropdown message bar in Swift. It's simple and beautiful. -
NYAlertViewController
Highly configurable iOS Alert Views with custom content views -
GSMessages
A simple style messages/notifications, in Swift. -
TTGSnackbar
TTGSnackbar shows simple message and action button on the bottom or top of the screen with multi kinds of animation, which is written in Swift3 and inspired by Snackbar in Android. It also support showing custom view, icon image or multi action button. -
SwiftOverlays
SwiftOverlays is a Swift GUI library for displaying various popups and notifications -
CZPicker
a picker view shown as a popup for iOS in Objective-C -
RMActionController
This is an iOS control for presenting any UIView in an UIAlertController like manner -
DOAlertController
Simple Alert View written in Swift, which can be used as a UIAlertController. (AlertController/AlertView/ActionSheet) -
SimpleAlert
Customizable simple Alert and simple ActionSheet for Swift -
RMPickerViewController
This is an iOS control for selecting something using UIPickerView in an UIAlertController like manner -
HDNotificationView
Emulates the native Remote Notification View. -
NoticeBar
šA simple NoticeBar written by Swift 3, similar with QQ notice view. -
LNRSimpleNotifications
Simple Swift in-app notifications -
CustomizableActionSheet
Action sheet allows including your custom views and buttons. -
LKAlertController
An easy to use UIAlertController builder for swift -
BPStatusBarAlert
BPStatusBarAlert is a library that allows you to easily make text-based alert that appear on the status bar and below navigation bar. -
MaterialActionSheetController
A Google like action sheet for iOS written in Swift. -
RAlertView
AlertView, Ios popup window, A pop-up framework, Can be simple and convenient to join your project. IOS ę示ę”ļ¼IOSå¼¹ę”ļ¼IOSå¼¹ēŖ -
Notie
In-app notification in Swift, with customizable buttons and input text field. -
KRAlertController
A colored alert view for your iOS. -
AlertViewLoveNotification
A simple and attractive AlertView to ask permission to your users for Push Notification.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of SnowGlobeFramework or a related project?
README
SnowGlobe.framework
SnowGlobe.framework its easy to use, open source iOS framework written in swift. It allows you to ad delightful / cheesy Christmas easter egg to your awesome app for holiday season. When user shakes the device, your app āturns into a snow globeā. Leveraging CAEmitterLayer to create snow fall, snow globe like animation while device is shaken. I am a sucker for that kinda of thing. I donāt see anything wrong with falling for spirit of the holiday season and getting bit cheesy.
For more info and better formated docs head over to here. If you have any questions / sugestion feel free to tweet at me @stringcode.
Installation
SnowGlobe is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SnowGlobe"
How to build and run sample project without CocoaPods
Download source form repo. To build and run it on device open Sample.xcworkspace. This workspace contains three projects. SnowGlobe framework project, Swift and Objective-C sample projects. Select either SwiftSample or ObjCSample schema. Youāll have to set up code signing to run on the device. Select either Swift/ObjCSample target and choose your team. Sample app demonstrates three ways you can use SnowGlobeView. My original use case was to ad SnowGlobeView as subview of applicationās keyWindow. That way when user shakes the device, snow layer is over any ViewControllerās view. For more detail check out about implementation section.
How to add to your project
- Copy SnowGlobe folder to YourAwesomeApp project folder.
- Drag and drop SnowGlobe.xcodeproj file to your project. I usually create frameworks folder to keep things tidy, but its not necessary
- Select your appās target and click on plus icon to add embedded binary.
- Select SnowGlobe.framework
- Add following code to your AppDelegate.swift or Obj-C equivalent : ``` swift import UIKit import SnowGlobe
@UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
var snowGlobeView: SnowGlobeView?
func applicationDidBecomeActive(application: UIApplication) {
if snowGlobeView == nil {
let bounds = application.keyWindow?.bounds
snowGlobeView = SnowGlobeView(frame: bounds!)
snowGlobeView?.shakeToSnow = true
application.keyWindow?.addSubview(snowGlobeView!)
}
}
}
Build, Run & Shake it!
###About implementation
The CAEmitterLayer class provides a particle emitter system for Core Animation. The particles are defined by instances of CAEmitterCell. SnowGlobeView overrides [UIViewās layerClass](https://developer.apple.com/library/ios/documentation/uikit/reference/UIView_Class/index.html#//apple_ref/occ/clm/UIView/layerClass) method and returns CAEmitterLayer so that UIView becomes backed by CAEmitterLayer rather then CALayer. CAEmitterLayer needs array of CAEmitterCells. Single CAEmitterCell array with contents set to snowFlakeImage.CGImage will suffice. There plenty of properties with ranges to be set on them. For example there is size and sizeRange. Value of size will be random value size +- range. Using these properties with ranges allows us to create convincing dynamic snow storm effect.
You can simply add SnowGlobeView as subview of any view and it will start animating particles upon moving to window. However the use case SnowGlobeView was made for is to add it as subView of UIApplicationās keyWindow and set shakeToSnow property to true. This will create CMMotionManager witch monitors accelerometer and will animate snow fall briefly when threshold is met. Since SnowGlobeView is added as subview of key window you will get snow effect over entire UIViewController hierarchy.
There is lighterSnowMode property, if set to yes snow fall become not as dense.
There are two class methods lightSnowFlakeImage and darkSnowFlakeImage witch provide default snow flake images. You can also set your custom image. Recommended size is 74 X 74 pixels @2x.