12 Commits

Author SHA1 Message Date
Cédric Luthi
f74cacb4c7 Fix static analyzer warning
When compiling for the iOS simulator, it would produce this warning.

The receiver of message 'resultType' is nil and returns a value of type 'NSTextCheckingType' that will be garbage
            switch (result.resultType) {
                    ~~~~~~ ^~~~~~~~~~
2014-09-30 15:40:26 +02:00
Lukas Spieß
42738397a6 Replace initialiser return types of id with new instancetype 2014-06-11 15:35:45 +02:00
Steven Fisher
0e9e0e8736 Remove x flag from BITAttributedLabel. 2014-04-22 12:45:06 -07:00
Andreas Linde
66c84630ea Fix possible unused function warnings 2014-01-19 21:29:02 +01:00
Thomas Dohmke
da7b0b290f Issue #74: Fix warnings for implicit conversions of UITextAlignment and UILineBreakMode 2013-10-31 21:53:10 +01:00
Stephan Diederich
f1ba1b092b fix analyzer warning
it's somewhat more clear to release and set to nil,
then store a new reference directly in the ivar.
2013-06-20 14:24:44 +02:00
Stephan Diederich
070844e234 fix mem-leak analyzer warning
Although the analyzer is wrong here (highlighFramesetter property is synthesized), it doesn't hurt
to use the instance variables.
2013-06-20 14:22:48 +02:00
Stephan Diederich
3c25f25945 fix warning 'multiple methods length found'
* method accepts either NSStrings and NSAttributedString: assert on that
* explicitly cast to NSAttributedString to get rid of ambiguity warning
2013-06-20 14:20:32 +02:00
Stephan Diederich
d3696e5c4f fix mem leak 2013-06-20 14:18:28 +02:00
Peter Steinberger
2c7728bcb7 Fixes "variable name is shadowed" warnings 2013-01-20 13:01:29 +01:00
Andreas Linde
89cc537350 Fix missed out Prefix changed in TTTAttributedLabel / BITAttributedLabel 2012-11-15 03:24:32 +01:00
Andreas Linde
806812098e Integrate TTTAttributedLabel by @mattt
Changed the class and protocol prefix to BIT to make sure no problems come up if the app has its own version of that class
2012-10-17 19:18:37 +02:00