TabletopAssistant / DiceKit

Swift framework for expressing and evaluating dice notation (e.g., d20, 4d6+4, 3d8×10+2), which is commonly used in tabletop role-playing games.
Apache License 2.0
14 stars 1 forks source link

Add CustomStringConvertible and CustomDebugStringConvertible conformance #50

Closed brentleyjones closed 9 years ago

brentleyjones commented 9 years ago

https://developer.apple.com/library/prerelease/ios/documentation/Swift/Reference/Swift_CustomDebugStringConvertible_Protocol/index.html#//apple_ref/swift/intfp/CustomDebugStringConvertible/s:vPSs28CustomDebugStringConvertible16debugDescriptionSS

brentleyjones commented 9 years ago

@JonathanHoffman I added the requirement for normal CustomStringConvertible conformance as well.

JonathanHoffman commented 9 years ago

ok!