ElongationPreview alternatives and similar libraries
Based on the "UI" category.
Alternatively, view ElongationPreview alternatives based on common mentions on social networks and blogs.
-
DZNEmptyDataSet
DISCONTINUED. A drop-in UITableView/UICollectionView superclass category for showing empty datasets whenever the view has no content to display -
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 -
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) -
JVFloatLabeledTextField
UITextField subclass with floating labels - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users -
XLForm
XLForm is the most flexible and powerful iOS library to create dynamic table-view forms. Fully compatible with Swift & Obj-C. -
FSPagerView
FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders. -
SideMenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less. -
SwipeCellKit
Swipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift. -
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. -
TPKeyboardAvoiding
A drop-in universal solution for moving text fields out of the way of the keyboard in iOS -
PageMenu
A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) -
Material Components
[In maintenance mode] Modular and customizable Material Design UI components for iOS -
SWRevealViewController
A UIViewController subclass for presenting side view controllers inspired on the FaceBook and Wunderlist apps, done right ! -
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.
CodeRabbit: AI Code Reviews for Developers
* 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 ElongationPreview or a related project?
README
ELONGATION PREVIEW
Elongation Preview is an elegant UI push-pop style view controller for iOS.
We specialize in the designing and coding of custom UI for Mobile Apps and Websites. Stay tuned for the latest updates:
Requirements
- iOS 9.0+
- Xcode 8
- Swift 3 (<= 1.0.5)
- Swift 4 (>= 1.1)
Installation
You can install ElongationPreview
in several ways:
- Add source files to your project.
- Use CocoaPods:
ruby pod 'ElongationPreview'
- Use Carthage:
github "Ramotion/elongation-preview"
How to use
First of all, import module to your source file.
import ElongationPreview
ElongationViewController
Then subclass ElongationViewController
and configure it as you wish.
class RootViewController: ElongationViewController { }
Now you must register reusable cell in tableView
. If you prefer to use Storyboards, you can drag UITableViewCell
from bottom-right menu, lay it out and change it's class to ElongationCell
. Of course, there are some specific requirements on how you can configure cell's subviews.
ElongationCell
Easier way: copy DemoElongationCell from demo project and change it as you wish. Add your own views to
top
,bottom
andscalable
containers.If you want to create cell from scratch, this is how your cell hierarchy should look like:
##### Required properties:
bottomView
— the view which comes from behind the cell when you tap on the cell.
scalableView
— the view which will be scaled when you tap on the cell.
topView
— static top view, add here all the views which won't be scaled and must stay on their position.
Also you must connect this constraints: topViewHeightConstraint
, topViewTopConstraint
, bottomViewHeightConstraint
, bottomViewTopConstraint
.
📌 If you need to override
func scrollViewDidScroll(_ scrollView: UIScrollView)
or
func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath)
you must call
super
because some important configuration was made in these methods in superclass (ElongationViewController
).
ElongationDetailViewController
class DetailViewController: ElongationDetailViewController { }
If you want to display some details for objects from the root
view, it's better to subclass ElongationDetailViewController
and configure it for displaying your data.
This class holds headerView
property which actually represents ElongationCell
in expanded state and it'll be used as a header for tableView
by default.
📌 Override
openDetailView(for: IndexPath)
method, create yourElongationDetailViewController
instance and callexpand(viewController: ElongationDetailViewController, animated: Bool)
method with this instance.This is the place where you need to configure your
ElongationDetailViewController
subclass.
Appearance & Behaviour
You can customize both appearance & behaviour of ElongationPreview
control by tuning some params of ElongationConfig
and overriding shared
instance.
// Create new config.
var config = ElongationConfig()
// Change desired properties.
config.scaleViewScaleFactor = 0.9
config.topViewHeight = 190
config.bottomViewHeight = 170
config.bottomViewOffset = 20
config.parallaxFactor = 100
config.separatorHeight = 0.5
config.separatorColor = .white
// Save created config as `shared` instance.
ElongationConfig.shared = config
🗒 All parameters with their descriptions listed in
ElongationConfig
file.
📄 License
Elongation Preview is released under the MIT license. See [LICENSE](./LICENSE) for details.
This library is a part of a selection of our best UI open-source projects.
If you use the open-source library in your project, please make sure to credit and backlink to www.ramotion.com
📱 Get the Showroom App for iOS to give it a try
Try this UI component and more like this in our iOS app. Contact us if interested.
*Note that all licence references and agreements mentioned in the ElongationPreview README section above
are relevant to that project's source code only.