Articles tagged 'software-development'
Page 4 of 6
Building a command-line interface (CLI) tools is a complicated task. We work on the logic of our application and also have to deal with other details like parsing parameters, handling the correct display directives depending on the TTY, etcetera. Vapor...
Read More...
Swift is a powerful language. It can be used to create command-line tools, iOS apps, watch OS apps, macOS apps and server-side applications. However, sometimes, we only need to complete a small task, maybe do some automation on our local setup or build...
Read More...
If you decided to create an Extension for your app (maybe a Today Extension), you will quickly find out that you need to access data from your main app. And soon after, you will find out that you can't access files in your main app directly from the...
Read More...
I am using the coordinator pattern on my Counter App. These are the steps to implement the coordinator pattern.
Read More...
Localization is not only translating content but adapting the content to culture, language and customs. This makes our apps more intuitive and engaging for our users. We can localize not only text, but we can also localize images, sounds, shortcuts...
Read More...
Accessing remote servers using passwords has been discouraged for a long time, and it is suggested to use SSH public keys as the authentication method. I've noticed that for some users, the setup and maintenance of their keys becomes a problem, so...
Read More...
In this post, I'll explain how to figure out where macOS stores specific preferences and how to modify them using the command line tool defaults. Knowing where the preferences are stored and how to manage them programmatically allows us to create scripts...
Read More...
A folder structure makes it easy to navigate and understand any project. On Xcode, we can build the project structure using groups. The problem with this is that it doesn't reflect on the filesystem. What this means is that if we are looking at the...
Read More...
The Natural Language framework, introduced by Apple in 2018, provides tools for developers to process and analyse text. The framework provides the following capabilities:
- Identification of language and scripts
- Tokenization
- Tagging
- Lemmatization
Read More...
The International Components for UnicodeICU provides powerful libraries for working with Unicode. In this post, I'll explain the basics of how to use ICU transforms in Swift. There are many areas to explore in ICU and Swift, but we will focus on using...
Read More...
Each app in iOS has only one UIApplication object in charge of managing the app when your app changes state in its life cycle(e.g. activate, suspend, send to background, reactivate, etc.) it notifies it's AppDelegate so it can run any task required...
Read More...
With the release of SourceKit-LSP we can run an LSP server for the Swift programming language. That means that we can take advantage of autocompletion and jump to the definition in our text editors that support connection to an LSP server. I'll show...
Read More...