#import"xxx"和#import <xxx>有什么区别?

pix*_*eak 5 iphone objective-c ipad ios

可能重复:
#include <filename>和#include"filename"有什么区别?
写#import <filename.h>和#import"filename.h"之间的区别,即用尖括号和引号写出文件名?

这可能是一个愚蠢的问题.#import <QuartzCore/QuartzCore.h>和之间有什么区别#import "QuartzCore/QuartzCore.h"?(大于/小于双引号)

他们似乎都工作.

Str*_*pes 8

一般来说,#import "QuartzCore/QuartzCore.h"表单是"找到我自己的标题,如果你找不到它寻找系统标题",<QuartzCore/QuartzCore.h>表单是"找到一个系统标题".从理论上讲,这些位置是编译器定义的,它们可以在给定的平台上以不同的方式实现,但我没有遇到过做任何不同的C编译器.