Get Objective-C interface in Swift? -


is there way view objective-c interface available in swift?

for example, if declare objective-c interface:

#import <uikit/uikit.h>  #define string_constant  @"a_string_constant" #define bool_constant yes  @interface viewcontroller : uiviewcontroller @end 

i can access string_constant in swift not bool_constant.

"navigate -> jump generated interface"

enter image description here


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -