Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Example/PKAlertController.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@
6003F587195388D20070C39A /* Frameworks */,
6003F588195388D20070C39A /* Resources */,
936C7B2139F3609A09F57627 /* Copy Pods Resources */,
E4017E52BA51BBAFDB2B29C2 /* Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -376,6 +377,21 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PKAlertController/Pods-PKAlertController-resources.sh\"\n";
showEnvVarsInLog = 0;
};
E4017E52BA51BBAFDB2B29C2 /* Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PKAlertController/Pods-PKAlertController-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down
16 changes: 8 additions & 8 deletions Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ target 'PKAlertController', :exclusive => true do
pod 'FLEX', '~> 2.0.0'
end

target 'Tests', :exclusive => true do
pod "PKAlertController", :path => "../"

pod 'Specta'
pod 'Expecta'
pod 'FBSnapshotTestCase', '~> 1.6.0'
pod 'Expecta+Snapshots'
end
#target 'Tests', :exclusive => true do
# pod "PKAlertController", :path => "../"
#
# pod 'Specta'
# pod 'Expecta'
# pod 'FBSnapshotTestCase', '~> 1.6.0'
# pod 'Expecta+Snapshots'
#end
5 changes: 3 additions & 2 deletions Pod/Classes/PKAlertUtility.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@

NSBundle *PKAlertControllerBundle(void)
{
NSString *path = [[NSBundle mainBundle] pathForResource:@"PKAlertController" ofType:@"bundle"];
return [NSBundle bundleWithPath:path];
NSBundle *frameworkBundle = [NSBundle bundleForClass:[PKAlertUtility class]];
NSString *bundlePath = [[frameworkBundle resourcePath] stringByAppendingPathComponent:@"PKAlertController.bundle"];
return [NSBundle bundleWithPath:bundlePath];
}

void PKAlertReloadAppearance()
Expand Down