А если вы вообще забыли, что такое эти ваши координаторы - держите статью Андрея Панова на тему.
https://medium.com/blacklane-engineering/coordinators-essential-tutorial-part-i-376c836e9ba7
#patterns
https://medium.com/blacklane-engineering/coordinators-essential-tutorial-part-i-376c836e9ba7
#patterns
Medium
Coordinators Essential tutorial. Part I
In 2015, at the well-known iOS conference NSSpain’15, Soroush Khanlou made an introductory talk “Presenting Coordinators”. During this talk…
Мощный лонгрид от Фаулера, в котором он описывает разные паттерны для работы с GUI, сравнивает их и выделяет плюсы и минусы каждого.
https://www.martinfowler.com/eaaDev/uiArchs.html
#patterns
https://www.martinfowler.com/eaaDev/uiArchs.html
#patterns
martinfowler.com
GUI Architectures
Describing the way architectures for UIs have evolved over the years, in particular the many and often misunderstood definitions for Model-View-Controller.
Обзор нескольких способов разрешения конфликтов в системах с возможностью одновременного редактирования данных. Годно, с демкой и примерами.
https://news.realm.io/news/conflict-resolution-for-eventual-consistency-goto/
#patterns
https://news.realm.io/news/conflict-resolution-for-eventual-consistency-goto/
#patterns
Про три главных правила написания базовых вьюконтроллеров. Хотя мы все, конечно, понимаем, что правило всего одно - никогда не писать их. Нет, вообще никогда. Прямо совсем никогда.
http://ioscoachfrank.com/2017/05/15/3-rules-to-base-view-controllers.html
#patterns
http://ioscoachfrank.com/2017/05/15/3-rules-to-base-view-controllers.html
#patterns
Ioscoachfrank
The 3 Rules to Great Base View Controllers
Inheritance can be a double-edged sword, especially when it comes to building our own UIViewControllers. In this article, we’ll look at how we can make base ...
Детально про устройство и реализацию движка для работы с регулярными выражениями.
http://wstoop.co.za/wregex.php
#patterns #tools
http://wstoop.co.za/wregex.php
#patterns #tools
Последовательный рефакторинг куска кода, основанный на применении паттернов statement, message и reducer.
https://www.cocoawithlove.com/blog/statements-messages-reducers.html
#patterns #refactoring
https://www.cocoawithlove.com/blog/statements-messages-reducers.html
#patterns #refactoring
Cocoa with Love
Statements, messages and reducers
I show how to structure programs around three tiers of computational units – statements, messages and reducers – and talk about the general problem of containing and isolating state that this restructuring aims to address.
Пришло время вернуться к вопросу стилизации приложений. Доклад про один из подходов, включающих тесное взаимодействие с дизайнером.
https://www.youtube.com/watch?v=Zq2444Uj8PE
#ui #patterns
https://www.youtube.com/watch?v=Zq2444Uj8PE
#ui #patterns
YouTube
Стилизация компонентов в iOS приложениях - Михаил Мотылев (Avito)
В докладе рассматривается проблематика стандартных подходов к стилизации компонентов и решение, применяемое в команде профессиональных инструментов Avito.
В новом выпуске Podlodka Podcast к нам в гости впервые пришел человек, далекий от мира мобилок - Сергей Тепляков, .NET разработчик из Microsoft, известный своей книгой про паттерны проектирования и наикрутейшем блогом. Мы поговорили сразу о нескольких крупных темах - как правильно балансировать между производительностью системы и ее хорошим дизайном, про роль самообразования в развитии разработчика и о работе в Microsoft.
SoundCloud: http://bit.ly/2sGOCfN
iTunes: http://apple.co/2rFNNFG
Содержание и ссылки: http://bit.ly/2tZcnnd
#podlodka #patterns #career
SoundCloud: http://bit.ly/2sGOCfN
iTunes: http://apple.co/2rFNNFG
Содержание и ссылки: http://bit.ly/2tZcnnd
#podlodka #patterns #career
SoundCloud
Вам шашечки или ехать
В этом выпуске к нам в гости впервые пришел человек, далекий от мира мобилок - Сергей Тепляков, .NET разработчик из Microsoft, известный своей книгой про паттерны проектирования и наикрутейшем блогом.
Назначение, устройство и использование паттернов promise и future.
https://www.swiftbysundell.com/posts/under-the-hood-of-futures-and-promises-in-swift
#patterns
https://www.swiftbysundell.com/posts/under-the-hood-of-futures-and-promises-in-swift
#patterns
Swift by Sundell
Under the hood of Futures and Promises in Swift | Swift by Sundell
Let's take a look at Futures and Promises, a really popular abstraction for making asynchronous code easier to manage, by writing an implementation from scratch.
Ребята из PVS-Studio выявили крутую закономерность. Если вы копипастите код, то с большой долей вероятности ошибка будет именно в последней строчке. Подкреплено данными и вот это все.
https://viva64.com/en/b/0260/
#debug #patterns
https://viva64.com/en/b/0260/
#debug #patterns
PVS-Studio
The Last Line Effect
I have studied many errors caused by the use of the Copy-Paste method, and can assure you that programmers most often tend to make mistakes in the last fragment of a homogeneous code block.…
Про реализацию Dependency Injection с помощью экстеншнов свифтовых протоколов. Говорят, что это называется cake pattern.
https://medium.com/swift-programming/dependency-injection-with-the-cake-pattern-3cf87f9e97af
#swift #di #patterns
https://medium.com/swift-programming/dependency-injection-with-the-cake-pattern-3cf87f9e97af
#swift #di #patterns
Medium
Dependency Injection with the Cake Pattern
In the beginning of this year, I was looking at different ways to achieve dependency injection in Swift. A colleague of mine mentioned this…
И сразу вдогонку статья-ответочка, где автор на пальцах объясняет, что вот это вот DI назвать нельзя. Целиком подписываюсь под этим постом.
https://buff.ly/2xBaFXL
#di #swift #patterns
https://buff.ly/2xBaFXL
#di #swift #patterns
Cleancocoa
Dependency Injection via the Recent "Cake Pattern in Swift" Pattern is Useless in Practice
Dependency Injection means you do not create objects where you use them but “inject” objects a function/method/object depends on from outside. This is a usef...
Про то, как не ставить самому себе палки в колёса и не переизобретать UIKit. По сути набор полезных советов и паттернов организации кода представления.
https://habrahabr.ru/company/badoo/blog/341542/
#ui #patterns
https://habrahabr.ru/company/badoo/blog/341542/
#ui #patterns
Хабр
Как подружиться с UIKit
Привет, Хабр! Меня зовут Богдан, в Badoo я работаю в мобильной команде iOS-разработчиком. Мы достаточно редко рассказываем что-либо о нашей мобильной разработке...
Разбираемся вместе с Бугаенко, что лучше использовать – конструкторы или фабричные методы.
http://www.yegor256.com/2017/11/14/static-factory-methods.html
#patterns #oop
http://www.yegor256.com/2017/11/14/static-factory-methods.html
#patterns #oop
Yegor Bugayenko
Constructors or Static Factory Methods?
Static factory methods are supposed to be a convenient replacement of object constructors; however, I disagree with this idea and explain why.
Про использование childViewController’ов для инкапсуляции определенных кусков бизнес-логики основного контроллера.
https://www.swiftbysundell.com/posts/using-child-view-controllers-as-plugins-in-swift
#patterns
https://www.swiftbysundell.com/posts/using-child-view-controllers-as-plugins-in-swift
#patterns
Swift by Sundell
Using child view controllers as plugins in Swift | Swift by Sundell
A very common problem when building apps for Apple's platforms is where to put common functionality that's used by many different view controllers. Rather than using a BaseViewController or relying on inheritance in some other way, let's take a look at how…
Разбираемся, почему синглтоны и сервис-локаторы считаются анти-паттернами.
https://badootech.badoo.com/singleton-service-locator-and-tests-in-ios-d69484e88944
#patterns
https://badootech.badoo.com/singleton-service-locator-and-tests-in-ios-d69484e88944
#patterns
Medium
Singleton, Service Locator and tests in iOS
In this article, I want to review the usage of Singleton and Service Locator patterns in iOS and the reasons why they are often called…
Доработка паттерна Coordinator для поддержки работы с нативным NavigationBar и свайпом назад.
https://medium.com/flawless-app-stories/flow-coordinator-pattern-on-steroids-a52021e31bfe
#patterns #navigation
https://medium.com/flawless-app-stories/flow-coordinator-pattern-on-steroids-a52021e31bfe
#patterns #navigation
Medium
Flow coordinator pattern on steroids
How to use flow coordinator pattern with a native navigation bar and swipe back action
Про zero cost абстракции, требования к ним и примеры из разных языков программирования.
https://boats.gitlab.io/blog/post/zero-cost-abstractions/
#patterns
https://boats.gitlab.io/blog/post/zero-cost-abstractions/
#patterns
withoutblogs
Zero Cost Abstractions
The idea of a zero cost abstraction is very important to certain programming languages, like Rust and C++, which intend to enable users to write programs with excellent performance profiles with …
Использование паттерна правил для организации функций в Swift.
https://www.swiftbysundell.com/posts/rule-based-logic-in-swift
#patterns
https://www.swiftbysundell.com/posts/rule-based-logic-in-swift
#patterns
Swift by Sundell
Rule-based logic in Swift | Swift by Sundell
Very often we can make a big impact on the quality of our code base by improving some of its more minor details. This week, let’s take a look at one technique for doing such local improvements, by refactoring large functions into dedicated, rule-based systems.
Огромный гайд по всем проблемам, связанным с управлением стейтом приложения, и способам их решения.
https://www.appcoda.com/state-management-ios/
#patterns
https://www.appcoda.com/state-management-ios/
#patterns
AppCoda
The Comprehensive Guide to the State Management in iOS
There are many challenges in the software development, but there is one beast that tends to screw things up much more often than the others: the problem of app’s state management and data propagation.
So what can go wrong with the state, which is…
So what can go wrong with the state, which is…