Photo sharing use PhotoKit and CloudKit in iOS8 written in Swift