
It should ask for permission to configure your network settings automatically. Because Charles only runs for 30 minutes in trial mode, you may need to restart it throughout this tutorial.
#FOCUSLIST SERVERS SHUT DOWN INSTALL#
Double-click the DMG file, accept the license agreement and drag the Charles icon to your Applications folder to install it.Ĭharles Proxy isn’t free, but it does offer a free 30-day trial.

Let Charles automatically configure your network settings.

Your first step is to get a web debugging setup working. Now, you’ll install and configure Charles Proxy to observe the communications between StarCharles and SWAPI. Views: Includes all the view-related code.It calls all the APIs, maps to the local models and updates the views. ViewModel: Contains ViewModel.swift, which is the core of the project.Network: Contains NetworkService.swift, which defines all the networking interactions.Build and run to see how it works.īehind the scenes, each time you tap a film or a character, the app makes a sequence of requests to get the information it displays next. StarCharles lists the films and characters of Star Wars, as provided by SWAPI. Open StarCharles.xcodeproj in the starter folder. Still a Padawan learner? Check out Charles Proxy Tutorial for iOS first.ĭownload the project materials by clicking the Download Materials button at the top or bottom of this tutorial. Note: This tutorial assumes you’re familiar with Charles Proxy.
