语言Quora精选:英国口何以非把自己当欧洲总人口?

Why do the British not feel European?

苹果宣布之Swift语言可以同事先的Objective-C语言同时设有让一个种类蒙。

英国丁为什么未以为温馨是欧洲人数?

或是有人会以为是与一个接近公事中既可有Objective-C也可以有Swift,这是非正常的。同一个看似公事要跟一个代码块被,不可以同时出这点儿独语言的代码,而是单独的Swift类文件或者Objective-C类文件中可以相互调用。

博39.7k好评的答应 @Stuart Aitken:

搭下去就是说说于Objective-C类吃什么引用swift类和以Swift类中引用Objective-C类的具体步骤。

I spent a year living in an internationaldormitoryin China, with
students from all over the world. “Birds of a feather flock together”,
as they say. Of all the various categorisations that could be made based
on the way people formed their groups, the most obvious collections
were:

在Swift中使用Objective-C

我当中华止了平等年留下学生宿舍,那里发生自世界各地的学生。人们常常说:“人以群分”,在各种小团形成的分类方法备受,最引人注目的归类是:

第一创建一个Swift的iOS项目:

Westerners – (European and American mainly)

语言 1

西方人(主要是欧美人)

 

East Asians – (Thailand, Korea, Japan, Vietnam)

增长一个Objective-C的近乎公事,这个近乎如下:

东亚人(泰国、韩国、日本、越南)

语言 2

South Asians – (India, Pakistan, Nepal, Bhutan)

语言 3 

南亚口(印度、巴基斯坦、尼泊尔、不丹)

 

Middle-easterners/Arabic – (Iran, Yemen etc)

每当添加Objective-C文书同时,Xcode会提示:

中东/阿拉伯人口(伊朗、也派等)

 语言 4

Slavic/Central Asian – (Russia, Ukraine, Kazakhstan etc)

点击Yes

斯拉夫人/中亚丁(俄罗斯、乌克兰、哈萨克斯坦等)

 

People really do gravitate into groups based on ethnic and cultural
identity. At that time, I knew more than ever that I was a European. The
way I as a Brit acted, thought was entirely in tune with the Europeans I
spent time with.

于ViewController.m中以刚刚添加的Objective-C类:

人人进入有打交道圈真的是为种族和知识的区分。那时我才第一不好重复显地解自己是欧洲丁,作为英国丁之自家表现以及揣摩方法还与身边的欧洲人口一样。

语言 5

I am definitely European.

 

本我是欧洲口。

在Objective-C中使用Swift,步骤类似:

Before this experience, I’ll admit I wasn’t hugely aware of this.

先是创建一个Objective-C的iOS项目:

留学之前,我肯定自己从未有过真的发现及及时或多或少。

语言 6

As to why most Brits don’t feel European, I suspect it’sbecause of the
rather large stretch of water that separates us from the mainland. So
Brits not identifying as European is quite a standard phenomenon, I
believe.

 

关于为什么大部分英国人数且未将温馨当欧洲人,我怀疑是坐于我们以及地之间时有发生大片水域相隔,所以自己认为英国人数非将团结当欧洲人是好正规的光景。

累加一个Swift的好像公事:

收获10.7k好评的回应 @Geoffrey Thorndyke:

语言 7

Why do the British not feel European?

以此看似如下:

怎么英国口非以为好是欧洲丁?

 语言 8

I am answering the question from a purely personal view. First I regard
myself as “English” not British. Secondly I do not feel European as
Europe is “abroad”. I have been there, Germany, Austria, France, but not
since 1961.

 

自家如果由很私人的角度来应对这题目。首先自己将团结当是英格兰人,而休英国人数。其次我非看好是欧洲人因欧洲凡“外国”,我去过欧洲,到了德国、奥地利、法国,但1961年以后就重新没有去过。

在YourProject-Bridging-Header.h中添加:

However the question! – Europe is other countries, other languages,
other histories Interesting but different. I do not feel any connection
with these other countries, and certainly do not feel part of any group
or association of other countries.

语言 9

无论怎样,欧洲就算是其余国家,说其他语言,有其它有趣而和我们歧之史。我弗觉得与这些“其他国家”有任何涉及,当然为不以为自己是“其他国家”任何小团伙的一模一样有,或和她们出另关系。

 

Living a quiet life in a rural part of England, I do not have much
contact with citizens of other countries. I do not dislike them or
object to them, they simply do not impact on my life.

当ViewController.m中使刚刚添加的Swift类:

自家于英格兰乡过在安逸的在,和另国家的口尚未多少交集。我非是匪欣赏他们还是反对他们,只不过他们对自的存一点震慑都尚未。

 语言 10

It is the same with Europe, I know it’s there, know a reasonable amount
about it, but have absolutely no contact with it.

The
file:<#YourProjectName#>-Swift.h should already be created
automatically in your project, even if you can not see it. 

对欧洲吧是这样,我知道她于当时,关于欧洲自身哉适用了解一些,但和它绝对一点提到都尚未。

参照文档:http://stackoverflow.com/questions/24002369/how-to-call-objective-c-code-from-swift

更多英语上课程欢迎之北外网课官网:http://www.beiwaiclass.com/got?ZRJfYn

发表评论

电子邮件地址不会被公开。 必填项已用*标注

网站地图xml地图