Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
How to grant microphone permission to iTerm2 on macOS to use with Claude Code voice mode
-
How to add roms and save files to the RG35XX Plus 2nd SD card on the stock OS
-
How to load cheat codes for the Pokémons Emerald starters on the Delta emulator app for iOS
-
A code generation story.
-
Unit tests are a vital tool for writing quality code.
-
Test-Driven Development is an excellent way of writing code but many people push back against it.
-
My current thoughts on which merge strategy to use on GitHub.
-
Each XCTNSPredicateExpectation requires a timeout of at least 1.1 seconds.
-
Swift @Published properties come with an associated Combine Publisher that emits values over time.
-
I published a YouTube video with a tutorial on implementing the FizzBuzz algorithm using Test-Driven Development.
-
To test SwiftUI applications, don't test SwiftUI code.
-
My book, Test-Driven Development in Swift, is now available in online bookstores everywhere.
-
A roundup of the testing-related new features announced at WWDC 2021.
-
Swift 5.5 and Xcode 13 introduce the async/await pattern for concurrent code.
-
Testing Swift date comparison code with XCTest can result in indeterministic tests because of the passage of time.
-
Working from home doesn't have to be lonely.
-
When writing unit tests in Swift for complex objects, you may need to write a lot of setup boilerplate code in the arrange phase.
-
How to establish a workflow that minimizes unscheduled, unstructured communication and maximizes focus and productivity.
-
My latest post on mobile.blog explores two simple conventions Automattic uses to remove the need for synchronous meetings in their app release process.
-
How working your way backwards from your desired outcome can make you more productive, focused, and motivated.
-
Embrace boredom to train your brain to sustain focus when working on demanding tasks
-
Snippets to test the behavior of Combine Publishers in XCTest ready to copy and paste into Xcode
-
Camille Fournier encourages us to "Make Boring Plans" and move in small iterations.
-
This free tutorial shows how to migrate an existing app with SwiftUI life cycle to use UIKit App Delegate instead
-
The start of a new year is a great time to work on self-improvement, but unless you take the right steps, your New Year resolutions might not stick.
-
You can get the Swift compiler to generate an initializer with default values for your structs, if you're willing to put up with a bit of mutability.
-
The "You Don't Need It Yet" technique to ship software on a schedule results in fast real-world feeback.
-
The XCTest Swift testing framework has a limited offer of assertions.
-
Result is one of the most useful types in the Swift language.
-
Scientist can learn a lot from failed experiments.
-
When merging a pull request on GitHub, it helps to replace the default merge commit title with the PR title or an equally descriptive one.
-
How to make the unit tests of your SwiftUI app safer and faster by preventing them from running the program startup flow.
-
There are many ways to rename a file in Vim.
-
Here's a shell command to trim all the trailing whitespaces in all the files of the current folder.
-
Using Swift's nested types helps making it clear that a view model belongs to a view.
-
This post shows two ways of achieving dependency injection in SwiftUI: using @EnvironmentObject or a View Model Factory.
-
With his famous pipe wrench lecture, Vannevar Bush taught young MIT engineers the value of precision.
-
Hyperfocus will teach you how to concentrate effectively and let your mind wander to reach creative insights.
-
YDNIY is a purposeful restraint of what you decide to build in the interest of delivering value to the users as soon as possible and consistently.
-
The most exciting phrase to hear in science, and software development, the one that heralds new discoveries, is not "Eureka!"
-
iOS 14 introduces Widgets, a feature that makes it incredibly easy to get distracted.
-
Triple-state Booleans can be ambiguous to work with.
-
When the output value of a function changes often but the logic to pick it doesn't, adding a separation layer will make unit tests easier to maintain.
-
If you focus on writing honest code, you'll end up with software that is easier to understand and work with.
-
An explanation of what referential transparency means with examples in Swift