2024-04-09

Connecting App to Visual Studio Localhost API

In the realm of mobile app development, APIs (Application Programming Interfaces) play a pivotal role, acting as the bridge between the app and other computer systems. Whilst developing an API for a mobile app, it maybe necessary to run the solution on a local development computer, for the purpose of testing and debugging, before it […]

Read More…

2021-11-07

Convert Boolean to Yes/No in XAML

On user interfaces, it maybe necessary to present a user-friendly version of a Boolean value. I.e. Instead of true or false, it is presented as yes or no. With Xamarin Forms and MVVM XAML bindings, it is possible to add converters on bindings. As can be seen in this example, it is really easy to […]

Read More…

2021-10-14

Connect remotely to Apple Mac from PC Visual Studio (Xamarin)

When developing mobile apps using a Xamarin project within Visual Studio, there is a choice of three platforms; Android, Apple iOS and Windows Mobile. However, as any developer will soon realise, whilst it is possible to build a cross platform application, it is not possible to work on all three platforms without the correct hardware. […]

Read More…

2020-02-23

Improving MVVM INotifyPropertyChanged

With a project that uses MVVM (Model-View-View Model) design pattern, INotifyPropertyChanged is often used to detect a property value change in an object. This is particularly pertinent as far as creating a two-way data binding. Typical Implementation Normally, the INotifyPropertyChanged is implemented in a similar pattern to the code below. This is something that makes […]

Read More…