Skip to content

Added flag to init#4

Open
Briahas wants to merge 2 commits intoDoddaSrinivasan:masterfrom
Briahas:master
Open

Added flag to init#4
Briahas wants to merge 2 commits intoDoddaSrinivasan:masterfrom
Briahas:master

Conversation

@Briahas
Copy link
Copy Markdown

@Briahas Briahas commented Oct 29, 2018

Added flag that adds opportunity to take into account itemWidth when calculating maxNoOfCellsInCircle and angleOfEachItem

@property (nonatomic, assign) BOOL rotateItems;

-(void)initWithCentre:(CGPoint)centre radius:(CGFloat)radius itemSize:(CGSize)itemSize andAngularSpacing:(CGFloat)angularSpacing;
-(void)initWithCentre:(CGPoint)centre radius:(CGFloat)radius itemSize:(CGSize)itemSize andAngularSpacing:(CGFloat)angularSpacing isCountingWidth:(BOOL)isCountingWidth;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you leave the previous init as is and add this as another init so that the existing users can still be supported. Also, make sure you set isCountingWidth to NO in the older init implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants