Blog

iOS & Swift

fastlane actions are the ❤️ of fastlane. Frequently, we use the available actions in our Fastfile passing the required parameters to run it. Run an action from the terminal could be very helpful when we have errors running the action or just because we want to test it.

Enabling the permissions to the PhotoLibrary.framework, Photo.framework or any other framework which need authorization for the user can be problematic during running your unit tests. It might be nice to be able to pre-allow or disallow access for applications without user intervention to run the tests.

Sometimes as an iOS Engineer we face the problem of define behaviors or values for variables in a testing environment. For example, a different endpoint URL for the development and release builds, etc.

In this article I would cover the more simple way I found it to help me to achieve this goal.

Swift has support for value types and reference types, but there are some cases in which these two concepts can be confuse. The aim of this article is take a tour about some special cases we can find using references and value types in Swift.