Skip to content

Instantly share code, notes, and snippets.

View dylanbeadle's full-sized avatar

Dylan Beadle dylanbeadle

View GitHub Profile

iOS Imperatives For Fast Approval

Condensed Apple iOS Human Interface Guidelines

For iPhone developers (ignoring iPad for now) with an emphasis on getting the fastest app store approval. Everything that was a suggestion becomes an imperative where it makes sense. If you're thinking of violating these rules, you can check for yourself what the caveats are. Generally speaking, deviating from these imperatives will more likely cause your app to be hung up in approval.

You can read this entire document in about 20 minutes. This is faster than reading and understanding the entire Human Interface Guidelines.

  1. iPhone apps home / start screen shall be portrait mode (11)
  2. Don't use standard gestures to do non-standard things (11, 60)
@dylanbeadle
dylanbeadle / gen.swift
Created November 11, 2016 15:33 — forked from blainerothrock/gen.swift
A Very Simple Genetic Algorithm Written in Swift 3
#!/usr/bin/env xcrun swift
/*
gen.swift is a direct port of cfdrake's helloevolve.py from Python 2.7 to Swift 3
-------------------- https://gist.github.com/cfdrake/973505 ---------------------
gen.swift implements a genetic algorithm that starts with a base
population of randomly generated strings, iterates over a certain number of
generations while implementing 'natural selection', and prints out the most fit
string.