Filters

Hide filters
Platform
Content Type
Difficulty

All Tutorials · Article · 524 Results

patterns Article
iOS & Swift
Core Graphics Tutorial: Patterns
Learn how to use Core Graphics to draw patterns in a performant…
Android & Kotlin
Common Design Patterns and App Architectures for Android
Discover how to make your Android code cleaner and easier to understand with these common design patterns for Android apps. “Future You” will appreciate…
iOS & Swift
Design Patterns by Tutorials: Updated for iOS 12 and Swift 4.2!
…excited to announce that the second edition of our book Design Patterns by Tutorials is now available — check out what’s been updated in the latest edition…
iOS & Swift
Getting Started With Core Haptics
…this Core Haptics tutorial, you’ll learn how to create and play haptic patterns, synchronize audio with haptic events and create dynamic haptic patterns that respond to external stimuli…
Android & Kotlin
Regular Expressions in Kotlin
…simple string methods could make you write more code than needed. Imagine you want to check whether a string is a phone number. The pattern for a phone number is three number strings separated by dashes. For example, 333-212-555 is a phone number, but 3333/2222…
iOS & Swift
Design Patterns by Tutorials: Full Release Now Available!
…excited to announce that the full release of our book Design Patterns by Tutorials is now available — check out what’s been added to the latest edition…
Android & Kotlin
MVVM and DataBinding: Android Design Patterns
This article describes the MVVM Design Pattern and its components, data binding, and other design patterns and architectural concepts for the Android platform…
Flutter & Dart
Getting Started With the BLoC Pattern
…popular BLoC pattern to build your Flutter app architecture and manage the flow of data through your widgets using Dart streams…
iOS & Swift
Getting Started With the VIP Clean Architecture Pattern
…this tutorial, you’ll learn how to utilize the VIP clean architecture pattern to develop apps for Apple platforms while building a SwiftUI for ordering an ice cream…
iOS & Swift
Core Graphics Tutorial: Patterns and Playgrounds
Learn how to draw a repeatable pattern and use Playgrounds to prototype drawing a complex image…
iOS & Swift
Design Patterns on iOS using Swift – Part 1/2
…first half of this two-part tutorial, you’ll learn about common design patterns when building iOS apps, and how to apply these patterns in your own apps…
Android & Kotlin
Repository Pattern with Jetpack Compose
…this tutorial, you’ll learn how to combine Jetpack Compose and the repository pattern, making your Android code easier to read and more maintainable…
iOS & Swift
Pattern Matching in Swift
…this pattern matching tutorial you’ll learn how you can use pattern matching with tuples, types, wildcards, optionals, enumeration, and expressions…
Game Tech
Implementing The Command Pattern In Unity
…achieve replay functionality, as well as undo and redo in Unity by using the command pattern. Use it to enhance strategy and similar games…
iOS & Swift
Regular Expressions Tutorial: Getting Started
…following code: extension NSRegularExpression { convenience init?(options: SearchOptions) throws { let searchString = options.searchString let isCaseSensitive = options.matchCase let isWholeWords = options.wholeWords let regexOption: NSRegularExpression.Options = isCaseSensitive ? [] : .caseInsensitive let pattern = isWholeWords ? "\\b\(searchString)\\b" : searchString try self.init(pattern: pattern, options: regexOption) } } This code adds a convenience initializer to NSRegularExpression. It uses the various settings within…
iOS & Swift
Design Patterns in iOS Using Swift – Part 2/2
…second part of this two-part tutorial on design patterns in Swift, you’ll learn more about adapter, observer, and memento patterns and how to apply them to your own apps…
iOS & Swift
Design Patterns by Tutorials: MVVM
Learn how and when to use the architecture-slash-design pattern of MVVM in this free chapter from our new book, Design Patterns by Tutorials…
Archive
Intermediate Design Patterns in Swift
Design patterns are incredibly useful for making code maintainable and readable. Learn design patterns in Swift with this hands on tutorial…
Game Tech
State Pattern Using Unity
Learn all about the Finite State Machine design pattern in Unity. Then implement it to control the movement of your own character…
iOS & Swift
New Scanning and Text Capabilities with VisionKit
Ingest tab. Soon you’ll be able to see what the camera recognizes in the view. Creating a Delegate Delegate protocols, or the delegation pattern, are common all through the Apple SDKs. They help you change a class behavior without needing to create a subclass. In the Project navigator…