Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 294fd09a82 | |||
| 2bf9e6a6f1 | |||
| ab0408c8fe | |||
| 929b1651af | |||
| 2eb6414e6b | |||
| 2550dce3b7 |
@@ -17,13 +17,13 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.0.4</string>
|
||||
<string>2.0.6</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2.0.4</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>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'PXSourceList'
|
||||
s.version = '2.0.4'
|
||||
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.4' }
|
||||
s.source = { :git => 'https://github.com/Perspx/PXSourceList.git', :tag => '2.0.6' }
|
||||
s.source_files = 'PXSourceList/**/*.{h,m}'
|
||||
end
|
||||
|
||||
@@ -70,7 +70,7 @@ static NSArray * __fastPathForwardingDataSourceMethods = nil;
|
||||
- (void)setDelegate:(id<PXSourceListDelegate>)delegate
|
||||
{
|
||||
if (self.delegate)
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self.delegate name:nil object:self];
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self.delegate name:nil object:self.sourceList];
|
||||
|
||||
_delegate = delegate;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
#PXSourceList
|
||||
|
||||
|
||||
[](http://cocoadocs.org/docsets/PXSourceList/2.0.5/)
|
||||
[](http://cocoadocs.org/docsets/PXSourceList/2.0.5/)
|
||||
[](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.
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# 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:.
|
||||
|
||||
## 2.0.4
|
||||
- PR #41: fix a Zeroing Weak References problem. This fixes an issue where using an `NSWindow`, `NSWindowController` or `NSViewController` as a PXSourceList delegate or dataSource would cause problems on 10.7 because prior to 10.8, these classes could not be referenced by zeroing weak references.
|
||||
- Remove unused `badgeMargin` constant from PXSourceList.m.
|
||||
|
||||
Reference in New Issue
Block a user