Skip to content

Commit

Permalink
Refactor + localization enable
Browse files Browse the repository at this point in the history
  • Loading branch information
leverdeterre committed Mar 15, 2014
1 parent 7765391 commit 3076ab0
Show file tree
Hide file tree
Showing 17 changed files with 448 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@
objectVersion = 46;
objects = {

/* Begin PBXAggregateTarget section */
C2BCDFB618D45A2C00A4E86B /* MediaPickerManagerBundle */ = {
isa = PBXAggregateTarget;
buildConfigurationList = C2BCDFB718D45A2C00A4E86B /* Build configuration list for PBXAggregateTarget "MediaPickerManagerBundle" */;
buildPhases = (
C2BCDFBA18D45A6100A4E86B /* ShellScript */,
);
dependencies = (
);
name = MediaPickerManagerBundle;
productName = MediaPickerManagerBundle;
};
/* End PBXAggregateTarget section */

/* Begin PBXBuildFile section */
C205EF1B17BD650F0023B227 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C205EF1A17BD650F0023B227 /* UIKit.framework */; };
C205EF1D17BD650F0023B227 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C205EF1C17BD650F0023B227 /* Foundation.framework */; };
Expand All @@ -20,6 +34,9 @@
C205EF3717BD650F0023B227 /* JMOViewController_iPhone.xib in Resources */ = {isa = PBXBuildFile; fileRef = C205EF3517BD650F0023B227 /* JMOViewController_iPhone.xib */; };
C205EF3A17BD650F0023B227 /* JMOViewController_iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = C205EF3817BD650F0023B227 /* JMOViewController_iPad.xib */; };
C205EF4317BD65620023B227 /* MediaPickerManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C205EF4217BD65620023B227 /* MediaPickerManager.m */; };
C2BCDFAC18D450F400A4E86B /* MediaPickerManager.strings in Resources */ = {isa = PBXBuildFile; fileRef = C2BCDFAE18D450F400A4E86B /* MediaPickerManager.strings */; };
C2BCDFB518D4561800A4E86B /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C2BCDFB418D4561700A4E86B /* MobileCoreServices.framework */; };
C2BCDFBC18D45BA400A4E86B /* MediaPickerManager.bundle in Resources */ = {isa = PBXBuildFile; fileRef = C2BCDFBB18D45BA400A4E86B /* MediaPickerManager.bundle */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -42,13 +59,20 @@
C205EF3917BD650F0023B227 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/JMOViewController_iPad.xib; sourceTree = "<group>"; };
C205EF4117BD65620023B227 /* MediaPickerManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MediaPickerManager.h; sourceTree = "<group>"; };
C205EF4217BD65620023B227 /* MediaPickerManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MediaPickerManager.m; sourceTree = "<group>"; };
C2BCDFAD18D450F400A4E86B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/MediaPickerManager.strings; sourceTree = "<group>"; };
C2BCDFAF18D4511900A4E86B /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/MediaPickerManager.strings; sourceTree = "<group>"; };
C2BCDFB018D455F100A4E86B /* ImageIO.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ImageIO.framework; path = System/Library/Frameworks/ImageIO.framework; sourceTree = SDKROOT; };
C2BCDFB218D455FC00A4E86B /* CoreImage.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreImage.framework; path = System/Library/Frameworks/CoreImage.framework; sourceTree = SDKROOT; };
C2BCDFB418D4561700A4E86B /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
C2BCDFBB18D45BA400A4E86B /* MediaPickerManager.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = MediaPickerManager.bundle; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
C205EF1417BD650F0023B227 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C2BCDFB518D4561800A4E86B /* MobileCoreServices.framework in Frameworks */,
C205EF1B17BD650F0023B227 /* UIKit.framework in Frameworks */,
C205EF1D17BD650F0023B227 /* Foundation.framework in Frameworks */,
C205EF1F17BD650F0023B227 /* CoreGraphics.framework in Frameworks */,
Expand Down Expand Up @@ -78,6 +102,9 @@
C205EF1917BD650F0023B227 /* Frameworks */ = {
isa = PBXGroup;
children = (
C2BCDFB418D4561700A4E86B /* MobileCoreServices.framework */,
C2BCDFB218D455FC00A4E86B /* CoreImage.framework */,
C2BCDFB018D455F100A4E86B /* ImageIO.framework */,
C205EF4017BD65620023B227 /* MediaPickerManager */,
C205EF1A17BD650F0023B227 /* UIKit.framework */,
C205EF1C17BD650F0023B227 /* Foundation.framework */,
Expand Down Expand Up @@ -117,6 +144,8 @@
C205EF4017BD65620023B227 /* MediaPickerManager */ = {
isa = PBXGroup;
children = (
C2BCDFBB18D45BA400A4E86B /* MediaPickerManager.bundle */,
C2BCDFAE18D450F400A4E86B /* MediaPickerManager.strings */,
C205EF4117BD65620023B227 /* MediaPickerManager.h */,
C205EF4217BD65620023B227 /* MediaPickerManager.m */,
);
Expand Down Expand Up @@ -159,13 +188,15 @@
hasScannedForEncodings = 0;
knownRegions = (
en,
fr,
);
mainGroup = C205EF0E17BD650F0023B227;
productRefGroup = C205EF1817BD650F0023B227 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
C205EF1617BD650F0023B227 /* GenericPickerManager */,
C2BCDFB618D45A2C00A4E86B /* MediaPickerManagerBundle */,
);
};
/* End PBXProject section */
Expand All @@ -177,7 +208,9 @@
files = (
C205EF2517BD650F0023B227 /* InfoPlist.strings in Resources */,
C205EF2D17BD650F0023B227 /* Default.png in Resources */,
C2BCDFBC18D45BA400A4E86B /* MediaPickerManager.bundle in Resources */,
C205EF2F17BD650F0023B227 /* Default@2x.png in Resources */,
C2BCDFAC18D450F400A4E86B /* MediaPickerManager.strings in Resources */,
C205EF3117BD650F0023B227 /* Default-568h@2x.png in Resources */,
C205EF3717BD650F0023B227 /* JMOViewController_iPhone.xib in Resources */,
C205EF3A17BD650F0023B227 /* JMOViewController_iPad.xib in Resources */,
Expand All @@ -186,6 +219,22 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
C2BCDFBA18D45A6100A4E86B /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "#!/bin/bash\necho \"Building bundle.\"\nif [ -d ./MediaPickerManager/MediaPickerManager.bundle ]; then\n rm ./MediaPickerManager/MediaPickerManager.bundle\nelse\n mkdir ./MediaPickerManager/MediaPickerManager.bundle\nfi\ncp -r ./MediaPickerManager/en.lproj ./MediaPickerManager/MediaPickerManager.bundle\ncp -r ./MediaPickerManager/fr.lproj ./MediaPickerManager/MediaPickerManager.bundle";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
C205EF1317BD650F0023B227 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down Expand Up @@ -225,6 +274,15 @@
name = JMOViewController_iPad.xib;
sourceTree = "<group>";
};
C2BCDFAE18D450F400A4E86B /* MediaPickerManager.strings */ = {
isa = PBXVariantGroup;
children = (
C2BCDFAD18D450F400A4E86B /* en */,
C2BCDFAF18D4511900A4E86B /* fr */,
);
name = MediaPickerManager.strings;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
Expand Down Expand Up @@ -308,6 +366,20 @@
};
name = Release;
};
C2BCDFB818D45A2C00A4E86B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
C2BCDFB918D45A2C00A4E86B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand All @@ -327,6 +399,15 @@
C205EF3F17BD650F0023B227 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C2BCDFB718D45A2C00A4E86B /* Build configuration list for PBXAggregateTarget "MediaPickerManagerBundle" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C2BCDFB818D45A2C00A4E86B /* Debug */,
C2BCDFB918D45A2C00A4E86B /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>EDAF04B4-837D-41EC-86EC-A879A364A415</string>
<key>IDESourceControlProjectName</key>
<string>GenericPickerManager</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>EA19B65B-F31D-4B1E-8343-BB684E7B679D</key>
<string>https://github.com/leverdeterre/MediaPickerManager.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>GenericPickerManager/GenericPickerManager.xcodeproj/project.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>EA19B65B-F31D-4B1E-8343-BB684E7B679D</key>
<string>../../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>https://github.com/leverdeterre/MediaPickerManager.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>EA19B65B-F31D-4B1E-8343-BB684E7B679D</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>EA19B65B-F31D-4B1E-8343-BB684E7B679D</string>
<key>IDESourceControlWCCName</key>
<string>MediaPickerManager</string>
</dict>
</array>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
</Bucket>
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0460"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C205EF1617BD650F0023B227"
BuildableName = "GenericPickerManager.app"
BlueprintName = "GenericPickerManager"
ReferencedContainer = "container:GenericPickerManager.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C205EF1617BD650F0023B227"
BuildableName = "GenericPickerManager.app"
BlueprintName = "GenericPickerManager"
ReferencedContainer = "container:GenericPickerManager.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C205EF1617BD650F0023B227"
BuildableName = "GenericPickerManager.app"
BlueprintName = "GenericPickerManager"
ReferencedContainer = "container:GenericPickerManager.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C205EF1617BD650F0023B227"
BuildableName = "GenericPickerManager.app"
BlueprintName = "GenericPickerManager"
ReferencedContainer = "container:GenericPickerManager.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C2BCDFB618D45A2C00A4E86B"
BuildableName = "MediaPickerManagerBundle"
BlueprintName = "MediaPickerManagerBundle"
ReferencedContainer = "container:GenericPickerManager.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading

0 comments on commit 3076ab0

Please sign in to comment.