Open subdigital opened 3 years ago
originally written by Jayy on 03/02/2015 10:09:42
I've got a question. Might be obvious but I don't understand why the self.playlist property is still available in memory even after you dismiss the view controller? Shouldn't it be 'destroyed' when you dismiss it? And the fact that you instantiate a new MPMediaPickerController every time you press the plus button, how does it still have access to the previous collection? It's not like the property is static? I know you set it as strong, but still.. creating a totally different instance of that MPMediaPickerController should be using a brand new reference to the collection the user will select, no?
originally written by Jayy on 03/02/2015 10:12:58
Oh... sorry, ignore my stupidness.. For some reason, I thought you created a totally different View Controller for the MPMediaPickerController.. I didn't realise you were defining it all in the same VC file. It all make sense now. Sorry.. need to pay more attention when playing these videos! :P
Written on 08/09/2017 12:22:59
URL: https://nsscreencast.com/episodes/157-road-trip-dj-part-2