Today I want to show you how to use the Apple ReplayKit, to record a full-screen video without a status-bar from your app and save it in your library without using external libraries like GPUImages or something like that.
Swift – Read automatically pin-code from SMS / OneTimeCode
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”
Connect to Wifi network from code – Swift
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.
SWIFT – Create filled array using map
A useful trick using .map:Continue reading “SWIFT – Create filled array using map”
[Unity3D] Nintendo Duck Hunt clone
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.
PokemonGo – Catch world wide pokemon… from your desk!
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!”
[Swift] ipTV for iOS/Mac
Simple IPTV streaming app for iOS (universal target) and Mac OSX.
Based on a googled (non pay-tv) italian channel list.
[Swift] Milan Metro app
Complete navigable sample app.
- Universal target (iPhone/iPad)
- Apple Watch (watchOS 2)
- Apple TV (tvOS)
- Swift 2.0
[Objc] UIButton with rounded corners (IBInspectable)
APRoundedButton is a simple XIB/Storyboard extension to make rounded custom buttons, without writing one line of code, now using IBInspectable.
Continue reading “[Objc] UIButton with rounded corners (IBInspectable)”
[Objc] Write console log to file… and send for email
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.
Continue reading “[Objc] Write console log to file… and send for email”