Adding a Location Model class doesn't inherit from the root NSObject

I am new to xCode but learning.

I am using this learning tool:

https://codewithchris.com/iphone-app-connect-to-mysql-database/


But it says to select folder and Add File, then it will inherest some properties in the code, but it inherits nothing.


All I get is the UIKit code.


Has there been a fundamental change in xcode, or have I not gone through the right options.

When I did do Add File, there was an option of various Classes to choose from, not shown in their tutorial. I took the Cocoa one as it was default.


Can someone please help?


Simon

Adding a Location Model class doesn't inherit from the root NSObject
 
 
Q