XTide port to iOS