This question is trivial but I have no idea how to do it
I have this swift code
... = XYZ.auth().currentUser;
... = XYZ.auth().currentUser.phoneNumber;
I want to convert this Swift code to Objective-C code , I want to call auth static method of XYZ class and access the currentUser property
and in the second case I want also to access phoneNumber property of currentUser object
NOTE: I don't know Objective-C but I trying to build ReactNative Module that require from me to do this in Objective-C, currently I haven't the time to learn this language.
[XYZ auth].currentUser.phoneNumber;