SwiftWebVC alternatives and similar libraries
Based on the "UI" category.
Alternatively, view SwiftWebVC alternatives based on common mentions on social networks and blogs.
-
Lottie
An iOS library to natively render After Effects vector animations -
iCarousel
A simple, highly customisable, data-driven 3D carousel for iOS and Mac OS -
SVProgressHUD
A clean and lightweight progress HUD for your iOS and tvOS app. -
DZNEmptyDataSet
A drop-in UITableView/UICollectionView superclass category for showing empty datasets whenever the view has no content to display -
IGListKit
A data-driven UICollectionView framework for building fast and flexible lists. -
AsyncDisplayKit
Smooth asynchronous user interfaces for iOS apps. -
IQKeyboardManager
Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more. -
TTTAttributedLabel
A drop-in replacement for UILabel that supports attributes, data detectors, links, and more -
SkeletonView
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting -
animated-tab-bar
:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion -
folding-cell
:octocat: 📃 FoldingCell is an expanding content cell with animation made by @Ramotion -
NVActivityIndicatorView
A collection of awesome loading animations -
FSCalendar
A fully customizable iOS calendar library, compatible with Objective-C and Swift -
MGSwipeTableCell
An easy to use UITableViewCell subclass that allows to display swippable buttons with a variety of transitions. -
JTAppleCalendar
The Unofficial Apple iOS Swift Calendar View. Swift calendar Library. iOS calendar Control. 100% Customizable -
SWTableViewCell
An easy-to-use UITableViewCell subclass that implements a swippable content view which exposes utility buttons (similar to iOS 7 Mail Application) -
LTMorphingLabel
[EXPERIMENTAL] Graceful morphing effects for UILabel written in Swift. -
JVFloatLabeledTextField
UITextField subclass with floating labels - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users -
SwiftMessages
A very flexible message bar for iOS written in Swift. -
TPKeyboardAvoiding
A drop-in universal solution for moving text fields out of the way of the keyboard in iOS -
FSPagerView
FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders. -
XLForm
XLForm is the most flexible and powerful iOS library to create dynamic table-view forms. Fully compatible with Swift & Obj-C. -
ViewAnimator
ViewAnimator brings your UI to life with just one line -
SVPullToRefresh
Give pull-to-refresh & infinite scrolling to any UIScrollView with 1 line of code. -
PageMenu
A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) -
SwipeCellKit
Swipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift. -
Macaw
Powerful and easy-to-use vector graphics Swift library with SVG support -
Alerts & Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date... -
SwiftEntryKit
SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps. -
AMScrollingNavbar
Scrollable UINavigationBar that follows the scrolling of a UIScrollView -
SCLAlertView-Swift
Beautiful animated Alert View. Written in Swift -
SideMenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less. -
ViewDeck
An implementation of the sliding menu found in various iOS apps. -
TextFieldEffects
Custom UITextFields effects inspired by Codrops, built using Swift -
Koloda
KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS. -
SWRevealViewController
A UIViewController subclass for presenting side view controllers inspired on the FaceBook and Wunderlist apps, done right ! -
Material Components
[In maintenance mode] Modular and customizable Material Design UI components for iOS -
TSMessages
💌 Easy to use and customizable messages/notifications for iOS à la Tweetbot -
expanding-collection
:octocat: ExpandingCollection is an animated material design UI card peek/pop controller. iOS library made by @Ramotion -
CSStickyHeaderFlowLayout
UICollectionView replacement of UITableView. Do even more like Parallax Header, Sticky Section Header. Made for iOS 7.
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 SwiftWebVC or a related project?
README
SwiftWebVC
SwiftWebVC is a simple inline browser for your Swift iOS app.
SwiftWebVC features:
- iPhone and iPad distinct UIs
- Full landscape orientation support
- Back, forward, stop/refresh and share buttons
- Open in Safari and Chrome UIActivities
- Navbar title set to the currently visible web page
- Talks with
setNetworkActivityIndicatorVisible
- 3 different themes to choose from when presented modally
Installation
CocoaPods
- SwiftWebVC is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SwiftWebVC'
Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate SwiftWebVC into your Xcode project using Carthage, specify it in your Cartfile
:
github "meismyles/SwiftWebVC"
Run carthage update
to build the framework and drag the built SwiftWebVC.framework
into your Xcode project.
Manual
- Add the
SwiftWebVC/
folder into your project.
Usage
Just like any UIViewController, SwiftWebVC can be pushed into a UINavigationController stack:
let webVC = SwiftWebVC(urlString: "http://google.com")
self.navigationController?.pushViewController(webVC, animated: true)
It can be presented modally using SwiftModalWebVC
:
let webVC = SwiftModalWebVC(urlString: "http://google.com")
self.present(webVC, animated: true, completion: nil)
Options
The share button can be disabled by passing a flag in to the constructor to specify this:
let webVC = SwiftWebVC(urlString: "http://google.com", sharingEnabled: false)
The same principal applies for the modal implementation also:
let webVC = SwiftModalWebVC(urlString: "http://google.com", sharingEnabled: false)
Modal Options Only
Themes may be chosen for the modal implementation. The default theme is Light-Blue
. Other modal themes Light-Black
and Dark
may be chosen using one of the following instead:
let webVC = SwiftModalWebVC(urlString: "http://google.com", theme: .lightBlack)
let webVC = SwiftModalWebVC(urlString: "http://google.com", theme: .dark)
Delegate (Start/Finish Loading Callbacks)
SwiftWebVC also includes a delegate protocol that allows you to implement didStartLoading
and didFinishLoading
functions to determine when loading starts and finishes.
Note: This is currently only implemented for SwiftWebVC
, not SwiftModalWebVC
.
To implement this, after declaring your instance of SwiftWebVC
, set it's delegate and implement the callback functions. For example:
Inititalisation
let webVC = SwiftWebVC(urlString: "https://www.google.com")
webVC.delegate = self
self.navigationController?.pushViewController(webVC, animated: true)
Delegate Implementation
extension ViewController: SwiftWebVCDelegate {
func didStartLoading() {
print("Started loading.")
}
func didFinishLoading(success: Bool) {
print("Finished loading. Success: \(success).")
}
}
SwiftWebVCActivity
Starting in iOS 6 Apple uses UIActivity
to let you show additional sharing methods in share sheets. SwiftWebVC
comes with "Open in Safari" and "Open in Chrome" activities. You can easily add your own activity by subclassing SwiftWebVCActivity
which takes care of a few things automatically for you. Have a look at the Safari and Chrome activities for implementation examples.Typed
Credits
SwiftWebVC is a Swift implementation of Sam Vermette's SVWebViewController. Code transcription, updates and changes were carried out by Myles Ringle. The original SVWebViewController was brought to you by Sam Vermette and contributors to the project.
If you have feature suggestions or bug reports, feel free to help out by sending pull requests or by creating new issues. If you're using SwiftWebVC in your project, attribution is always appreciated.
Thanks to Icons8 for the images.