Building software can be as easy as baking a cake, or as hard as rocket science. It all depends on the tools you use. As a developer, you’ve probably encountered issues like inconsistent builds, long build times, and dependency hell. If you want to make your life easier and your software better, you may want to try Bazel, the ultimate build tool that can handle anything from cupcakes to spaceships.
Self-hosted platforms have been around for a long time but fully managed solutions are the future. Learn the differences between self-hosted and fully managed to help you make the right decision for your organization.
An array is like a box with compartments, where you can store a set number of items of the same kind. Arrays play a crucial role in Kotlin, helping us hold many items together. They allow us to send multiple values to a function easily, or make various changes to the data. There are various different forms of arrays in Kotlin, including the object-type array, represented by something called the array class.
In Swift there are 3 primary types of collections to store your data in a structured way, namely: In this article we aim to give you an overview of each. Specifically we want to show how they’re declared, illustrate the most common operations of each, provide comparisons between them where applicable and highlight the various performance considerations.
Closures provide a powerful, flexible way for iOS developers to define and use functions in Swift, replacing the blocks used in its predecessor Objective-C. They provide self-contained modules of functionality that you can move around in your code, similar to the lambdas found in other programming languages. Crucially, closures can capture and store references to any constants and variables from the context in which they’re defined.
GraphQL is a query language and runtime for APIs, developed by Facebook in 2012 and later open-sourced in 2015. And it has changed the way we fetch data from our server. Typically, most front-end clients – like React, Angular, Vue, or mobile apps like iOS and Android – use REST APIs to fetch data from the server. REST APIs require more HTTP calls than GraphQL, which leads to over and underfetching.
UI testing in mobile app development is a challenging task due to multiple factors such as flaky tests, saving screenshots, printing useful logs and readability of test codes. We will be talking about a new UI testing framework Kaspresso for Android apps and how it is different from other frameworks when it comes down to solving these challenges.