iOS task when application is closed

Question or problem in the Swift programming language: I am building an app which uploads files to the server via ajax. The problem is that users most likely sometimes won’t have the internet connection and client would like to have the ajax call scheduled to time when user have the connection back. This is possible […]

Continue Reading

Realm with Swift 2.1 project won’t build when importing RealmSwift (module file was created by an older version of the compiler)

Question or problem in the Swift programming language: I’m on the very latest Xcode 7.1 and my project uses Swift 2.1. I followed all the directions on the Swift website for getting started (Dynamic Framework tab) and everything builds just fine until I try to import RealmSwift in my class. The compiler throws the following […]

Continue Reading

Build a simple Equalizer

Question or problem in the Swift programming language: I would like to make a 5-band audio equalizer (60Hz, 230Hz, 910Hz, 4kHz, 14kHz) using AVAudioEngine. I would like to have the user input gain per band through a vertical slider and accordingly adjust the audio that is playing. I tried using AVAudioUnitEQ to do this, but […]

Continue Reading