Post

Replies

Boosts

Views

Activity

Comment on Where do you select the UIKit in Xcode
I noticed there is a Bridging-Header file in the project so they must be using a mix of swift and ObjC. What I'm finding is that the code that uses the Object C UIKit APi's is being compiled with swift and thus is generating all the conversion errors. How do I control the compiler (swift vs ObjC) for these components.
Dec ’21
Comment on POD Compatibility
I have found that my xcode project is pointing to the wrong UIKit. I am working with a old project and new cocopods. The pod references the UIKit which has changed. In my test proejct the path to UIView is UIKit/UIView (from xcode). In the old project the path to UIView is Simulator-IOS 15.0/frameworks/UIKit/UIView. How do I control the path to the UIKit?
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’21
Comment on Where do you select the UIKit in Xcode
I noticed there is a Bridging-Header file in the project so they must be using a mix of swift and ObjC. What I'm finding is that the code that uses the Object C UIKit APi's is being compiled with swift and thus is generating all the conversion errors. How do I control the compiler (swift vs ObjC) for these components.
Replies
Boosts
Views
Activity
Dec ’21
Comment on Where do you select the UIKit in Xcode
Thats interesting, completely missed that. I'm new to Xcode and working with an old project. They must have used objC but the xcode project seems to be compiling with swift. How would I change the configuraiton to use ObjC to compile
Replies
Boosts
Views
Activity
Dec ’21
Comment on POD Compatibility
I have found that my xcode project is pointing to the wrong UIKit. I am working with a old project and new cocopods. The pod references the UIKit which has changed. In my test proejct the path to UIView is UIKit/UIView (from xcode). In the old project the path to UIView is Simulator-IOS 15.0/frameworks/UIKit/UIView. How do I control the path to the UIKit?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21