When i use follow enumeration in a mixed-language app.Xcode will show me there is a error ```Parameter of 'swift_name' attribute must be an ASCII identifier string```.So can we add support for it?
I just created a new Swift 3.0 Cocoa project in Xcode 8 beta3. Put the code
in ViewController.swift, and created a new Objective-C file and let Xcode
create the bridge file. Then I ran the project, everything worked fine.
On Thu, Jul 21, 2016 at 5:13 PM, 孙博弘 via swift-users <swift-users@swift.org> wrote:
When i use follow enumeration in a mixed-language app.Xcode will show me
there is a error ```Parameter of 'swift_name' attribute must be an ASCII
identifier string```.So can we add support for it?
TEL : 15932691211
MAIL: sunbohong@gmail.com
---------------------------------------------
------------------ 原始邮件 ------------------
发件人: "Zhao Xin";<owenzx@gmail.com>;
发送时间: 2016年7月21日(星期四) 下午5:29
收件人: "孙博弘"<sunbohong@vip.qq.com>;
抄送: "swift-users"<swift-users@swift.org>;
主题: Re: [swift-users] How to use non-ASCII identifier string as'swift_name' attribute's parameter?
I just created a new Swift 3.0 Cocoa project in Xcode 8 beta3. Put the code in ViewController.swift, and created a new Objective-C file and let Xcode create the bridge file. Then I ran the project, everything worked fine.
Can you create a sample project and shared it?
Zhaoxin
On Thu, Jul 21, 2016 at 5:13 PM, 孙博弘 via swift-users <swift-users@swift.org> wrote:
When i use follow enumeration in a mixed-language app.Xcode will show me there is a error ```Parameter of 'swift_name' attribute must be an ASCII identifier string```.So can we add support for it?
I got the same results as yours with Xcode 7.3.1. However, in Xcode 8
beta3, the errors become yellow alerts, which can pass the building. You
should file a bug on this.
------------------ 原始邮件 ------------------
*发件人:* "Zhao Xin";<owenzx@gmail.com>;
*发送时间:* 2016年7月21日(星期四) 下午5:29
*收件人:* "孙博弘"<sunbohong@vip.qq.com>;
*抄送:* "swift-users"<swift-users@swift.org>;
*主题:* Re: [swift-users] How to use non-ASCII identifier string
as'swift_name' attribute's parameter?
I just created a new Swift 3.0 Cocoa project in Xcode 8 beta3. Put the
code in ViewController.swift, and created a new Objective-C file and let
Xcode create the bridge file. Then I ran the project, everything worked
fine.
Can you create a sample project and shared it?
Zhaoxin
On Thu, Jul 21, 2016 at 5:13 PM, 孙博弘 via swift-users < > swift-users@swift.org> wrote:
When i use follow enumeration in a mixed-language app.Xcode will show me
there is a error ```Parameter of 'swift_name' attribute must be an ASCII
identifier string```.So can we add support for it?