nxbyte / SampleUIs

UI/UX prototypes, code snippets, and sample projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SampleUIs

platforms GitHub license

Some interesting prototypes and snippets of code that I tinkered before joining Apple.

Requirements

  • macOS Sierra or newer (10.12+)
  • iOS 8+
  • Xcode 8.2 (Swift 3)

Prototypes

  • UITableView Template: An iOS project with a simple implementation of UITableView

  • UITableView Parallax: An iOS project that moves each image inside each cell while scrolling the UITableView

  • UICollectionView Template: An iOS project with a simple implementation of UICollectionView

  • UIViewController Transitions: An iOS project that contains different transitions for view controllers. Uses: UIPresentationController, UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning

Snippets

  • Struct.playground: A playground that shows a simple implementation of a swift struct and how one can serialize and de-serialize elements

  • CoreData.swift: A swift source files that encapsulates the important components of the Core Data Stack. (Note: For use in projects iOS 9 and below)

  • letMutability.swift: A playground that shows two implementations of the same functional code. One uses let-mutability while the other uses regular sequential assignments

  • updateFile.swift: A playground that shows one way to update a file on a device from a server based on the 'Last-Modified' part of a HTTP response

License

All source code in this repository are released under the MIT license. See LICENSE for details.

About

UI/UX prototypes, code snippets, and sample projects

License:MIT License


Languages

Language:Swift 100.0%