All Projects → shagedorn → Staterestorationdemo

shagedorn / Staterestorationdemo

Licence: other
App to demonstrate state preservation and restoration APIs

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Staterestorationdemo

Laravel Blog 5.6.5
Learning Laravel by making simple Blog
Stars: ✭ 12 (-70.73%)
Mutual labels:  sample-app
Collectionviewpaginglayout
a simple but highly customizable paging layout for UICollectionView.
Stars: ✭ 947 (+2209.76%)
Mutual labels:  uikit
Bfkit Swift
BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster.
Stars: ✭ 963 (+2248.78%)
Mutual labels:  uikit
Mail Board
Sample vuex application for meet.js Gdańsk meeting
Stars: ✭ 13 (-68.29%)
Mutual labels:  sample-app
Qmuidemo ios
Sample Code for QMUI iOS
Stars: ✭ 912 (+2124.39%)
Mutual labels:  uikit
Quick Free Bootstrap Theme
Free Bootstrap 4 Theme perfect for building responsive, mobile-first projects on the web suitable for businesses, startups, and agencies.
Stars: ✭ 31 (-24.39%)
Mutual labels:  uikit
Vtacknowledgementsviewcontroller
Acknowledgements screen displaying a list of licenses, for example from CocoaPods dependencies.
Stars: ✭ 863 (+2004.88%)
Mutual labels:  uikit
Parallaxscrolling
Parallax Scrolling
Stars: ✭ 36 (-12.2%)
Mutual labels:  uikit
Viewcomposer
Compose views using enums swiftly: `let label: UILabel = [.text("Hello"), .textColor(.red)]`
Stars: ✭ 27 (-34.15%)
Mutual labels:  uikit
Swiftanimations
A small DSL to chain animations on top of UIKit
Stars: ✭ 31 (-24.39%)
Mutual labels:  uikit
Tkswitchercollection
An animation switch collection
Stars: ✭ 877 (+2039.02%)
Mutual labels:  uikit
Awesome Android Things
A curated list of awesome android things tutorials, libraries and much more at one place
Stars: ✭ 883 (+2053.66%)
Mutual labels:  sample-app
Data Driven Vc
Swift Data-Driven UI examples
Stars: ✭ 31 (-24.39%)
Mutual labels:  uikit
Zircleui
🚀 zircle-ui is a frontend library to develop zoomable user interfaces.
Stars: ✭ 870 (+2021.95%)
Mutual labels:  uikit
Jetpack Compose Playground
Community-driven collection of Jetpack Compose example code and tutorials 🚀 https://foso.github.io/compose
Stars: ✭ 969 (+2263.41%)
Mutual labels:  sample-app
Giu
Cross platform rapid GUI framework for golang based on Dear ImGui.
Stars: ✭ 862 (+2002.44%)
Mutual labels:  uikit
C4ios
C4 is an open-source creative coding framework that harnesses the power of native iOS programming with a simplified API that gets you working with media right away. Build artworks, design interfaces and explore new possibilities working with media and interaction.
Stars: ✭ 952 (+2221.95%)
Mutual labels:  uikit
Peel Off Animation Example Code
Example code for https://robb.is/working-on/a-peel-off-animation
Stars: ✭ 37 (-9.76%)
Mutual labels:  uikit
Gaudi
A swift theming framework for UIKit for easy adoption of multi theme and iOS dark mode
Stars: ✭ 36 (-12.2%)
Mutual labels:  uikit
Kotlillon
Android Kotlin Examples
Stars: ✭ 31 (-24.39%)
Mutual labels:  sample-app

StateRestorationDemo

Swift app to demonstrate state preservation and restoration APIs.

Created for a presentation at CocoaHeads Dresden on 09 July 2014. The Deckset presentation (rendered as PDF and the Markdown source) is included in the repository. Feel free to contact me for questions: @hagidd.

Last verified with Xcode 10 and iOS 12.0. The app is written in Swift 4.2.

Tags

Tags outline the various steps to enable state restoration in iOS apps:

  • NO_STATE_RESTORATION: The app without state restoration
  • STATE_RESTORATION_OPT_IN: The app generally enables state restoration, but does not implement it yet
  • RESTORATION_IDENTIFIERS: The app sets restoration identifiers on view controllers, but the controllers are not restored successfully yet
  • BASIC_STATE_RESTORATION: Initially created view controllers are restored successfully
  • RESTORATION_CLASS: Non-initial view controllers are restored, too
  • STATE_ENCODING: View controllers restore their views' state
  • SIZE_CLASSES: The window's size classes are preserved

Note: Both to improve the project and to support the current version of Swift, there have been major updates that are not reflected by the tagged commits. The tags are still helpful to follow the various steps, but you should use the latest commit on master for a working version.

Other Resources

Apple also published two very helpful sample projects:

Apple Sample Code: State Restoration

Apple Sample Code: State Restoration of Child View Controllers

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].