4 Commits

Author SHA1 Message Date
Alex Rozanski 294fd09a82 Bump project to 2.0.6 2015-05-08 11:01:03 +01:00
Alex Rozanski 2bf9e6a6f1 Merge pull request #49 from dusek/accessibility-badge-viewbased
Fix PXSourceListBadgeCell accessibility
2015-05-08 10:56:40 +01:00
Boris Dušek ab0408c8fe Fix PXSourceListBadgeCell accessibility
Now in the view-based source list, instead of just "Photos", VoiceOver
reads "Photos, 264"
2015-03-28 12:45:02 +01:00
Alex Rozanski 929b1651af Add badges to README. 2014-09-25 09:42:48 -04:00
5 changed files with 21 additions and 5 deletions
+3 -3
View File
@@ -17,13 +17,13 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0.5</string>
<string>2.0.6</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.0.5</string>
<string>2.0.6</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2009-14 Alex Rozanski and other contributors. All rights reserved.</string>
<string>Copyright © 2009-15 Alex Rozanski and other contributors. All rights reserved.</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
+2 -2
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PXSourceList'
s.version = '2.0.5'
s.version = '2.0.6'
s.author = { 'Alex Rozanski' => 'alex@rozanski.me' }
s.license = 'BSD'
s.homepage = 'https://github.com/Perspx/PXSourceList'
@@ -23,6 +23,6 @@ Pod::Spec.new do |s|
s.osx.deployment_target = '10.7'
s.public_header_files = 'PXSourceList/*.h'
s.source = { :git => 'https://github.com/Perspx/PXSourceList.git', :tag => '2.0.5' }
s.source = { :git => 'https://github.com/Perspx/PXSourceList.git', :tag => '2.0.6' }
s.source_files = 'PXSourceList/**/*.{h,m}'
end
+8
View File
@@ -111,4 +111,12 @@ static const CGFloat badgeLeftAndRightPadding = 5.0;
attributes:@{NSFontAttributeName: badgeFont()}];
}
- (id)accessibilityAttributeValue:(NSString *)attribute
{
if ([attribute isEqualToString:NSAccessibilityValueAttribute])
return @(_badgeValue).description;
else
return [super accessibilityAttributeValue:attribute];
}
@end
+5
View File
@@ -1,5 +1,10 @@
#PXSourceList
[![Pod Version](http://img.shields.io/cocoapods/v/PXSourceList.svg)](http://cocoadocs.org/docsets/PXSourceList/2.0.5/)
[![Platform](http://img.shields.io/cocoapods/p/PXSourceList.svg)](http://cocoadocs.org/docsets/PXSourceList/2.0.5/)
[![Licence](http://img.shields.io/cocoapods/l/PXSourceList.svg)](https://github.com/Perspx/PXSourceList/blob/master/LICENSE)
`PXSourceList` is an `NSOutlineView` subclass used for easily implementing source lists in your applications.
PXSourceList requires the OS X 10.7 SDK and above and is licensed under the New BSD License.
+3
View File
@@ -1,5 +1,8 @@
# PXSourceList Release Notes
## 2.0.6
- Merge PR #49: Fix PXSourceListBadgeCell accessibility. Adds accessibility for PXSourceListBadgeCell when using PXSourceList in view-based mode.
## 2.0.5
- Fix #43: sourceListDeleteKeyPressedOnRows: called twice. This was caused by an issue where PXSourceList was incorrectly removing the old delegate as an observer of PXSourceList notifications in -setDelegate:.