Page 2 of 2

Building a server-client application using Apple's Network Framework Sep 10 2019

Apple’s network APIs are many, the older APIs are well documented, and you’ll find lots of examples. Not so much about the new Network framework. One factor might be that the name is not that search-friendly. In this post, I’ll explain how to use the NWFramework by creating a basic TCP server-client application.

The server will work as an echo, any message received will be sent back to the client. The client will allow us to send messages to the server and display the server response.

Read More...

Using Xcode's visual debugger and Instruments' modules to prevent memory overuse Aug 27 2019

An essential step before you deliver your application to your users is to make sure that your app is not overusing your user’s resources. In this post, I’ll show how to use Xcode’s visual debugger and the command-line counterparts to check for common memory problems and also how to use Instrument’s to debug memory leaks.

First, let’s see which are the most common memory-related problems.

Memory issues

There are two common types of memory problems.

Read More...

$