9pods
WTAutoLayoutExtensions adds extensions to UIView and UILayoutGuide to make it simpler and more natural to use layout guides, layout anchors, and the rest of the auto-layout machinery, with a consistent API and very little code.
License: MIT
WTBinaryFloatingPointExtensions adds a number of useful extensions to all floating types, such as conversions between degrees and radians and uniform pseudo-random distributions.
License: MIT
WTBoolExtensions adds a method to generate uniformly-distributed pseudo-random boolean values.
License: MIT
A collection of useful extensions to CGPoint, CGVector, and CGGradient. If you need 2-dimensional vectors then you'll want this. Why? Because WTCoreGraphicsExtensions is a comprehensive suite of methods for two-dimensional vector manipulations, everything from addition of a vector to a point, to dot and cross products, to rotations, to finding projections, all extensively tested.
License: MIT
WTIntExtensions adds methods to generate uniformly-distributed pseudo-random integer values.
License: MIT
WTOnlineLinearRegression efficiently performs linear regression on one-dimensional data, with or without variance in the dependent quantity. It supports adding and removing data points, as well as a history feature.
License: MIT
WTUIColorExtensions adds methods to generate pseudo-random colors, methods to extract the color components of a color instance in a more direct way than the default API does, methods to obtain the hexadecimal representation of an RGB color, methods to obtain the color's luminance, and a method to obtain the most contrasting color to a given color.
License: MIT
Say that your code has a user identifier that's an Int. The count of users is also an Int but, clearly, these are semantically different Ints. What if you accidentally set the value of userId to the count of users? The compiler wouldn't complain because both values are Int instances. This library lets you create distinct types for situations like this, where you need semantically different types based on the same primitive type. It works with all primitive types, not just Ints, and makes using these distinct types as easy and transparent as possible.
License: MIT