Alok Singh, App Dev Notes

iOS app development articles by Alok Singh. Originals at bestlatestapps.com.

Text Plus Audio, Fully Offline: Building a Prayer App with AVAudioPlayer and Lock-Screen Controls

Originally published at https://bestlatestapps.com/blog/text-plus-audio-fully-offline/ Bundled recitation audio, verse-by-verse highlighting from a cue sheet, background playback, Now Playing controls and the interruptions you must handle, on an app that still supports

Oct 23

The Device Side of APNs: Building a Push Notification Test Client in Swift

Originally published at https://bestlatestapps.com/blog/the-device-side-of-apns/ Permission, registration, device tokens, foreground presentation and payload inspection, plus the exact HTTP/2 request your backend needs to send Every backend developer who has implemented Apple

Oct 23

The Sending Side of APNs: A Mac Push Tester with Keychain Certificates, URLSession Client Auth and HTTP/2

Originally published at https://bestlatestapps.com/blog/the-sending-side-of-apns/ Finding push certificates in the Keychain, importing .p12 files, answering APNs's client-certificate challenge in URLSession, building the exact request (path, headers, payload), sandbox vs production, silent

Oct 23

Tic Tac Toe in SwiftUI, Done Properly: Value-Type Game State, Win Detection and an Unbeatable Minimax Opponent

Originally published at https://bestlatestapps.com/blog/tic-tac-toe-in-swiftui-done-properly/ The smallest game worth architecting: an immutable board, testable rules, a view that just renders state, and the classic AI you can bolt on in 40

Oct 23

Never miss a post

Get new writing sent to your inbox.

Subscribe