New features of the ios6 SDK that developers need to know

Source: Internet
Author: User
ArticleDirectory
    • Map
    • Map
    • Deep social network integration
    • Passbook and passkit
    • Game Center
    • Reminder
    • New IAP
    • Collection views
    • Save UI status
    • Privacy Control
    • Other changes worth mentioning
    • Deep social network integration
    • Passbook and passkit
    • Game Center
    • Reminder
    • New IAP
    • Collection views
    • Save UI status
    • Privacy Control
    • Other changes worth mentioning

From http://www.onevcat.com/2012/06/%E5%BC%80%E5%8F%91%E8%80%85%E6%89%80%E9%9C%80%E8%A6%81%E7%9F%A5%E9%81%93%E7%9A%84ios6-sdk%E6%96%B0%E7%89%B9%E6%80%A7/

 

Ios6 beta and corresponding sdks have been released, and wwdc2012 is about to enter the session stage. Ios6 is undoubtedly the focus of this WWDC. In keynote, many new features are presented to consumers, and the subsequent seesion should be more important for developers. Here we will first make a simple arrangement of the features that new developers in ios6 may use. Afterwards, I will also pick some sessions that I am interested in and do some sorting and translation work. It is also a kind of exercise for myself ~ Sort related notes as follows:

Session 200 what's new in cocoa touch New Features

Session 405 modern objective-C advanced objective-C

Session 205 introducing collection views getting started

Session 219 advanced collection views and building custom layouts advanced collection view and custom Layout

Session 202,228,232 autolayout

 

 

 

Map

Ios6 abandoned Google map and used its own map service. Correspondingly, the mapkit framework is bound to Apple's own map service. The advantage is that they are all their own content, so integration and openness will go further. Third-party apps now have the opportunity to interact with map applications. That is to say, if you do not use an app that carries map information, you can now open the map application and display routes and locations of interest. This is good news for the application of Route Planning and recording ~

 

You are welcome to repost this article, but please indicate the source of this article:Http://2.gy/erSp

Ios6 beta and corresponding sdks have been released, and wwdc2012 is about to enter the session stage. Ios6 is undoubtedly the focus of this WWDC. In keynote, many new features are presented to consumers, and the subsequent seesion should be more important for developers. Here we will first make a simple arrangement of the features that new developers in ios6 may use. Afterwards, I will also pick some sessions that I am interested in and do some sorting and translation work. It is also a kind of exercise for myself ~ Sort related notes as follows:

Session 200 what's new in cocoa touch New Features

Session 405 modern objective-C advanced objective-C

Session 205 introducing collection views getting started

Session 219 advanced collection views and building custom layouts advanced collection view and custom Layout

Session 202,228,232 autolayout

 

 

 

Map

Ios6 abandoned Google map and used its own map service. Correspondingly, the mapkit framework is bound to Apple's own map service. The advantage is that they are all their own content, so integration and openness will go further. Third-party apps now have the opportunity to interact with map applications. That is to say, if you do not use an app that carries map information, you can now open the map application and display routes and locations of interest. This is good news for the application of Route Planning and recording ~

 

 

 

 

Deep social network integration

IOS 5 deeply integrates Twitter, and apple seems to have tasted a lot of sweetness. Now Apple deeply integrates Facebook and Sina Weibo. Yes, you are not mistaken. Sina Weibo is now deeply integrated. For development, especially Chinese developers, it is really good news, because if you just want to send a message, you no longer need to make tedious API applications, and you no longer need to accept Sina's disgusting application reviews, and no longer need to endure SinaProgramA hundred errors have been written by the engineer. Using the new social. framework can easily obtain authentication from the system and send messages to social networks. This is a good supplement to app promotion.

 

In addition, Apple provides a new viewcontroller: uiactivityviewcontroller, which can be viewed as Apple's efforts to unify the interface and user experience, however, it is estimated that few people may use the default Interface except Apple's own applications .. after all, the risk will be inconsistent with your UI style...

 

 

 

Passbook and passkit

Passbook is a new application of ios6. It can be used to store coupons, movie tickets, boarding passes, and so on. Maybe the new application of passbook is not very popular, but I insist that this will be a promising direction. This is another attempt to replace physical entities with digital systems, and I have seen from passbook the space for Apple's future development in the NFC field. Because iPhone devices are easy to unify, Apple may first develop NFC's new gaming standard. If it comes true, the e-wallet and e-payment will become a huge bucket...

 

Passkit is a new one. It can be said that it works with or echoes the existing frame of passbook. Developers can use passkit to generate and read files in special formats that contain information such as coupons and movie tickets, and then send them to users using encrypted signatures. Then, you can use these creden。 in a similar way as physical creden. This gives many opportunities for places like cinemas and restaurants. passkit can be used to develop ticketing systems or discount systems to introduce a more convenient Ticketing System and win more customers. Of course, it can only be used as a supplement to physical creden. I always believe that when the iPhone is added to the NFC module, passbook will change, and your iPhone will naturally become an electronic wallet.

 

 

 

Game Center

