From 8e890a66dd2fa1e5cdcd2217c0d1318c0b77abc7 Mon Sep 17 00:00:00 2001 From: Jun Seki Date: Thu, 29 Oct 2015 18:35:06 +0000 Subject: [PATCH 1/2] fixed an issue in swift 2 + iOS 9.1 not getting icons --- DBPrivacyHelper/DBPrivateHelperCell.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DBPrivacyHelper/DBPrivateHelperCell.m b/DBPrivacyHelper/DBPrivateHelperCell.m index 7009250..6b9654d 100644 --- a/DBPrivacyHelper/DBPrivateHelperCell.m +++ b/DBPrivacyHelper/DBPrivateHelperCell.m @@ -57,7 +57,7 @@ - (instancetype) initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSSt } - (void) setIcon:(NSString *)icon text:(NSString *)text row:(NSInteger)row { - _iconView.image = [UIImage imageNamed:icon]; + _iconView.image = [UIImage imageNamed:icon inBundle:[NSBundle bundleForClass:[DBPrivateHelperCell class]] compatibleWithTraitCollection:nil]; _cellLabel.text = text; self.textLabel.text = [NSString stringWithFormat:@".%li", (long)row]; } From b027484a55d2442708f622023fae69bc42eb4dc8 Mon Sep 17 00:00:00 2001 From: Jun Seki Date: Thu, 29 Oct 2015 18:35:42 +0000 Subject: [PATCH 2/2] update version --- DBPrivacyHelper.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DBPrivacyHelper.podspec b/DBPrivacyHelper.podspec index 74d7b0c..68387b3 100644 --- a/DBPrivacyHelper.podspec +++ b/DBPrivacyHelper.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "DBPrivacyHelper" - s.version = "0.6.2" + s.version = "0.6.3" s.summary = "Quick category to explain the right place to enable your privacy settings" s.description = <<-DESC @@ -12,7 +12,7 @@ Pod::Spec.new do |s| s.author = { "Daniele Bogo" => "me@bogodaniele.com" } s.platform = :ios, "7.0" - s.source = { :git => "https://github.com/danielebogo/DBPrivacyHelper.git", :tag => "0.6.2" } + s.source = { :git => "https://github.com/danielebogo/DBPrivacyHelper.git", :tag => "0.6.3" } s.source_files = "DBPrivacyHelper/*.{h,m}" s.resources = ['DBPrivacyHelper/*.{xib,xcassets}', 'DBPrivacyHelper/DBPrivacyHelperLocalizations/**']