Add note about .pch usually being a bad idea

This commit is contained in:
Zorg committed 2016-02-28 11:41:09 -05:00
1 parent d216f30f47
commit 6041d68db6
1 file changed
+5
+5
View File
@@ -6,6 +6,11 @@
// Copyright 2008 Andy Matuschak. All rights reserved.
//
// Do NOT import headers in here
// Importing source headers globally makes reasoning about the overall
// dependency graph more difficult. We also do not want units to include what they don't have to,
// and don't want to make it unresonable to pull out components from Sparkle into another project
#ifdef __OBJC__
#if !defined(__clang_major__) || __clang_major__ < 7