Next, we declare an array of objects to store the view objects contained in the Xib file.As our Xib file is in the main bundle, there is no need to specify any bundle here. Here we are initialising a new NSNib object from our Xib file.There’re quite a number of actions taken place here: Have you ever wondered why audio players like Spotify or iTunes don’t have a repeat X number of times function? Today, we will be delivering a working product that allows us to: How to integrate AudioPlayer with macOS app to play audio files.Basic understanding of Swift-programming (advantage).In this tutorial, we will be looking into custom views, audio playback and one of the most commonly used feature: File Upload!.
Welcome to my second tutorial of the macOS app development! If you have not read my first tutorial on macOS app development, it may be helpful for you to check it out first as I will not go into some of the stuff, which were already mentioned there.