Cocos2D-Swift. formerly Cocos2d-iPhone. Cocos2D-Swift is an open-source framework for building cross-platform 2D games with Xcode and Objective-C.