为什么有两个NSNotFound? [英] Why are there two NSNotFound?

查看:131
本文介绍了为什么有两个NSNotFound?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用激活自动完成功能,则有两个 NSNotFound 和绿色的 V -符号(我不知道 M / V / C /#实际代表什么)。

If I activate autocomplete with there are two NSNotFound with a green V-symbol (I do not know what does the M / V / C / # actually stand for).

如果我在那里打开文档只是 NSNotFound 作为Int的一个定义。

If I open the documentation there is only one definition of NSNotFound as Int.

Xcode 6 相同>到 Xcode 8

这是一个错误,有两个 NSNotFound s或第二个定义在哪里?

Is it a bug, that there are two NSNotFounds or where is the second defined?

只需打开一个游乐场并放入以下行即可:

Just open a Playground and put in this line:

import Foundation

NSNotF // use autocomplete here.


推荐答案

您使用带有转义符的自动完成功能,它可以是键盘快捷键(转义键是默认的快捷键)。

You used auto complete with escape, it can be any keyboard shortcut (escape is just the default one).

小符号表示它是什么:
V 是您在范围内定义的变量。
C 是一个类。
S 是一个结构。
T 是一种类型别名。

The little symbols indicate what it is: V is a variable you defined in your scope. C is a class. S is a struct. T is a typealias.

为什么有两个 NSNotFound 在自动换行中,我不知道。

As why there are two NSNotFound in the autocompoletion, I do not know.

这篇关于为什么有两个NSNotFound?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