In this article, iOS developers finish off a recipe reader. Getting text from images, analyze the findings, and convert them into usable class objects with the help of Word Tagger in Create ML.
The clipped() modifier in SwiftUI doesn’t limit hit testing to the clipping region. The clipped view can still receive taps/clicks outside the visible area. Add .contentShape(Rectangle()) to change this behavior.
It’s all in the name: @dynamicCallable in Swift allows you to dynamically call methods using an alternative syntax. While it’s primarily syntactic sugar, it can be good to know why it exists and how it can be used. We covered @dynamicMemberLookup earlier, allowing us to express member lookup rules in dynamic languages naturally. @dynamicCallable is … →
Тест для iOS-разработчиков от OTUS.
✅ Пройдите тест и проверьте свой уровень знаний Swift. Результат получите сразу!
👉🏼 ПРОЙТИ ТЕСТ: https://otus.pw/1CmW/
Пройдете успешно тест, получите доступ к бесплатным вебинарам курса «iOS Developer. Professional» и бонус в виде скидки 20% на курс попромокоду: BLACKFRIDAY22
Пройдите тест, смотрите наши открытые уроки - и приходите учиться. Ждем!
How Swift’s opaque return types can be combined with primary associated types in order to create powerful abstractions without the need for any type erasure.
Sometimes in SwiftUI apps I’ll find that I have a model with an optional value that I’d like to pass to a view that requires a non optional value. This is especially the case when you’re using Core…
Nowadays, SwiftUI provides the Layout protocol allowing us to build super-custom layouts by digging into the layout system without using GeometryReader. Layout protocol brings us the incredible power of building and reusing any layout you can imagine. This week we will learn how to use the new Layout protocol to build a flow layout in SwiftUI.