I have a class method that apparently doesn\'t see the @EnvironmentObject var categories: Categories object at the top of the class. I know that this works since I use it in