The stuff introduced by ios4 has never been very useful. In ios6, Apple finally upgraded the system. Simply put, some functions have been improved, mainly for online combat matching, but I still don't like it... I wanted to use the gamecenter Matching System to write about the cubs match at the time. As a result, various matching and network tragedies resulted in a waste of one month. Games such as fruit ninja use the gamecenter combat system, but they also face problems such as frequent disconnections. It can be said that the gaming experience is greatly compromised. Although some new features have been added to ios6, the overall mechanism and performance have not changed. Therefore, I am still not optimistic about the performance of the game center (or the performance in China, if Apple is able to host gamecenter servers in China, it may be improved ).

 

However, gamecenter is also added to mountain lion. That is to say, in the future, we may be able to use iOS devices and Mac to play online through gamecenter, or even directly use Mac and MAC for online combat. This provides a good idea for individual developers who do not have their own servers/do not write their own back-end servers/do not have the energy to maintain. It is not difficult to use gamecenter to make some simple online games. Due to the gamecenter feature, this cost will be very low. This may be a good direction in the future ~

 

 

 

Reminder

The built-in Reminder application has been enhanced. Apple has finally opened the event KIT framework and a set of standard user interfaces. There is not much to say about this. the to-do application is already flooded with appstore, but it provides a function to add a list to the system reversely, however, other features of professional to-do applications believe that Apple will not want to replace them in the future.

 

 

 

 

New IAP

IAP (in-APP purchase) can now buy music directly from the iTunes store. This works well with iTunes match, but it has nothing to do with tianchao users... The first is that the iTunes store is not available in tianchao, and the second is that if I have the idea of purchasing genuine music for users, we developers may have to laugh.

 

 

 

 

Collection views

I have to say that Apple is shameless (or intelligent )." The plagiarized artist is a good artist and the plagiarized artist is a good artist. The new uicollectionview is basically implemented.PscollectionviewIn short, it is similar to the "waterfall stream" Display Method of Pinterest. Of course, uicollectionview is more flexible and can be arranged according to requirements. Well, Apple also provides the corresponding VC: uicollectionviewcontroller.

 

This UI display method may not work well on the iPhone, but it will work well on the iPad. Many apps such as photo display can be used, but in fact, if it is just a waterfall stream, it is estimated that we will continue to use it in a short time.Source codeAfter all, only for ios6 will reduce the number of users ..

 

 

 

Save UI status

Apple wants the user to close the app, and the interface status will be maintained when the app is opened next time. It is natural for apps that support the background and are not killed. However, it is not that easy to run in the background or kill the process on your own. The current practice is to archive all the VC files from the rootviewcontroller and save them as nsdata. Then, check the files at the next startup and decompress the files if they need to be restored.

 

Every time you write this in appdelegateCodeIt is complicated and not elegant, so apple helped developers do the dirty work in ios6, which is not bad ~ In fact, the mechanism should not be changed. It is to put the code into app startup ..

 

 

 

Privacy Control

Since Apple was exposed to privacy concerns, it has paid more attention to this issue. In addition to location information, access to contacts, calendars, reminders, and photos is also mandatory. It has little impact on common developers, because users will certainly understand it if they really need it, but it may have an impact on rogue companies with a 360 stream, as long as it is okay... =?

 

 

 

 

Other changes worth mentioning
    • The entire uiview supports nsattributedstring format strings. In particular, uitextview and uitextfield ~ (Copy open source againCommunity, Apple, you win again)
    • Uiimage now has a new method. You can specify scale when generating a uiimage object. Free the kids shoes developed for the retina iPad ..
    • Nsuuid. You can easily create a uuid using this class. Note that this is a uuid. Do not mix it with the udid... The udid solution promised by Apple does not appear yet. Use openudid if you want to use udid ~

 

 

 

According to the practice of WWDC in the past, the developer session will explain these changes and some issues and tips existing in IOS in the next few days. After the session is published, I will sort out some parts that I am interested in and may be useful ~ Coming soon ~ O ^

 

 

 

Deep social network integration

IOS 5 deeply integrates Twitter, and apple seems to have tasted a lot of sweetness. Now Apple deeply integrates Facebook and Sina Weibo. Yes, you are not mistaken. Sina Weibo is now deeply integrated. For development, especially Chinese developers, it is really good news, because if you just want to send a message, you no longer need to make tedious API applications, and you no longer need to accept Sina's disgusting application reviews, and there is no longer a need to endure the errors written by Sina programmers. Using the new social. framework can easily obtain authentication from the system and send messages to social networks. This is a good supplement to app promotion.

 

In addition, Apple provides a new viewcontroller: uiactivityviewcontroller, which can be viewed as Apple's efforts to unify the interface and user experience, however, it is estimated that few people may use the default Interface except Apple's own applications .. after all, the risk will be inconsistent with your UI style...

 

 

 

Passbook and passkit

Passbook is a new application of ios6. It can be used to store coupons, movie tickets, boarding passes, and so on. Maybe the new application of passbook is not very popular, but I insist that this will be a promising direction. This is another attempt to replace physical entities with digital systems, and I have seen from passbook the space for Apple's future development in the NFC field. Because iPhone devices are easy to unify, Apple may first develop NFC's new gaming standard. If it comes true, the e-wallet and e-payment will become a huge bucket...

 

