Skip to content
This repository has been archived by the owner on Feb 16, 2019. It is now read-only.

Document SSBadgeView #38

Closed
soffes opened this issue Jan 30, 2011 · 9 comments
Closed

Document SSBadgeView #38

soffes opened this issue Jan 30, 2011 · 9 comments

Comments

@soffes
Copy link
Owner

soffes commented Jan 30, 2011

This class needs to be documented.

@hramos
Copy link
Contributor

hramos commented Jan 30, 2011

Where would you use a SSBadgeView? I'm coding up a demo in SSCatalog in order to understand it / document it.

@soffes
Copy link
Owner Author

soffes commented Jan 30, 2011

I doubt many people would use it on its own. It's mainly for a cell accessory. I figured SSCatalog would just have SSBadgeTableViewCell.

@hramos
Copy link
Contributor

hramos commented Jan 30, 2011

Got it (I was going to ask if this would go in a cell!)

@soffes
Copy link
Owner Author

soffes commented Jan 30, 2011

I cloned the one from Mail.app for the most part. They use images, but I used drawRect: so I could draw faster. Also drew the text instead of using a label for the same reason.

@hramos
Copy link
Contributor

hramos commented Jan 30, 2011

Added a basic demo to SSCatalog with three cells: default value (0), positive value, text value.

@hramos
Copy link
Contributor

hramos commented Jan 30, 2011

Also, let me know if I should rebase or otherwise commit differently -- I'm usually working on private repos with only one other collaborator, so I haven't got the hang of squashing commits properly.

@soffes
Copy link
Owner Author

soffes commented Jan 30, 2011

No worries man. Love it!

@soffes
Copy link
Owner Author

soffes commented Jan 30, 2011

Leaving this issue open since the views still need documentation.

@soffes
Copy link
Owner Author

soffes commented Jan 31, 2011

Thanks for documenting this!

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants