iOS Development Weekly: New IPhone may cancel headphone jack, Facebook releases TvOS SDK

Source: Internet
Author: User

The next iPhone may cancel the headphone socket to further reduce the body thickness and use the Lightning interface instead. The iphone 6c is rumored to be two iphone launches in 2016.

News

    1. A new generation of iphone may cancel the headphone jack and switch to the Lightning interface: Although it is still a long way from the next generation of iphones, there have been some rumors about the iphone 7 recently. The new IPhone is said to reduce the body thickness further, eliminating the fact that the headset industry standard 3.5mm headphones. The headphone interface has been a bottleneck for the thickness of the fuselage for some time, but given the support of the market equipment, handset manufacturers often can only compromise. Apple has long considered a 2.5mm headphone socket, but last year Apple's headphone standards for the Lightning interface seem to imply that Apple may be more inclined to use similar technologies in future devices.
    2. Apple may launch the 4-inch iphone 6c in 2016: Earlier rumors that Apple was considering a new version of a small-screen phone while maintaining the trend of the recent big-screen phone. Recently, there have been news updates from the media. This device is likely to be named iphone 6c, which will inherit the iphone 5s features including device size and key features, and perform hardware upgrades to provide users who are more inclined to choose a smaller screen. The device is likely to be released in the first half of 2016, and in the second half it will be routinely released as a new flagship model. If the news is true, it will change the IPhone's annual release tradition.
    3. Facebook launches the TvOS SDK: Apple TV is now highly developed abroad, as the next-generation Apple TV is selling, and Apple is opening up its search algorithms for Apple TV App Store. But a big limitation on TvOS is that it is not allowed to use WebView to directly display the content of the Web, and the keyboard input experience with Apple TV is very bad. This in many cases limits the user experience like registering or logging in. Facebook this week released the SDK specifically for TvOS, where the "use Facebook Login" feature was specifically optimized for TvOS. Users can use other devices at hand to sign in without having to enter directly on the TV, which may also be the standard way of landing for future TvOS applications.

Tutorial

    1. The OBJC implementation of the TvOS Parallax button: In the previous weekly report we mentioned a Swift implementation framework that simulates the effect of the Parallax button on IOS TvOS, and this article describes another implementation using OBJECTIVE-C. This paper introduces in detail the thinking and concrete method of realizing parallax effect, and the problems encountered in it are worth reading.
    2. Optimizing Facebook for IOS start time: The app's startup speed is a very important part of the user experience. If the application starts quickly and smoothly, it can often leave a good first impression on the user, whereas if it takes a long time for the first launch, your application may not have a second chance of being opened. This article from a Facebook engineer describes some scenarios for optimizing startup time and things to keep in mind.
    3. IOS Unit testing:dependency injection with Structs in Swift: Dependency injection is a common means of testing, and in other languages, using dependency injection usually needs to be done by subclasses. In fact, Swift programming prefers to use value types, which in part contradict the concept of subclasses or inheritance. But if we were to build by using a protocol-oriented approach, we could easily test the value type for dependency injection. This article explains some of this knowledge.
    4. Fastlane tutorial:getting Started: Continuous Integration (CI) has always been an important part of enterprise development. A good CI can not only reduce the defects in the program, but also help developers to work happily and deliver quality code products on time. But configuring a CI environment is often a challenge in itself. Fastlane is a series of open source scripting components that can help us quickly and easily build automated tests, package and even submit processes. This tutorial uses an example to illustrate the preliminary use of Fastlane.

Open Source Projects

    1. Netfox: A framework for debugging that can monitor all network requests and return results within an app. By adding the framework to the project and starting it, all network requests are logged and can be viewed. In the past we may all need to rely on the network agent on the Mac to monitor, in building debugging or testing the application of this framework can let us avoid the configuration and connection to the computer steps, directly in the project to monitor these network requests, very convenient. The project was built using Swift 2.1, but you can also use this framework in OBJECTIVE-C projects.
    2. Autocompletefield: Adds an auto-complete frame to your input box. By setting an alternate list, the user can enter the auto-completion function of the entry that satisfies the prefix. Although functionally simple, it can bring a very pleasant user experience. If you have some predictable user input in your app, then using this framework to save time for your users will also give the app a lot of praise.
    3. Alcameraviewcontroller: A framework that Swift writes to guide the user through a camera or a local album to get photos and crop them. Getting photos and cropping is an essential requirement when a user sets an avatar or uploading a photo, usually we need to verify/request permission to determine the user's device availability before filming and cropping. Although the whole process and logic is not complicated, it also takes time to encode and test. This framework provides us with a "ready to open bag" solution that can be used as a reference or alternative implementation of this feature.

iOS Development Weekly: New IPhone may cancel headphone jack, Facebook releases TvOS SDK

Related Article

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.