using xcode 6 beta using swift programming language