{"action":"created","issue":{"url":"https://api.github.com/repos/ibireme/YYKit/issues/176","repository_url":"https://api.github.com/repos/ibireme/YYKit","labels_url":"https://api.github.com/repos/ibireme/YYKit/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/ibireme/YYKit/issues/176/comments","events_url":"https://api.github.com/repos/ibireme/YYKit/issues/176/events","html_url":"https://github.com/ibireme/YYKit/issues/176","id":147196486,"number":176,"title":"'YYKit/YYKitMacro.h' file not found","user":{"login":"goodcyg","id":5400137,"avatar_url":"https://avatars.githubusercontent.com/u/5400137?v=3","gravatar_id":"","url":"https://api.github.com/users/goodcyg","html_url":"https://github.com/goodcyg","followers_url":"https://api.github.com/users/goodcyg/followers","following_url":"https://api.github.com/users/goodcyg/following{/other_user}","gists_url":"https://api.github.com/users/goodcyg/gists{/gist_id}","starred_url":"https://api.github.com/users/goodcyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goodcyg/subscriptions","organizations_url":"https://api.github.com/users/goodcyg/orgs","repos_url":"https://api.github.com/users/goodcyg/repos","events_url":"https://api.github.com/users/goodcyg/events{/privacy}","received_events_url":"https://api.github.com/users/goodcyg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-10T05:48:04Z","updated_at":"2016-04-10T15:17:15Z","closed_at":null,"body":"1.我把YYKit拖进行工程中加入，导入frameworks，然后再pct中\r\n#import  <YYKit/YYKit.h>\r\n#import \"YYKit.h\"\r\n加入任意一个都报错，我再头文件的搜索路径里加入yykit路径也不行。\r\n'YYKit/YYKitMacro.h' file not found？\r\n\r\n2#if __has_include(<YYKit/YYKit.h>)\r\n#import <YYKit/YYKitMacro.h>\r\n#else\r\n#import \"YYKitMacro.h\"\r\n#endif\r\n\r\n请解释一下__has_include的用法？"},"comment":{"url":"https://api.github.com/repos/ibireme/YYKit/issues/comments/207998622","html_url":"https://github.com/ibireme/YYKit/issues/176#issuecomment-207998622","issue_url":"https://api.github.com/repos/ibireme/YYKit/issues/176","id":207998622,"user":{"login":"goodcyg","id":5400137,"avatar_url":"https://avatars.githubusercontent.com/u/5400137?v=3","gravatar_id":"","url":"https://api.github.com/users/goodcyg","html_url":"https://github.com/goodcyg","followers_url":"https://api.github.com/users/goodcyg/followers","following_url":"https://api.github.com/users/goodcyg/following{/other_user}","gists_url":"https://api.github.com/users/goodcyg/gists{/gist_id}","starred_url":"https://api.github.com/users/goodcyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goodcyg/subscriptions","organizations_url":"https://api.github.com/users/goodcyg/orgs","repos_url":"https://api.github.com/users/goodcyg/repos","events_url":"https://api.github.com/users/goodcyg/events{/privacy}","received_events_url":"https://api.github.com/users/goodcyg/received_events","type":"User","site_admin":false},"created_at":"2016-04-10T15:17:15Z","updated_at":"2016-04-10T15:17:15Z","body":"手动安装\r\n\r\n    下载 YYKit 文件夹内的所有内容。\r\n    将 YYKit 内的源文件添加(拖放)到你的工程。\r\n    为 NSObject+YYAddForARC.m 和 NSThread+YYAdd.m 添加编译参数 -fno-objc-arc。\r\n    链接以下 frameworks:\r\n        UIKit\r\n        CoreFoundation\r\n        CoreText\r\n        CoreGraphics\r\n        CoreImage\r\n        QuartzCore\r\n        ImageIO\r\n        AssetsLibrary\r\n        Accelerate\r\n        MobileCoreServices\r\n        SystemConfiguration\r\n        sqlite3\r\n        libz\r\n    如果你需要支持 WebP，可以将 Vendor/WebP.framework(静态库) 加入你的工程。\r\n    导入 YYKit.h。\r\n我就是按照上边操作的。你可以在的demo把 yykit删除后，在加进去，多试试就知道了。"}}