This is the second article in our series on the Model Context Protocol (MCP) in Swift. If you haven't read the first part about building an MCP server in Swift, we recommend checking it out first. In our previous article, we explored how to create a ...
Padrões de injeção de dependência Quando falamos sobre injeção de dependência, existem alguns padrões diferentes que podemos usar para isso. Vou listar aqui três desses padrões que são citados na documentação do Swinject e que são suportados pela lib...
introduction Wikipedia is the confluence where open-source software meets free encyclopedias. Being an intern on the Wikipedia iOS team comes with its own set of responsibilities. However, I am fortunate and privileged to be on an active team that sh...
Intro I interestingly got into programming. It all kicked off with a Half-Life 2 modification back in the day. I wanted to make something cool for my favorite game. Then I realized that I'm really bad at level design or modelling. So I then attempted...
Over just a few days, I vibe coded a set of custom tools that completely transformed how I work with Claude Code and Sourcegraph AMP. The result? A seamless workflow where agents fix Swift code, based on logs pulled and parsed automatically from loca...
The Model Context Protocol (MCP) is a powerful standard that enables AI systems to connect with external tools and data sources. In this tutorial, we'll walk through creating a simple MCP server in Swift that provides two basic tools: an echo tool an...
Let me be clear:I hate having to write both DTOs and domain models. It feels like double work. It clutters the codebase. It adds yet another layer to think about when you're just trying to get an API to show some data on screen. And yet... I do it be...
Why Move Beyond Notification.Name + userInfo? Before iOS 26, posting and observing notifications always meant stringly-typed names and untyped dictionaries: extension Notification.Name { static let userDidLogin = .init("UserDidLogin") } // Posting...
import Foundation import Complex import Numerics var interstingNumbers = [ "primes": [2, 3, 5, 7, 11, 13, 17, 19, 23, 29], "triangular": [1, 3, 6, 10, 15, 21, 28, 36, 45, 55], "hexagonal": [1, 6, 15, 28, 45, 66, 91, 120, 153, 190], ] for key ...
If you’re diving into iOS app development, one of the biggest decisions you’ll face is choosing the right programming language. For years, Objective-C was the go-to language for Apple platforms. But with the introduction of Swift in 2014, the landsca...