Skip to content

Releases: appsquickly/typhoon

Build against recent SDKs. No functional changes.

03 Jul 05:13
6f4e718
Compare
Choose a tag to compare

3.4.5

17 Jan 11:54
Compare
Choose a tag to compare

Bugfixes:

  • #464 : Fixed a bug with external TyphoonLoadedView outlets.

Enhancements:

  • #455 : TyphoonOptionMatcher can now use caseConformsToProtocol: method.
  • #458 : beforeInjections/afterInjections are now inherited from the parent definition.

3.4.4

25 Nov 18:34
Compare
Choose a tag to compare

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

3.4.3

16 Nov 21:35
Compare
Choose a tag to compare

Enhancements:

  • Added new convenience method for activating TyphoonAssembly:
- (instancetype)activateWithConfigResourceName:(NSString *)resourceName;

It can be used instead of:

TyphoonConfigPostProcessor *processor = [TyphoonConfigPostProcessor processor];
[processor useResourceWithName:@"Config_production.plist"];
[self attachPostProcessor:processor];
[self activate];

3.4.2

08 Nov 11:32
Compare
Choose a tag to compare

Enhancements:

  • All of the infrastructure components can now be attached before the assembly's activation (see #444 and #344 ):
- (void)attachDefinitionPostProcessor:(id<TyphoonDefinitionPostProcessor>)postProcessor;
- (void)attachInstancePostProcessor:(id<TyphoonInstancePostProcessor>)postProcessor;
- (void)attachTypeConverter:(id<TyphoonTypeConverter>)typeConverter;

Bugfixes:

  • #443 : Previous version didn't compile when installed via Carthage
  • Previous version didn't compile when installed via cocoapods with use_frameworks enabled.

Deprecations:

  • TyphoonComponentFactory:
    • - (void)attachPostProcessor:(id<TyphoonDefinitionPostProcessor>)postProcessor
    • - (void)addInstancePostProcessor:(id <TyphoonInstancePostProcessor>)postProcessor