Tagged:

Finally we have new iOS 7 from Apple in market for users and for iOS developers to utilize its new features and UI to make iPhone applications more attractive and user friendly.

iOS 7 has come up with lot of new changes in existing APIs and also added some new frameworks for developers mainly Sprite Kit, Game Control, Multipeer connectivity and many more which brings new level of experience for users. Here I have tried to provide details of the new frameworks in iOS 7 which are good to explore.

  1. Game Controller
  2. Multipeer Connectivity framework
  3. Media Accessibility framework
  4. Safari services
  5. JavaScript Core framework
  6. SpriteKit framework

1. Game Controller

Earlier, users had only one option to play games, and that is, with the iOS device touch screen. Now iOS 7 has brought a new option for users to interact with the games. Users can now play games using the Apple compatible hardware like joy-sticks and other game controllers. It’s easy to use with the new framework Game Controller.

  • Game Controller framework is useful to connect the game with a hardware controller. You can play a game on iOS device using this hardware controller.
  • With this new framework, it is now easy to connect the hardware controllers to the iOS device physically or wirelessly.
  • When the controller is discovered, the game can read all the control inputs available for the normal game play.
  • There are 3 kinds of controllers : Standard form fitting, Extended form fitting and Extended wireless controller. In the standard and extended form-fitting controller, the device is placed inside the controller and user can access both controller and device. The extended wireless controller can be connected wirelessly to an iOS device.
  • A form fitting controller is physically connected to the device, so it is automatically discovered by game controller framework. A wireless controller must be first paired to the device so that it can be discovered.
  • System sends notifications to game whenever a controller is connected or disconnected which can be used to read a controller object to configure it and read its input.
  • When designing an iOS game, it should be kept in mind that game controllers are optional. So the game must be playable without controller also.
  • A controller profile is used to read the control values from the controller. Each profile has a predefine set of physical controls and in order to support that profile, the controller must have all that controls, so you must choose a profile that matches with the game’s need. Game Controller frameworks maps that controller’s hardware controls to the control elements of the profile.
  • To get the complete state of control elements of the profile at any moment, a snapshot can be gathered from the profile.

Next we will see more about,
2) Multipeer Connectivity framework
3) Media Accessibility framework
4) Safari services
5) JavaScript Core framework
6) SpriteKit framework