'When using Xcode and swift, I can't get the type of value while typing

I'm using Xcode13.2, but from a long time ago, the values's type can't be displayed when using swift, but when using objective-c there is no issue.

when define String type value, typing string and from the list there is no message for the type of string Using Swift

in Objective-C, there is a NSString *string that I can understand the type for string. Using Objective-C

is there any way to get the type of a value while typing in swift?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source