update samples using Xcode6 Beta3