Hi I'm new at developing, I want to learn how to call an api in xcode but deal with an error in the view controller.
the error tells 'cannot find xxxx in scope'. I know that I didn't define that xxxx anywhere but I don't know where should I put it. please help me by giving some example about calling an api in xcode or some information about how to call an api in xcode.