The link error is pretty self-explanatory. To solve issues like this, I'd first change the header like so:
extern NSString *const someString; and create a SharedDefs.m: NSString *const someString = @"halla"; This way, any object file can reference someString, but only one object file will actually define it - SharedDefs.m. And voila, link errors be gone. David _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com