ermalkaleci / CarbonKit

CarbonKit - iOS Components (Obj-C & Swift)
MIT License
682 stars 163 forks source link

Method "initWithItems:toolbar:delegate" marked as deprecated #253

Open ElKnarzo opened 4 years ago

ElKnarzo commented 4 years ago

Hi,

I have a custom view in a project that replaces the navigation bar. In this custom view, the tabs of the CarbonKit should be inside. Normally these tabs would be under the regular navigation bar of iOS.

I use the following method mentioned to solve this use case.

- (instancetype)initWithItems:(nullable NSArray *)items toolBar:(nonnull UIToolbar *)toolBar delegate:(nonnull id)target __attribute__((deprecated));

But why is this method marked as deprecated?