Skip to content

3.4.4

Compare
Choose a tag to compare
@etolstoy etolstoy released this 25 Nov 18:34
· 291 commits to master since this release

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");