Understanding Definition Information for Classes Referenced by Swift

Asked 2 years ago, Updated 2 years ago, 65 views

When using xcode and writing code with swift
You can see class definition information by clicking command + class name.
Where is that definition file?
(You can find the header file of Objective-C, but you can't find the important swift...)

The intention is to simply review the applications of classes and functions.
Rather than looking at the document, I thought it would be easier if I could see the definition file directly.

swift xcode

2022-09-30 20:45

1 Answers

(You can find the header file of Objective-C, but you can't find the important swift...)

The definition file is common because you can use the Objective-C class from swift.

Class definition information refers to the Objective-C header.

Using Swift with Cocoa and Objective-C:Swift and Objective-Cin the Same Project


2022-09-30 20:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.