Passkit is a new one. It can be said that it works with or echoes the existing frame of passbook. Developers can use passkit to generate and read files in special formats that contain information such as coupons and movie tickets, and then send them to users using encrypted signatures. Then, you can use these creden。 in a similar way as physical creden. This gives many opportunities for places like cinemas and restaurants. passkit can be used to develop ticketing systems or discount systems to introduce a more convenient Ticketing System and win more customers. Of course, it can only be used as a supplement to physical creden. I always believe that when the iPhone is added to the NFC module, passbook will change, and your iPhone will naturally become an electronic wallet.

 

 

 

Game Center

The stuff introduced by ios4 has never been very useful. In ios6, Apple finally upgraded the system. Simply put, some functions have been improved, mainly for online combat matching, but I still don't like it... I wanted to use the gamecenter Matching System to write about the cubs match at the time. As a result, various matching and network tragedies resulted in a waste of one month. Games such as fruit ninja use the gamecenter combat system, but they also face problems such as frequent disconnections. It can be said that the gaming experience is greatly compromised. Although some new features have been added to ios6, the overall mechanism and performance have not changed. Therefore, I am still not optimistic about the performance of the game center (or the performance in China, if Apple is able to host gamecenter servers in China, it may be improved ).

 

However, gamecenter is also added to mountain lion. That is to say, in the future, we may be able to use iOS devices and Mac to play online through gamecenter, or even directly use Mac and MAC for online combat. This provides a good idea for individual developers who do not have their own servers/do not write their own back-end servers/do not have the energy to maintain. It is not difficult to use gamecenter to make some simple online games. Due to the gamecenter feature, this cost will be very low. This may be a good direction in the future ~

 

 

 

Reminder

The built-in Reminder application has been enhanced. Apple has finally opened the event KIT framework and a set of standard user interfaces. There is not much to say about this. the to-do application is already flooded with appstore, but it provides a function to add a list to the system reversely, however, other features of professional to-do applications believe that Apple will not want to replace them in the future.

 

 

 

 

New IAP

IAP (in-APP purchase) can now buy music directly from the iTunes store. This works well with iTunes match, but it has nothing to do with tianchao users... The first is that the iTunes store is not available in tianchao, and the second is that if I have the idea of purchasing genuine music for users, we developers may have to laugh.

 

 

 

 

Collection views

I have to say that Apple is shameless (or intelligent )." The plagiarized artist is a good artist and the plagiarized artist is a good artist. The new uicollectionview is basically implemented.PscollectionviewIn short, it is similar to the "waterfall stream" Display Method of Pinterest. Of course, uicollectionview is more flexible and can be arranged according to requirements. Well, Apple also provides the corresponding VC: uicollectionviewcontroller.

 

This UI display method may not work well on the iPhone, but it will work well on the iPad. Many apps such as photo display can be used, but in fact, if it is just a waterfall stream, it is estimated that people will still use open source code in a short time. After all, only for ios6 will reduce the number of users more or less ..

 

 

 

Save UI status

Apple wants the user to close the app, and the interface status will be maintained when the app is opened next time. It is natural for apps that support the background and are not killed. However, it is not that easy to run in the background or kill the process on your own. The current practice is to archive all the VC files from the rootviewcontroller and save them as nsdata. Then, check the files at the next startup and decompress the files if they need to be restored.

 

Every time I write this code in appdelegate, it is complicated and elegant. So apple helped developers do this dirty work in ios6, which is not bad ~ In fact, the mechanism should not be changed. It is to put the code into app startup ..

 

 

 

Privacy Control

Since Apple was exposed to privacy concerns, it has paid more attention to this issue. In addition to location information, access to contacts, calendars, reminders, and photos is also mandatory. It has little impact on common developers, because users will certainly understand it if they really need it, but it may have an impact on rogue companies with a 360 stream, as long as it is okay... =?

 

 

 

 

Other changes worth mentioning
    • The entire uiview supports nsattributedstring format strings. In particular, uitextview and uitextfield ~ (Copy the open-source community again, and you win again with Apple)
    • Uiimage now has a new method. You can specify scale when generating a uiimage object. Free the kids shoes developed for the retina iPad ..
    • Nsuuid. You can easily create a uuid using this class. Note that this is a uuid. Do not mix it with the udid... The udid solution promised by Apple does not appear yet. Use openudid if you want to use udid ~

 

 

 

According to the practice of WWDC in the past, the developer session will explain these changes and some issues and tips existing in IOS in the next few days. After the session is published, I will sort out some parts that I am interested in and may be useful ~ Coming soon ~

-See More: http://www.onevcat.com/2012/06/%E5%BC%80%E5%8F%91%E8%80%85%E6%89%80%E9%9C%80%E8%A6%81%E7%9F%A5%E9%81%93%E7%9A%84ios6-sdk%E6%96%B0%E7%89%B9%E6%80%A7/#sthash.mqDkFgOM.dpuf

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.