DrkSephy / swift-sandbox

Repository containing various Swift examples and iOS applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swift-sandbox

Repository containing various Swift examples and iOS applications.

Projects

As of this moment, the following applications can be found on this repository:

  • Cat Years: A single-view iOS application which allows the user to input the age of their cat, and will return the age in cat years.
  • How Many Fingers?: A single-view iOS application which allows the user to enter a guess of how many fingers are being held up, push a button and check if their guess was correct.
  • Primality Testing: A single-view iOS application which allows the user to enter an integer, press a button and it will return whether or not the number if prime.
  • Stopwatch: A single-view iOS application which acts as a stopwatch which ticks every second. The user can pause, resume and reset the stopwatch.
  • Times Tables: A single-view iOS application which displays a times table for numbers 1-20 using a slider to control the value.
  • To Do List: A tabbed iOS application which allows the user to input a list item on the second tab, and enter it using a button. The first tab displays the items, which can be deleted by swiping left. This application also has the ability to save entries, and will persist the items when the application is turned off and resumed.
  • What's the Weather?: An iOS application which grabs the weather forecast from weather-forecast.com and displays the weather to the user.
  • Tic Tac Toe: An iOS recreation of Tic Tac Toe.
  • Where Am I?: An iOS application which allows the user to ascertain their location and will return the closest address. Uses the Location framework for accessing the user's location.
  • Memorable Places: An iOS application which is built on top of the Where Am I? application. The user can open a map, and pin various locations which they would like to visit. These places are stored in a list where the user can tap on an item, which will segue to the map and zoom in to that location. This process is done through reverseGeoEncoding, which uses latitude and longitude to determine a location.
  • Metallica: An iOS application with one purpose - to play Metallica - Master of Puppets. Features the ability to pause, stop, reset, and set a place in the song - a good starting point for a full-featured music application.
  • Sound Shaker: An iOS application which plays a random sound effect whenever the device has been shaken.
  • Instagram Clone: An iOS Instagram clone, with loads of features and one of the largest applications I have currently built.

Feature Tests

Before developing an application, there are test demonstrations which help explore a new feature using Swift + the iOS development SDK on XCode. The list of demo projects are listed below:

  • Permanent Storage: A test application which demonstrates and explores how to store data whenever the application is shut down and resume.
  • Navigation: A test application for working with navigating through an application.
  • Playgrounds: A set of Swift playgrounds for experimenting with the Swift programming constructs, such as loops, control statements, functions, etc. Playgrounds are great for writing functionality before porting it over to an iOS application - constantly reloading the application to test a change is time-consuming and not terribly efficient.
  • Table Views: A sample application for learning to use Table Views and Prototype cells, as well as the code needed to display and edit content on a table.
  • Animations: A sample application to explore iOS animations.

Notes

Throughout the course of development, I will try to keep my developer notes up to date. These notes will contain things that I've learned while working on these applications, as well as for my own personal reference. You may find the notes here.

About

Repository containing various Swift examples and iOS applications


Languages

Language:Swift 86.7%Language:Objective-C 13.3%