BloodMagic icon indicating copy to clipboard operation
BloodMagic copied to clipboard

BloodMagic is a framework, which gives you a way to create custom property attributes.

Results 12 BloodMagic issues
Sort by recently updated
recently updated
newest added

I have created a simple iOS project with CocoaPods and dependency injection using BloodMagic. It works perfectly. However, if I add the 'use_frameworks!' option in the Podfile, the app breaks....

Returned to original non-optimized implementation and fixed it.

[!] Unable to satisfy the following requirements: - `BloodMagic/Injectable (~> 1.1)` required by `Podfile`

It crashes app if trying to access injected property right in object dealloc

My source: ` *.h file # import # import "Presenter.h" # import "RubricMenuView.h" # import # import "ProductCategoryIteractor.h" @protocol RubricMenuView; @interface RubricMenuPresenter : NSObject @property (nonatomic, strong, bm_lazy) ProductCategoryIteractor\* productCategoryIteractor;...

This change allows BloodMagic to be used with the use_frameworks! attribute of Cocoapods.

[Sources/Modules/Core/Private/Collectors/BMClassCollector.mm, line 43](https://github.com/railsware/BloodMagic/blob/master/BloodMagic/Sources/Modules/Core/Private/Collectors/BMClassCollector.mm#L43) Since iOS 8 and embedded frameworks this has become insufficient to cover all classes of interest. I think the whole iOS check should be suppressed and use...

For example : ``` objective-c - (NSSet *)protocols { if (!_protocols) { Protocol *__unsafe_unretained *protocols; uint protocolsCount = 0; protocols = class_copyProtocolList(_objcClass, &protocolsCount); NSMutableSet *mutableProtocols = [NSMutableSet setWithCapacity:protocolsCount]; for (uint...

enhancement

Hello, Currently I am having ``` 2015-10-12 14:00:45.979 Prototype[17600:31945410] BloodMagic: Protocol MaintenanceViewControllerDelegate hasn't been found. Please check if you include the header with that protocol description in your .m file...