4 Commits

Author SHA1 Message Date
Alex Rozanski c62b8b2c92 Bump project to 2.0.4. 2014-05-11 13:17:39 -04:00
Alex Rozanski 67772622cf Remove unused badgeMargin constant. 2014-05-11 13:12:42 -04:00
Alex Rozanski a555035042 Merge pull request #41 from CrazyCatcher/master
fix a Zeroing Weak References problem
2014-05-11 12:59:55 -04:00
crazycatcher 0129de341e fix a Zeroing Weak References problem 2014-05-06 20:12:51 +08:00
5 changed files with 10 additions and 7 deletions
+2 -2
View File
@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0.3</string>
<string>2.0.4</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.0.3</string>
<string>2.0.4</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2009-14 Alex Rozanski and other contributors. All rights reserved.</string>
<key>NSPrincipalClass</key>
+2 -2
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PXSourceList'
s.version = '2.0.3'
s.version = '2.0.4'
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.3' }
s.source = { :git => 'https://github.com/Perspx/PXSourceList.git', :tag => '2.0.4' }
s.source_files = 'PXSourceList/**/*.{h,m}'
end
@@ -13,8 +13,8 @@
@interface PXSourceListDelegateDataSourceProxy : NSProxy <NSOutlineViewDelegate, NSOutlineViewDataSource, PXSourceListDelegate, PXSourceListDataSource>
@property (weak, nonatomic) PXSourceList *sourceList;
@property (weak, nonatomic) id <PXSourceListDelegate> delegate;
@property (weak, nonatomic) id <PXSourceListDataSource> dataSource;
@property (unsafe_unretained, nonatomic) id <PXSourceListDelegate> delegate;
@property (unsafe_unretained, nonatomic) id <PXSourceListDataSource> dataSource;
- (id)initWithSourceList:(PXSourceList *)sourceList;
-1
View File
@@ -15,7 +15,6 @@
//Layout constants
static const CGFloat minBadgeWidth = 22.0; // The minimum badge width for each item (default 22.0).
static const CGFloat badgeHeight = 14.0; // The badge height for each item (default 14.0).
static const CGFloat badgeMargin = 5.0; // The spacing between the badge and the cell for that row.
static const CGFloat rowRightMargin = 5.0; // The spacing between the right edge of the badge and the edge of the table column.
static const CGFloat iconSpacing = 2.0; // The spacing between the icon and it's adjacent cell.
static const CGFloat disclosureTriangleSpace = 18.0; // The indentation reserved for disclosure triangles for non-group items.
+4
View File
@@ -1,5 +1,9 @@
# PXSourceList Release Notes
## 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.
## 2.0.3
- Fix #40: Editing titles on cell based source list causes exception.
- Fix issue in view-based source list example where items created with the add button couldn't be dragged.