AladinWay / TransitionButton

UIButton sublass for loading and transition animation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose init func

cuzv opened this issue · comments

commented

Here is my situation: After updated to 0.5.0, My TransitionButtonSubclass TransitionButton subclass cannot initialize by using let button = TransitionButtonSubclass(type: .system).

May I suggest you expose the init(frame: CGRect) function to make inherited class have the ability to initialize instance just like the version 0.4.0.

@cuzv I have exposed the init(frame:) method again in version 0.5.1