Realm going straight for aDecoder Init?


I’m having this issue copying code directly from the documentation. It seems to go straight for the aDecoder init instead of the default init, using what it says in the documentation Constants.swift is there and everything I believe I need is there but stuck at this step can’t find anyone else with similar issues. Using Realm 3.7.4 latest xcode and swift version thanks.