Samples targeting both iOS and OSX that share code.