This is my first time writing Swift and using Xcode, so please bear with me.
I\'m trying to write an iPhone app which takes values from the devices gyroscope/magnetom