Архитектура — Cocoa Developers Club http://cocoadevelopers.club Открытый клуб iOS и OS X разработчиков Wed, 23 Nov 2016 12:04:01 +0000 ru-RU hourly 1 https://wordpress.org/?v=4.6.1 Reducing WatchKit Traffic With View Models http://cocoadevelopers.club/2015/05/reducing-watchkit-traffic-with-view-models/ http://cocoadevelopers.club/2015/05/reducing-watchkit-traffic-with-view-models/#respond Wed, 27 May 2015 07:36:36 +0000 http://cocoadevelopers.club/?p=249 If you own an Apple Watch, you probably noticed something disappointing: 3rd party apps are SLOW.

If you’ve written a watch app, you’ll know that a big part of the problem lies in the bandwidth limitations of phone to watch communication. Architecting a performant WatchKit extension can be difficult due to the write-only nature of WatchKit UI elements and the stringly-typed nature of controllers.

How can we decrease traffic sent from the phone to the watch while simultaneously reducing the complexity of your app’s architecture? In this post I will describe how these can be achieved by using View Models.… Читать дальше →

]]>
http://cocoadevelopers.club/2015/05/reducing-watchkit-traffic-with-view-models/feed/ 0