Started port for iOS

Signed-off-by: Leo Fidjeland <leo.fidjeland@gmail.com>