An extension to Xojo.Net.HTTPSocket to include network throttling. Testing an app in the iOS Simulator is usually done with a broadband or cable network. This means that network speed will be extremely high compared to some users running your app on their cellular network. New in 2016r2. An iOSLocation allows the user to request location coordinates and updates from the device. @Tim P Problem 4 Xojo 2016r2 completely unusable when opening my big project (Answers.) No idea why. Sampled, and sent in possibly the lamest bug report ever. If you have a project that demos the problem attaching that to the report would be good You can add it privately.
An extension to Xojo.Net.HTTPSocket to include network throttling.
Testing an app in the iOS Simulator is usually done with a broadband or cable network. This means that network speed will be extremely high compared to some users running your app on their cellular network.
A good UI design implies that the user should know what is happening as soon as a button is pushed.Some network request might seem extremely fast in the simulator and not need a Progress wheel for example, but the reality might be very different.
This class will help you check how slow your App can be when used on cellular networks.
![2016r2 2016r2](/uploads/1/2/6/8/126871692/213253343.jpg)
For security purposes, the ThrottleSocket will not apply any delay in production (built) apps.
Testing the socket
- Pre-requisites:
- Xojo 2016r2
- Download the Xojo project
- Run in iOS Simulator
- Select a Network type and hit the Download button
Install in your app
Simply copy the JLY_ThrottlingSocket class to your project.Then set the Super property of all xojo.Net.HTTPSocket to JLY_ThrottlingSocket
In JLY_ThrottlingSocket.Constructor, change the throttlingType to the type of network you would like to test:
self.throttling = throttlingTypes.Regular_3G
Xojo 2018r4
Run your app and see how slow it can get for your users.