From 6041d68db68525add0f0c3d3a8ff017339a5e143 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sun, 28 Feb 2016 11:41:09 -0500 Subject: [PATCH] Add note about .pch usually being a bad idea --- Sparkle/Sparkle.pch | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Sparkle/Sparkle.pch b/Sparkle/Sparkle.pch index 871b0da5..ddd233f1 100644 --- a/Sparkle/Sparkle.pch +++ b/Sparkle/Sparkle.pch @@ -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