Very often you should insert a pin-code in a UITextField that some service in order to verify your identity sends you via SMS (generally for a 2FA, two-factor authentication).Continue reading “Swift – Read automatically pin-code from SMS / OneTimeCode”
With the NetworkExtension framework, you can customize and extend the core networking features of iOS and macOS. Specifically, you can:
- Change the system’s Wi-Fi configuration
- Integrate your app with the hotspot network subsystem (Hotspot Helper)
- Create and manage VPN configurations, using the built-in VPN protocols (Personal VPN) or a custom VPN protocol
- Implement an on-device content filter
- Implement an on-device DNS proxy
The NetworkExtension framework is available in macOS and iOS, but not all features are available on both platforms and some features have specific restrictions (for example, some features only work on supervised iOS devices). The documentation for each feature describes these restrictions.
A useful trick using .map:Continue reading “SWIFT – Create filled array using map”
A one shot “clone” of NES Duck Hunt made in Unity3D. Is not properly a clone… because is only a one-shot duck and restart.
Today i’ve discovered a simple and funny way to catch all Pokemon around the world simply stay sit in front of your pc!Continue reading “PokemonGo – Catch world wide pokemon… from your desk!”
Simple IPTV streaming app for iOS (universal target) and Mac OSX.
Based on a googled (non pay-tv) italian channel list.
Complete navigable sample app.
- Universal target (iPhone/iPad)
- Apple Watch (watchOS 2)
- Apple TV (tvOS)
- Swift 2.0
APRoundedButton is a simple XIB/Storyboard extension to make rounded custom buttons, without writing one line of code, now using IBInspectable.
I’ve prepared a simple class that write logs on device disk.
This is very useful, because you can send and receive logs from apps, crashlog, backtrace and debug informations.
A simple trick, using private API to get the device COVER color!