BigBrother alternatives and similar libraries
Based on the "Activity Indicator" category.
Alternatively, view BigBrother alternatives based on common mentions on social networks and blogs.
-
SVProgressHUD
A clean and lightweight progress HUD for your iOS and tvOS app. -
SkeletonView
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting -
NVActivityIndicatorView
A collection of awesome loading animations -
M13ProgressSuite
A suite containing many tools to display progress information on iOS. -
PKHUD
A Swift based reimplementation of the Apple HUD (Volume, Ringer, Rotation,…) for iOS 8. -
ProgressHUD
ProgressHUD is a lightweight and easy-to-use HUD for iOS. -
MRProgress
Collection of iOS drop-in components to visualize progress -
DACircularProgress
DACircularProgress is a UIView subclass with circular UIProgressView properties. -
SwiftSpinner
A beautiful activity indicator and modal alert written in Swift (originally developed for my app DoodleDoodle) Using blur effects, translucency, flat and bold design - all iOS 8 latest and greatest -
FillableLoaders
Completely customizable progress based loaders drawn using custom CGPaths written in Swift -
MKRingProgressView
⭕️ Ring progress view similar to Activity app on Apple Watch -
YLProgressBar
UIProgressView replacement with an highly and fully customizable animated progress bar in pure Core Graphics -
KDCircularProgress
A circular progress view with gradients written in Swift -
MBCircularProgressBar
A circular, animatable & highly customizable progress bar from the Interface Builder (Objective-C) -
FFCircularProgressView
FFCircularProgressView - An iOS 7-inspired blue circular progress view -
PageControls
This is a selection of custom page controls to replace UIPageControl, inspired by a dribbble found here: https://dribbble.com/shots/2578447-Page-Control-Indicator-Transitions-Collection -
Windless
Windless makes it easy to implement invisible layout loading view. -
ParticlesLoadingView
A customizable SpriteKit particles animation on the border of a view. -
StackViewController
A controller that uses a UIStackView and view controller composition to display content in a list -
GradientLoadingBar
⌛️A customizable animated gradient loading bar. -
AlamofireNetworkActivityIndicator
Controls the visibility of the network activity indicator on iOS using Alamofire. -
Skeleton
✨ An easy way to create sliding CAGradientLayer animations! Works great for creating skeleton screens for loading content. -
FlexibleSteppedProgressBar
Flexible Stepped Progress Bar for IOS -
EZLoadingActivity
:hatching_chick: Lightweight Swift loading activity for iOS7+ -
GearRefreshControl
A custom animation for the UIRefreshControl -
GradientProgressBar
📊 A customizable gradient progress bar (UIProgressView). -
RSLoadingView
Awesome loading animations using 3D engine written with Swift -
DSGradientProgressView
A simple animated progress bar in Swift -
StepProgressView
Step-by-step progress view with labels and shapes. A good replacement for UIActivityIndicatorView and UIProgressView. -
Hexacon
A fancy hexagonal layout for displaying data like your Apple Watch -
RPCircularProgress
Circular progress UIView subclass with UIProgressView properties -
AudioIndicatorBars
AIB indicates for your app users which audio is playing. Just like the Podcasts app. -
IHProgressHUD
A clean and lightweight progress HUD based on SVProgressHUD, converted to Swift with the help of Swiftify. -
KYNavigationProgress
Simple extension of UINavigationController to display progress on the UINavigationBar. -
RPLoadingAnimation
Loading animations :cyclone: by using Swift CALayer -
LinearProgressBar
A simple Linear Progress Bar for IOS (Swift 3.0), inspired by Material Design -
StatusBarOverlay
StatusBarOverlay will automatically show a "No Internet Connection" bar when your app loses connection, and hide it again. It supports apps which hide the status bar and The Notch -
ProgressIndicatorView
An iOS progress indicator view library written in SwiftUI
Appwrite - The open-source backend cloud platform
* 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 BigBrother or a related project?
README
BigBrother
BIG BROTHER IS WATCHING YOU.
BigBrother is a Swift library made for iOS that automatically watches for any performed request and sets the network activity indicator.
This is mostly a proof of concept, having several limitations because of how NSURLProtocol
works. Some of them are:
NSURLProtocol
doesn't inheritNSURLSession
's configured headers (see https://github.com/Alamofire/Alamofire/issues/473)NSURLProtocol
isn't compatible with authentication APIs (see https://github.com/marcelofabri/BigBrother/issues/2)
It was inspired by this comment by Mattt Thompson.
It also was based on this tutorial for creating an NSURLProtocol
and on AFNetworkActivityIndicatorManager
from AFNetworking.
Usage
Adding
Adding to NSURLConnection
and NSURLSession.sharedSession()
BigBrother.addToSharedSession()
Adding to a custom NSURLSessionConfiguration
var configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
BigBrother.addToSessionConfiguration(configuration)
let session = NSURLSession(configuration: configuration)
Removing
Removing from NSURLConnection
and NSURLSession.sharedSession()
BigBrother.removeFromSharedSession()
Removing from a custom NSURLSessionConfiguration
var configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
BigBrother.removeFromSessionConfiguration(configuration)
let newSession = NSURLSession(configuration: configuration)
It is important to configure your NSURLSessionConfiguration object appropriately before using it to initialize a session object. Session objects make a copy of the configuration settings you provide and use those settings to configure the session. Once configured, the session object ignores any changes you make to the NSURLSessionConfiguration object. If you need to modify your transfer policies, you must update the session configuration object and use it to create a new NSURLSession object.
Advanced usage
BigBrother.URLProtocol
is an NSURLProtocol
subclass that manages the network activity indicator and it's public if you want to add it yourself to an NSURLSessionConfiguration
or to the default NSURLProtocol
(used by NSURLConnection
and NSURLSession.sharedSession()
).
BigBrother.Manager
is also public, so you can manage the network activity indicator directly:
BigBrother.Manager.sharedInstance.incrementActivityCount()
// do something...
BigBrother.Manager.sharedInstance.decrementActivityCount()
Installation
BigBrother is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'BigBrother'
Then run pod install
with CocoaPods 0.36 or newer.
Unit Tests
Unit testing is done with XCTest
and the tests are available under the BigBrotherTests folder.
Collaborating
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request. They're more than welcome!
Contact
Marcelo Fabri
License
BigBrother is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the BigBrother README section above
are relevant to that project's source code only.