Doesn't work with Objective-C #11

Closed
opened 2025-12-29 18:27:54 +01:00 by adam · 2 comments
Owner

Originally created by @Jeehut on GitHub (Apr 28, 2015).

I just tried different approaches to get Armchair running in an Objective-C project but I wasn't successful. Please either add instructions on how to get Armchair running in Objective-C projects or add a clear statement that Armchair only supports Swift projects in the requirements of the README.

Originally created by @Jeehut on GitHub (Apr 28, 2015). I just tried different approaches to get Armchair running in an Objective-C project but I wasn't successful. Please either add instructions on how to get Armchair running in Objective-C projects or add a clear statement that Armchair only supports Swift projects in the requirements of the README.
adam closed this issue 2025-12-29 18:27:54 +01:00
Author
Owner

@JensDee commented on GitHub (May 21, 2015):

In theory you can use it from Objective C, however Armchair uses global variables (appID) and top level functions. These Swift-only features are not available in Objective C.
AFAICT, a refactoring of Armchair would be required in order to use it from Objective C. (In general it's not advisable to use global variables.)

@JensDee commented on GitHub (May 21, 2015): In theory you can use it from Objective C, however Armchair uses global variables (appID) and top level functions. These Swift-only features are not available in Objective C. AFAICT, a refactoring of Armchair would be required in order to use it from Objective C. (In general it's not advisable to use global variables.)
Author
Owner

@coneybeare commented on GitHub (May 21, 2015):

If you want to use objective-c, you should use our UAAppReviewManager instead.

@coneybeare commented on GitHub (May 21, 2015): If you want to use objective-c, you should use our [UAAppReviewManager](https://github.com/UrbanApps/UAAppReviewManager) instead.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Armchair#11