3.4.4
Enhancements:
- Added namespaces for
TyphoonDefinitions
:
@interface TyphoonDefinition : NSObject <NSCopying>
{
Class _type;
NSString *_key;
TyphoonDefinitionNamespace *_space;
BOOL _processed;
...
In short, it allows to differentiate between definitions declared in different TyphoonAssemblies
. The main benefit for now is the improved support of TyphoonConfigs
.
TyphoonConfigs
now have scope - they can be either global, or assembly-scoped. For details see the updated wiki.
Bugfixes:
- #447 : Duplicate property injections now cause a warning in logs.
Deprecations:
- TyphoonDefinition+Infrastructure:
+ (instancetype)configDefinitionWithName:(NSString *)fileName DEPRECATED_MSG_ATTRIBUTE("use -withConfigName: instead");
+ (instancetype)configDefinitionWithName:(NSString *)fileName bundle:(NSBundle *)fileBundle DEPRECATED_MSG_ATTRIBUTE("use -withConfigName:bundle: instead");
+ (instancetype)configDefinitionWithPath:(NSString *)filePath DEPRECATED_MSG_ATTRIBUTE("use -withConfigPath: instead");