mirror of
https://github.com/zhigang1992/PINRemoteImage.git
synced 2026-06-16 02:34:43 +08:00
Moving examples deeper so that carthage can build the correct project
This commit is contained in:
561
Examples/Example-Mac/PINRemoteImage.xcodeproj/project.pbxproj
Normal file
561
Examples/Example-Mac/PINRemoteImage.xcodeproj/project.pbxproj
Normal file
@@ -0,0 +1,561 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 46;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
42796FDA2C0B59B150630DA3 /* libPods-PINRemoteImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0141C54D0963FCEA0DB0381A /* libPods-PINRemoteImage.a */; };
|
||||
9D9328C51C3C60E700E1F1D3 /* PINViewWithBackgroundColor.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D9328C41C3C60E700E1F1D3 /* PINViewWithBackgroundColor.m */; };
|
||||
9D9328C91C3D09BB00E1F1D3 /* WebPViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D9328C71C3D09BB00E1F1D3 /* WebPViewController.m */; };
|
||||
9D9328CA1C3D09BB00E1F1D3 /* WebPViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9D9328C81C3D09BB00E1F1D3 /* WebPViewController.xib */; };
|
||||
9D9328CF1C3D0C0D00E1F1D3 /* ScrollViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D9328CD1C3D0C0D00E1F1D3 /* ScrollViewController.m */; };
|
||||
9D9328D01C3D0C0D00E1F1D3 /* ScrollViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9D9328CE1C3D0C0D00E1F1D3 /* ScrollViewController.xib */; };
|
||||
9D9328D41C3D131900E1F1D3 /* ProcessingViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D9328D21C3D131900E1F1D3 /* ProcessingViewController.m */; };
|
||||
9D9328D51C3D131900E1F1D3 /* ProcessingViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9D9328D31C3D131900E1F1D3 /* ProcessingViewController.xib */; };
|
||||
9D9328D91C3D243A00E1F1D3 /* ProgressiveViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D9328D71C3D243A00E1F1D3 /* ProgressiveViewController.m */; };
|
||||
9D9328DA1C3D243A00E1F1D3 /* ProgressiveViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9D9328D81C3D243A00E1F1D3 /* ProgressiveViewController.xib */; };
|
||||
9D9328DE1C3D275D00E1F1D3 /* DegradedViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D9328DC1C3D275D00E1F1D3 /* DegradedViewController.m */; };
|
||||
9D9328DF1C3D275D00E1F1D3 /* DegradedViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9D9328DD1C3D275D00E1F1D3 /* DegradedViewController.xib */; };
|
||||
9D9328E21C3D489400E1F1D3 /* Kitten.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D9328E11C3D489400E1F1D3 /* Kitten.m */; };
|
||||
9D97D09D1C3C4D960006C115 /* PINImageCollectionViewItemView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9D97D09B1C3C4D960006C115 /* PINImageCollectionViewItemView.xib */; };
|
||||
9DC09DB81C39AB0D00C6451E /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DC09DB71C39AB0D00C6451E /* AppDelegate.m */; };
|
||||
9DC09DBB1C39AB0D00C6451E /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DC09DBA1C39AB0D00C6451E /* main.m */; };
|
||||
9DC09DBD1C39AB0D00C6451E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9DC09DBC1C39AB0D00C6451E /* Assets.xcassets */; };
|
||||
9DC09DC01C39AB0D00C6451E /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9DC09DBE1C39AB0D00C6451E /* MainMenu.xib */; };
|
||||
9DC09DCB1C39AB0D00C6451E /* PINRemoteImageTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DC09DCA1C39AB0D00C6451E /* PINRemoteImageTests.m */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
9DC09DC71C39AB0D00C6451E /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 9DC09DAB1C39AB0D00C6451E /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = 9DC09DB21C39AB0D00C6451E;
|
||||
remoteInfo = PINRemoteImage;
|
||||
};
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
0141C54D0963FCEA0DB0381A /* libPods-PINRemoteImage.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-PINRemoteImage.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
0C7B3B480ECE116693899B73 /* Pods-PINRemoteImage.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PINRemoteImage.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PINRemoteImage/Pods-PINRemoteImage.debug.xcconfig"; sourceTree = "<group>"; };
|
||||
9D9328C31C3C60E700E1F1D3 /* PINViewWithBackgroundColor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PINViewWithBackgroundColor.h; sourceTree = "<group>"; };
|
||||
9D9328C41C3C60E700E1F1D3 /* PINViewWithBackgroundColor.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PINViewWithBackgroundColor.m; sourceTree = "<group>"; };
|
||||
9D9328C61C3D09BB00E1F1D3 /* WebPViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebPViewController.h; sourceTree = "<group>"; };
|
||||
9D9328C71C3D09BB00E1F1D3 /* WebPViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WebPViewController.m; sourceTree = "<group>"; };
|
||||
9D9328C81C3D09BB00E1F1D3 /* WebPViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WebPViewController.xib; sourceTree = "<group>"; };
|
||||
9D9328CC1C3D0C0D00E1F1D3 /* ScrollViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScrollViewController.h; sourceTree = "<group>"; };
|
||||
9D9328CD1C3D0C0D00E1F1D3 /* ScrollViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ScrollViewController.m; sourceTree = "<group>"; };
|
||||
9D9328CE1C3D0C0D00E1F1D3 /* ScrollViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ScrollViewController.xib; sourceTree = "<group>"; };
|
||||
9D9328D11C3D131900E1F1D3 /* ProcessingViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProcessingViewController.h; sourceTree = "<group>"; };
|
||||
9D9328D21C3D131900E1F1D3 /* ProcessingViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ProcessingViewController.m; sourceTree = "<group>"; };
|
||||
9D9328D31C3D131900E1F1D3 /* ProcessingViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ProcessingViewController.xib; sourceTree = "<group>"; };
|
||||
9D9328D61C3D243A00E1F1D3 /* ProgressiveViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProgressiveViewController.h; sourceTree = "<group>"; };
|
||||
9D9328D71C3D243A00E1F1D3 /* ProgressiveViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ProgressiveViewController.m; sourceTree = "<group>"; };
|
||||
9D9328D81C3D243A00E1F1D3 /* ProgressiveViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ProgressiveViewController.xib; sourceTree = "<group>"; };
|
||||
9D9328DB1C3D275D00E1F1D3 /* DegradedViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DegradedViewController.h; sourceTree = "<group>"; };
|
||||
9D9328DC1C3D275D00E1F1D3 /* DegradedViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DegradedViewController.m; sourceTree = "<group>"; };
|
||||
9D9328DD1C3D275D00E1F1D3 /* DegradedViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = DegradedViewController.xib; sourceTree = "<group>"; };
|
||||
9D9328E01C3D489400E1F1D3 /* Kitten.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Kitten.h; path = "../../Example-Shared/Kitten.h"; sourceTree = "<group>"; };
|
||||
9D9328E11C3D489400E1F1D3 /* Kitten.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Kitten.m; path = "../../Example-Shared/Kitten.m"; sourceTree = "<group>"; };
|
||||
9D97D09C1C3C4D960006C115 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/PINImageCollectionViewItemView.xib; sourceTree = "<group>"; };
|
||||
9DC09DB31C39AB0D00C6451E /* PINRemoteImage.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PINRemoteImage.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
9DC09DB61C39AB0D00C6451E /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
|
||||
9DC09DB71C39AB0D00C6451E /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
|
||||
9DC09DBA1C39AB0D00C6451E /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
||||
9DC09DBC1C39AB0D00C6451E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||
9DC09DBF1C39AB0D00C6451E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
|
||||
9DC09DC11C39AB0D00C6451E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
9DC09DC61C39AB0D00C6451E /* PINRemoteImageTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PINRemoteImageTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
9DC09DCA1C39AB0D00C6451E /* PINRemoteImageTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PINRemoteImageTests.m; sourceTree = "<group>"; };
|
||||
9DC09DCC1C39AB0D00C6451E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
A560E2F6800411CCF5086206 /* Pods-PINRemoteImage.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PINRemoteImage.release.xcconfig"; path = "Pods/Target Support Files/Pods-PINRemoteImage/Pods-PINRemoteImage.release.xcconfig"; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
9DC09DB01C39AB0D00C6451E /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
42796FDA2C0B59B150630DA3 /* libPods-PINRemoteImage.a in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
9DC09DC31C39AB0D00C6451E /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
19057E8A9A6779B7C486AF2B /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
0141C54D0963FCEA0DB0381A /* libPods-PINRemoteImage.a */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
9D9328CB1C3D09BE00E1F1D3 /* Views */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9D97D09B1C3C4D960006C115 /* PINImageCollectionViewItemView.xib */,
|
||||
9D9328C31C3C60E700E1F1D3 /* PINViewWithBackgroundColor.h */,
|
||||
9D9328C41C3C60E700E1F1D3 /* PINViewWithBackgroundColor.m */,
|
||||
);
|
||||
name = Views;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
9DC09DAA1C39AB0D00C6451E = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9DC09DB51C39AB0D00C6451E /* PINRemoteImage */,
|
||||
9DC09DC91C39AB0D00C6451E /* PINRemoteImageTests */,
|
||||
9DC09DB41C39AB0D00C6451E /* Products */,
|
||||
D8AD56B80C0F0D90F37F7BC5 /* Pods */,
|
||||
19057E8A9A6779B7C486AF2B /* Frameworks */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
9DC09DB41C39AB0D00C6451E /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9DC09DB31C39AB0D00C6451E /* PINRemoteImage.app */,
|
||||
9DC09DC61C39AB0D00C6451E /* PINRemoteImageTests.xctest */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
9DC09DB51C39AB0D00C6451E /* PINRemoteImage */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9DC09DB91C39AB0D00C6451E /* Supporting Files */,
|
||||
9D9328CB1C3D09BE00E1F1D3 /* Views */,
|
||||
9D9328E01C3D489400E1F1D3 /* Kitten.h */,
|
||||
9D9328E11C3D489400E1F1D3 /* Kitten.m */,
|
||||
9DC09DB61C39AB0D00C6451E /* AppDelegate.h */,
|
||||
9DC09DB71C39AB0D00C6451E /* AppDelegate.m */,
|
||||
9DC09DBE1C39AB0D00C6451E /* MainMenu.xib */,
|
||||
9DC09DC11C39AB0D00C6451E /* Info.plist */,
|
||||
9D9328CC1C3D0C0D00E1F1D3 /* ScrollViewController.h */,
|
||||
9D9328CD1C3D0C0D00E1F1D3 /* ScrollViewController.m */,
|
||||
9D9328CE1C3D0C0D00E1F1D3 /* ScrollViewController.xib */,
|
||||
9D9328C61C3D09BB00E1F1D3 /* WebPViewController.h */,
|
||||
9D9328C71C3D09BB00E1F1D3 /* WebPViewController.m */,
|
||||
9D9328C81C3D09BB00E1F1D3 /* WebPViewController.xib */,
|
||||
9D9328D61C3D243A00E1F1D3 /* ProgressiveViewController.h */,
|
||||
9D9328D71C3D243A00E1F1D3 /* ProgressiveViewController.m */,
|
||||
9D9328D81C3D243A00E1F1D3 /* ProgressiveViewController.xib */,
|
||||
9D9328DB1C3D275D00E1F1D3 /* DegradedViewController.h */,
|
||||
9D9328DC1C3D275D00E1F1D3 /* DegradedViewController.m */,
|
||||
9D9328DD1C3D275D00E1F1D3 /* DegradedViewController.xib */,
|
||||
9D9328D11C3D131900E1F1D3 /* ProcessingViewController.h */,
|
||||
9D9328D21C3D131900E1F1D3 /* ProcessingViewController.m */,
|
||||
9D9328D31C3D131900E1F1D3 /* ProcessingViewController.xib */,
|
||||
);
|
||||
path = PINRemoteImage;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
9DC09DB91C39AB0D00C6451E /* Supporting Files */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9DC09DBC1C39AB0D00C6451E /* Assets.xcassets */,
|
||||
9DC09DBA1C39AB0D00C6451E /* main.m */,
|
||||
);
|
||||
name = "Supporting Files";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
9DC09DC91C39AB0D00C6451E /* PINRemoteImageTests */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9DC09DCA1C39AB0D00C6451E /* PINRemoteImageTests.m */,
|
||||
9DC09DCC1C39AB0D00C6451E /* Info.plist */,
|
||||
);
|
||||
path = PINRemoteImageTests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
D8AD56B80C0F0D90F37F7BC5 /* Pods */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
0C7B3B480ECE116693899B73 /* Pods-PINRemoteImage.debug.xcconfig */,
|
||||
A560E2F6800411CCF5086206 /* Pods-PINRemoteImage.release.xcconfig */,
|
||||
);
|
||||
name = Pods;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
9DC09DB21C39AB0D00C6451E /* PINRemoteImage */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 9DC09DCF1C39AB0D00C6451E /* Build configuration list for PBXNativeTarget "PINRemoteImage" */;
|
||||
buildPhases = (
|
||||
8CFB37DD63603884BA1E041F /* Check Pods Manifest.lock */,
|
||||
9DC09DAF1C39AB0D00C6451E /* Sources */,
|
||||
9DC09DB01C39AB0D00C6451E /* Frameworks */,
|
||||
9DC09DB11C39AB0D00C6451E /* Resources */,
|
||||
16F443D310E08F018ED7D05A /* Copy Pods Resources */,
|
||||
86B463CD99BA36A3184D5560 /* Embed Pods Frameworks */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = PINRemoteImage;
|
||||
productName = PINRemoteImage;
|
||||
productReference = 9DC09DB31C39AB0D00C6451E /* PINRemoteImage.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
9DC09DC51C39AB0D00C6451E /* PINRemoteImageTests */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 9DC09DD21C39AB0D00C6451E /* Build configuration list for PBXNativeTarget "PINRemoteImageTests" */;
|
||||
buildPhases = (
|
||||
9DC09DC21C39AB0D00C6451E /* Sources */,
|
||||
9DC09DC31C39AB0D00C6451E /* Frameworks */,
|
||||
9DC09DC41C39AB0D00C6451E /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
9DC09DC81C39AB0D00C6451E /* PBXTargetDependency */,
|
||||
);
|
||||
name = PINRemoteImageTests;
|
||||
productName = PINRemoteImageTests;
|
||||
productReference = 9DC09DC61C39AB0D00C6451E /* PINRemoteImageTests.xctest */;
|
||||
productType = "com.apple.product-type.bundle.unit-test";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
9DC09DAB1C39AB0D00C6451E /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 0720;
|
||||
ORGANIZATIONNAME = mischneider;
|
||||
TargetAttributes = {
|
||||
9DC09DB21C39AB0D00C6451E = {
|
||||
CreatedOnToolsVersion = 7.2;
|
||||
};
|
||||
9DC09DC51C39AB0D00C6451E = {
|
||||
CreatedOnToolsVersion = 7.2;
|
||||
TestTargetID = 9DC09DB21C39AB0D00C6451E;
|
||||
};
|
||||
};
|
||||
};
|
||||
buildConfigurationList = 9DC09DAE1C39AB0D00C6451E /* Build configuration list for PBXProject "PINRemoteImage" */;
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
developmentRegion = English;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
Base,
|
||||
);
|
||||
mainGroup = 9DC09DAA1C39AB0D00C6451E;
|
||||
productRefGroup = 9DC09DB41C39AB0D00C6451E /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
9DC09DB21C39AB0D00C6451E /* PINRemoteImage */,
|
||||
9DC09DC51C39AB0D00C6451E /* PINRemoteImageTests */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
9DC09DB11C39AB0D00C6451E /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
9DC09DBD1C39AB0D00C6451E /* Assets.xcassets in Resources */,
|
||||
9D9328DA1C3D243A00E1F1D3 /* ProgressiveViewController.xib in Resources */,
|
||||
9D9328DF1C3D275D00E1F1D3 /* DegradedViewController.xib in Resources */,
|
||||
9D9328CA1C3D09BB00E1F1D3 /* WebPViewController.xib in Resources */,
|
||||
9D9328D01C3D0C0D00E1F1D3 /* ScrollViewController.xib in Resources */,
|
||||
9D97D09D1C3C4D960006C115 /* PINImageCollectionViewItemView.xib in Resources */,
|
||||
9DC09DC01C39AB0D00C6451E /* MainMenu.xib in Resources */,
|
||||
9D9328D51C3D131900E1F1D3 /* ProcessingViewController.xib in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
9DC09DC41C39AB0D00C6451E /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXShellScriptBuildPhase section */
|
||||
16F443D310E08F018ED7D05A /* Copy Pods Resources */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
);
|
||||
name = "Copy Pods Resources";
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PINRemoteImage/Pods-PINRemoteImage-resources.sh\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
86B463CD99BA36A3184D5560 /* 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-PINRemoteImage/Pods-PINRemoteImage-frameworks.sh\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
8CFB37DD63603884BA1E041F /* Check Pods Manifest.lock */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
);
|
||||
name = "Check Pods Manifest.lock";
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
9DC09DAF1C39AB0D00C6451E /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
9D9328CF1C3D0C0D00E1F1D3 /* ScrollViewController.m in Sources */,
|
||||
9D9328C91C3D09BB00E1F1D3 /* WebPViewController.m in Sources */,
|
||||
9D9328E21C3D489400E1F1D3 /* Kitten.m in Sources */,
|
||||
9D9328DE1C3D275D00E1F1D3 /* DegradedViewController.m in Sources */,
|
||||
9DC09DBB1C39AB0D00C6451E /* main.m in Sources */,
|
||||
9D9328D41C3D131900E1F1D3 /* ProcessingViewController.m in Sources */,
|
||||
9D9328D91C3D243A00E1F1D3 /* ProgressiveViewController.m in Sources */,
|
||||
9DC09DB81C39AB0D00C6451E /* AppDelegate.m in Sources */,
|
||||
9D9328C51C3C60E700E1F1D3 /* PINViewWithBackgroundColor.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
9DC09DC21C39AB0D00C6451E /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
9DC09DCB1C39AB0D00C6451E /* PINRemoteImageTests.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXTargetDependency section */
|
||||
9DC09DC81C39AB0D00C6451E /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = 9DC09DB21C39AB0D00C6451E /* PINRemoteImage */;
|
||||
targetProxy = 9DC09DC71C39AB0D00C6451E /* PBXContainerItemProxy */;
|
||||
};
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
9D97D09B1C3C4D960006C115 /* PINImageCollectionViewItemView.xib */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
9D97D09C1C3C4D960006C115 /* Base */,
|
||||
);
|
||||
name = PINImageCollectionViewItemView.xib;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
9DC09DBE1C39AB0D00C6451E /* MainMenu.xib */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
9DC09DBF1C39AB0D00C6451E /* Base */,
|
||||
);
|
||||
name = MainMenu.xib;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
9DC09DCD1C39AB0D00C6451E /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_IDENTITY = "-";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.11;
|
||||
MTL_ENABLE_DEBUG_INFO = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = macosx;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
9DC09DCE1C39AB0D00C6451E /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_IDENTITY = "-";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.11;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
SDKROOT = macosx;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
9DC09DD01C39AB0D00C6451E /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = 0C7B3B480ECE116693899B73 /* Pods-PINRemoteImage.debug.xcconfig */;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
INFOPLIST_FILE = PINRemoteImage/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.mischneider.PINRemoteImage;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
9DC09DD11C39AB0D00C6451E /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = A560E2F6800411CCF5086206 /* Pods-PINRemoteImage.release.xcconfig */;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
INFOPLIST_FILE = PINRemoteImage/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.mischneider.PINRemoteImage;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
9DC09DD31C39AB0D00C6451E /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
INFOPLIST_FILE = PINRemoteImageTests/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.mischneider.PINRemoteImageTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PINRemoteImage.app/Contents/MacOS/PINRemoteImage";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
9DC09DD41C39AB0D00C6451E /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
INFOPLIST_FILE = PINRemoteImageTests/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.mischneider.PINRemoteImageTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PINRemoteImage.app/Contents/MacOS/PINRemoteImage";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
9DC09DAE1C39AB0D00C6451E /* Build configuration list for PBXProject "PINRemoteImage" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
9DC09DCD1C39AB0D00C6451E /* Debug */,
|
||||
9DC09DCE1C39AB0D00C6451E /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
9DC09DCF1C39AB0D00C6451E /* Build configuration list for PBXNativeTarget "PINRemoteImage" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
9DC09DD01C39AB0D00C6451E /* Debug */,
|
||||
9DC09DD11C39AB0D00C6451E /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
9DC09DD21C39AB0D00C6451E /* Build configuration list for PBXNativeTarget "PINRemoteImageTests" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
9DC09DD31C39AB0D00C6451E /* Debug */,
|
||||
9DC09DD41C39AB0D00C6451E /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 9DC09DAB1C39AB0D00C6451E /* Project object */;
|
||||
}
|
||||
10
Examples/Example-Mac/PINRemoteImage.xcworkspace/contents.xcworkspacedata
generated
Normal file
10
Examples/Example-Mac/PINRemoteImage.xcworkspace/contents.xcworkspacedata
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "group:PINRemoteImage.xcodeproj">
|
||||
</FileRef>
|
||||
<FileRef
|
||||
location = "group:Pods/Pods.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
||||
15
Examples/Example-Mac/PINRemoteImage/AppDelegate.h
Normal file
15
Examples/Example-Mac/PINRemoteImage/AppDelegate.h
Normal file
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// AppDelegate.h
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/3/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface AppDelegate : NSObject <NSApplicationDelegate>
|
||||
|
||||
|
||||
@end
|
||||
|
||||
100
Examples/Example-Mac/PINRemoteImage/AppDelegate.m
Normal file
100
Examples/Example-Mac/PINRemoteImage/AppDelegate.m
Normal file
@@ -0,0 +1,100 @@
|
||||
//
|
||||
// AppDelegate.m
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/3/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import "AppDelegate.h"
|
||||
|
||||
#import <PINRemoteImage/PINRemoteImageManager.h>
|
||||
|
||||
#import "ScrollViewController.h"
|
||||
#import "WebPViewController.h"
|
||||
#import "DegradedViewController.h"
|
||||
#import "ProgressiveViewController.h"
|
||||
#import "ProcessingViewController.h"
|
||||
|
||||
enum : NSUInteger {
|
||||
kScrollViewControllerSegment = 0,
|
||||
kWebPViewControllerSegment,
|
||||
kProgressiveViewControllerSegment,
|
||||
kDegradedViewControllerSegment,
|
||||
kProcessingViewControllerSegment,
|
||||
};
|
||||
|
||||
@interface AppDelegate ()
|
||||
@property (weak) IBOutlet NSWindow *window;
|
||||
@property (weak) IBOutlet NSSegmentedControl *segmentedControl;
|
||||
|
||||
@property (nonatomic, strong) NSViewController *currentViewController;
|
||||
@property (nonatomic, copy, readonly) NSDictionary *viewControllerMapping;
|
||||
@property (nonatomic, strong) NSMutableDictionary *viewControllerCache;
|
||||
|
||||
@end
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
|
||||
#pragma mark - NSNibAwakening
|
||||
|
||||
- (void)awakeFromNib
|
||||
{
|
||||
[super awakeFromNib];
|
||||
|
||||
self.window.titleVisibility = NSWindowTitleHidden;
|
||||
self.segmentedControl.selectedSegment = 0;
|
||||
self.viewControllerCache = [NSMutableDictionary dictionary];
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - NSApplicationDelegate
|
||||
|
||||
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
|
||||
{
|
||||
[[PINRemoteImageManager sharedImageManager] setProgressiveRendersMaxProgressiveRenderSize:CGSizeMake(2048, 2048) completion:nil];
|
||||
[self segmentedControlChanged:self.segmentedControl];
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - Mapping
|
||||
|
||||
- (NSDictionary *)viewControllerMapping
|
||||
{
|
||||
static NSDictionary *mapping = nil;
|
||||
if (mapping == nil) {
|
||||
mapping = @{
|
||||
@(kScrollViewControllerSegment) : [ScrollViewController class],
|
||||
@(kWebPViewControllerSegment) : [WebPViewController class],
|
||||
@(kProgressiveViewControllerSegment) : [ProgressiveViewController class],
|
||||
@(kDegradedViewControllerSegment) : [DegradedViewController class],
|
||||
@(kProcessingViewControllerSegment) : [ProcessingViewController class]
|
||||
};
|
||||
}
|
||||
|
||||
return [mapping copy];
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - Actions
|
||||
|
||||
- (IBAction)segmentedControlChanged:(NSSegmentedControl *)segmentedControl
|
||||
{
|
||||
[self.currentViewController.view removeFromSuperview];
|
||||
|
||||
NSInteger selectedSegment = segmentedControl.selectedSegment;
|
||||
NSViewController *viewController = self.viewControllerCache[@(selectedSegment)];
|
||||
if (viewController == nil) {
|
||||
viewController = [self.viewControllerMapping[@(selectedSegment)] new];
|
||||
viewController.view.autoresizingMask = NSViewHeightSizable | NSViewWidthSizable;
|
||||
|
||||
self.viewControllerCache[@(selectedSegment)] = viewController;
|
||||
}
|
||||
self.currentViewController = viewController;
|
||||
|
||||
self.currentViewController.view.frame = self.window.contentView.bounds;
|
||||
[self.window.contentView addSubview:self.currentViewController.view];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"size" : "16x16",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"size" : "16x16",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"size" : "32x32",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"size" : "32x32",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"size" : "128x128",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"size" : "128x128",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"size" : "256x256",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"size" : "256x256",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"size" : "512x512",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"size" : "512x512",
|
||||
"scale" : "2x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
22
Examples/Example-Mac/PINRemoteImage/Assets.xcassets/white-pinterest-logo.imageset/Contents.json
vendored
Normal file
22
Examples/Example-Mac/PINRemoteImage/Assets.xcassets/white-pinterest-logo.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "white-pinterest-logo@1x.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "white-pinterest-logo@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
722
Examples/Example-Mac/PINRemoteImage/Base.lproj/MainMenu.xib
Normal file
722
Examples/Example-Mac/PINRemoteImage/Base.lproj/MainMenu.xib
Normal file
@@ -0,0 +1,722 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
|
||||
<connections>
|
||||
<outlet property="delegate" destination="Voe-Tx-rLC" id="GzC-gU-4Uq"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customObject id="Voe-Tx-rLC" customClass="AppDelegate">
|
||||
<connections>
|
||||
<outlet property="segmentedControl" destination="RO4-iv-KcU" id="3m9-j1-OdP"/>
|
||||
<outlet property="window" destination="QvC-M9-y7g" id="gIp-Ho-8D9"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
|
||||
<menu title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
|
||||
<items>
|
||||
<menuItem title="PINRemoteImage" id="1Xt-HY-uBw">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="PINRemoteImage" systemMenu="apple" id="uQy-DD-JDr">
|
||||
<items>
|
||||
<menuItem title="About PINRemoteImage" id="5kV-Vb-QxS">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="orderFrontStandardAboutPanel:" target="-1" id="Exp-CZ-Vem"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="VOq-y0-SEH"/>
|
||||
<menuItem title="Preferences…" keyEquivalent="," id="BOF-NM-1cW"/>
|
||||
<menuItem isSeparatorItem="YES" id="wFC-TO-SCJ"/>
|
||||
<menuItem title="Services" id="NMo-om-nkz">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Services" systemMenu="services" id="hz9-B4-Xy5"/>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="4je-JR-u6R"/>
|
||||
<menuItem title="Hide PINRemoteImage" keyEquivalent="h" id="Olw-nP-bQN">
|
||||
<connections>
|
||||
<action selector="hide:" target="-1" id="PnN-Uc-m68"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Hide Others" keyEquivalent="h" id="Vdr-fp-XzO">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="hideOtherApplications:" target="-1" id="VT4-aY-XCT"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Show All" id="Kd2-mp-pUS">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="unhideAllApplications:" target="-1" id="Dhg-Le-xox"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="kCx-OE-vgT"/>
|
||||
<menuItem title="Quit PINRemoteImage" keyEquivalent="q" id="4sb-4s-VLi">
|
||||
<connections>
|
||||
<action selector="terminate:" target="-1" id="Te7-pn-YzF"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="File" id="dMs-cI-mzQ">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="File" id="bib-Uj-vzu">
|
||||
<items>
|
||||
<menuItem title="New" keyEquivalent="n" id="Was-JA-tGl">
|
||||
<connections>
|
||||
<action selector="newDocument:" target="-1" id="4Si-XN-c54"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Open…" keyEquivalent="o" id="IAo-SY-fd9">
|
||||
<connections>
|
||||
<action selector="openDocument:" target="-1" id="bVn-NM-KNZ"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Open Recent" id="tXI-mr-wws">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Open Recent" systemMenu="recentDocuments" id="oas-Oc-fiZ">
|
||||
<items>
|
||||
<menuItem title="Clear Menu" id="vNY-rz-j42">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="clearRecentDocuments:" target="-1" id="Daa-9d-B3U"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="m54-Is-iLE"/>
|
||||
<menuItem title="Close" keyEquivalent="w" id="DVo-aG-piG">
|
||||
<connections>
|
||||
<action selector="performClose:" target="-1" id="HmO-Ls-i7Q"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Save…" keyEquivalent="s" id="pxx-59-PXV">
|
||||
<connections>
|
||||
<action selector="saveDocument:" target="-1" id="teZ-XB-qJY"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Save As…" keyEquivalent="S" id="Bw7-FT-i3A">
|
||||
<connections>
|
||||
<action selector="saveDocumentAs:" target="-1" id="mDf-zr-I0C"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Revert to Saved" id="KaW-ft-85H">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="revertDocumentToSaved:" target="-1" id="iJ3-Pv-kwq"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="aJh-i4-bef"/>
|
||||
<menuItem title="Page Setup…" keyEquivalent="P" id="qIS-W8-SiK">
|
||||
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="runPageLayout:" target="-1" id="Din-rz-gC5"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Print…" keyEquivalent="p" id="aTl-1u-JFS">
|
||||
<connections>
|
||||
<action selector="print:" target="-1" id="qaZ-4w-aoO"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Edit" id="5QF-Oa-p0T">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Edit" id="W48-6f-4Dl">
|
||||
<items>
|
||||
<menuItem title="Undo" keyEquivalent="z" id="dRJ-4n-Yzg">
|
||||
<connections>
|
||||
<action selector="undo:" target="-1" id="M6e-cu-g7V"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Redo" keyEquivalent="Z" id="6dh-zS-Vam">
|
||||
<connections>
|
||||
<action selector="redo:" target="-1" id="oIA-Rs-6OD"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="WRV-NI-Exz"/>
|
||||
<menuItem title="Cut" keyEquivalent="x" id="uRl-iY-unG">
|
||||
<connections>
|
||||
<action selector="cut:" target="-1" id="YJe-68-I9s"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Copy" keyEquivalent="c" id="x3v-GG-iWU">
|
||||
<connections>
|
||||
<action selector="copy:" target="-1" id="G1f-GL-Joy"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Paste" keyEquivalent="v" id="gVA-U4-sdL">
|
||||
<connections>
|
||||
<action selector="paste:" target="-1" id="UvS-8e-Qdg"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Paste and Match Style" keyEquivalent="V" id="WeT-3V-zwk">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="pasteAsPlainText:" target="-1" id="cEh-KX-wJQ"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Delete" id="pa3-QI-u2k">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="delete:" target="-1" id="0Mk-Ml-PaM"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Select All" keyEquivalent="a" id="Ruw-6m-B2m">
|
||||
<connections>
|
||||
<action selector="selectAll:" target="-1" id="VNm-Mi-diN"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="uyl-h8-XO2"/>
|
||||
<menuItem title="Find" id="4EN-yA-p0u">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Find" id="1b7-l0-nxx">
|
||||
<items>
|
||||
<menuItem title="Find…" tag="1" keyEquivalent="f" id="Xz5-n4-O0W">
|
||||
<connections>
|
||||
<action selector="performFindPanelAction:" target="-1" id="cD7-Qs-BN4"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Find and Replace…" tag="12" keyEquivalent="f" id="YEy-JH-Tfz">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="performFindPanelAction:" target="-1" id="WD3-Gg-5AJ"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Find Next" tag="2" keyEquivalent="g" id="q09-fT-Sye">
|
||||
<connections>
|
||||
<action selector="performFindPanelAction:" target="-1" id="NDo-RZ-v9R"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Find Previous" tag="3" keyEquivalent="G" id="OwM-mh-QMV">
|
||||
<connections>
|
||||
<action selector="performFindPanelAction:" target="-1" id="HOh-sY-3ay"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Use Selection for Find" tag="7" keyEquivalent="e" id="buJ-ug-pKt">
|
||||
<connections>
|
||||
<action selector="performFindPanelAction:" target="-1" id="U76-nv-p5D"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Jump to Selection" keyEquivalent="j" id="S0p-oC-mLd">
|
||||
<connections>
|
||||
<action selector="centerSelectionInVisibleArea:" target="-1" id="IOG-6D-g5B"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Spelling and Grammar" id="Dv1-io-Yv7">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Spelling" id="3IN-sU-3Bg">
|
||||
<items>
|
||||
<menuItem title="Show Spelling and Grammar" keyEquivalent=":" id="HFo-cy-zxI">
|
||||
<connections>
|
||||
<action selector="showGuessPanel:" target="-1" id="vFj-Ks-hy3"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Check Document Now" keyEquivalent=";" id="hz2-CU-CR7">
|
||||
<connections>
|
||||
<action selector="checkSpelling:" target="-1" id="fz7-VC-reM"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="bNw-od-mp5"/>
|
||||
<menuItem title="Check Spelling While Typing" id="rbD-Rh-wIN">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="toggleContinuousSpellChecking:" target="-1" id="7w6-Qz-0kB"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Check Grammar With Spelling" id="mK6-2p-4JG">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="toggleGrammarChecking:" target="-1" id="muD-Qn-j4w"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Correct Spelling Automatically" id="78Y-hA-62v">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="toggleAutomaticSpellingCorrection:" target="-1" id="2lM-Qi-WAP"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Substitutions" id="9ic-FL-obx">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Substitutions" id="FeM-D8-WVr">
|
||||
<items>
|
||||
<menuItem title="Show Substitutions" id="z6F-FW-3nz">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="orderFrontSubstitutionsPanel:" target="-1" id="oku-mr-iSq"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="gPx-C9-uUO"/>
|
||||
<menuItem title="Smart Copy/Paste" id="9yt-4B-nSM">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="toggleSmartInsertDelete:" target="-1" id="3IJ-Se-DZD"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Smart Quotes" id="hQb-2v-fYv">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="toggleAutomaticQuoteSubstitution:" target="-1" id="ptq-xd-QOA"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Smart Dashes" id="rgM-f4-ycn">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="toggleAutomaticDashSubstitution:" target="-1" id="oCt-pO-9gS"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Smart Links" id="cwL-P1-jid">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="toggleAutomaticLinkDetection:" target="-1" id="Gip-E3-Fov"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Data Detectors" id="tRr-pd-1PS">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="toggleAutomaticDataDetection:" target="-1" id="R1I-Nq-Kbl"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Text Replacement" id="HFQ-gK-NFA">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="toggleAutomaticTextReplacement:" target="-1" id="DvP-Fe-Py6"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Transformations" id="2oI-Rn-ZJC">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Transformations" id="c8a-y6-VQd">
|
||||
<items>
|
||||
<menuItem title="Make Upper Case" id="vmV-6d-7jI">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="uppercaseWord:" target="-1" id="sPh-Tk-edu"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Make Lower Case" id="d9M-CD-aMd">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="lowercaseWord:" target="-1" id="iUZ-b5-hil"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Capitalize" id="UEZ-Bs-lqG">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="capitalizeWord:" target="-1" id="26H-TL-nsh"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Speech" id="xrE-MZ-jX0">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Speech" id="3rS-ZA-NoH">
|
||||
<items>
|
||||
<menuItem title="Start Speaking" id="Ynk-f8-cLZ">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="startSpeaking:" target="-1" id="654-Ng-kyl"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Stop Speaking" id="Oyz-dy-DGm">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="stopSpeaking:" target="-1" id="dX8-6p-jy9"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Format" id="jxT-CU-nIS">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Format" id="GEO-Iw-cKr">
|
||||
<items>
|
||||
<menuItem title="Font" id="Gi5-1S-RQB">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Font" systemMenu="font" id="aXa-aM-Jaq">
|
||||
<items>
|
||||
<menuItem title="Show Fonts" keyEquivalent="t" id="Q5e-8K-NDq">
|
||||
<connections>
|
||||
<action selector="orderFrontFontPanel:" target="YLy-65-1bz" id="WHr-nq-2xA"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Bold" tag="2" keyEquivalent="b" id="GB9-OM-e27">
|
||||
<connections>
|
||||
<action selector="addFontTrait:" target="YLy-65-1bz" id="hqk-hr-sYV"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Italic" tag="1" keyEquivalent="i" id="Vjx-xi-njq">
|
||||
<connections>
|
||||
<action selector="addFontTrait:" target="YLy-65-1bz" id="IHV-OB-c03"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Underline" keyEquivalent="u" id="WRG-CD-K1S">
|
||||
<connections>
|
||||
<action selector="underline:" target="-1" id="FYS-2b-JAY"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="5gT-KC-WSO"/>
|
||||
<menuItem title="Bigger" tag="3" keyEquivalent="+" id="Ptp-SP-VEL">
|
||||
<connections>
|
||||
<action selector="modifyFont:" target="YLy-65-1bz" id="Uc7-di-UnL"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Smaller" tag="4" keyEquivalent="-" id="i1d-Er-qST">
|
||||
<connections>
|
||||
<action selector="modifyFont:" target="YLy-65-1bz" id="HcX-Lf-eNd"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="kx3-Dk-x3B"/>
|
||||
<menuItem title="Kern" id="jBQ-r6-VK2">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Kern" id="tlD-Oa-oAM">
|
||||
<items>
|
||||
<menuItem title="Use Default" id="GUa-eO-cwY">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="useStandardKerning:" target="-1" id="6dk-9l-Ckg"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Use None" id="cDB-IK-hbR">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="turnOffKerning:" target="-1" id="U8a-gz-Maa"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Tighten" id="46P-cB-AYj">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="tightenKerning:" target="-1" id="hr7-Nz-8ro"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Loosen" id="ogc-rX-tC1">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="loosenKerning:" target="-1" id="8i4-f9-FKE"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Ligatures" id="o6e-r0-MWq">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Ligatures" id="w0m-vy-SC9">
|
||||
<items>
|
||||
<menuItem title="Use Default" id="agt-UL-0e3">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="useStandardLigatures:" target="-1" id="7uR-wd-Dx6"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Use None" id="J7y-lM-qPV">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="turnOffLigatures:" target="-1" id="iX2-gA-Ilz"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Use All" id="xQD-1f-W4t">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="useAllLigatures:" target="-1" id="KcB-kA-TuK"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Baseline" id="OaQ-X3-Vso">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Baseline" id="ijk-EB-dga">
|
||||
<items>
|
||||
<menuItem title="Use Default" id="3Om-Ey-2VK">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="unscript:" target="-1" id="0vZ-95-Ywn"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Superscript" id="Rqc-34-cIF">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="superscript:" target="-1" id="3qV-fo-wpU"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Subscript" id="I0S-gh-46l">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="subscript:" target="-1" id="Q6W-4W-IGz"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Raise" id="2h7-ER-AoG">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="raiseBaseline:" target="-1" id="4sk-31-7Q9"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Lower" id="1tx-W0-xDw">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="lowerBaseline:" target="-1" id="OF1-bc-KW4"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="Ndw-q3-faq"/>
|
||||
<menuItem title="Show Colors" keyEquivalent="C" id="bgn-CT-cEk">
|
||||
<connections>
|
||||
<action selector="orderFrontColorPanel:" target="-1" id="mSX-Xz-DV3"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="iMs-zA-UFJ"/>
|
||||
<menuItem title="Copy Style" keyEquivalent="c" id="5Vv-lz-BsD">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="copyFont:" target="-1" id="GJO-xA-L4q"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Paste Style" keyEquivalent="v" id="vKC-jM-MkH">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="pasteFont:" target="-1" id="JfD-CL-leO"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Text" id="Fal-I4-PZk">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Text" id="d9c-me-L2H">
|
||||
<items>
|
||||
<menuItem title="Align Left" keyEquivalent="{" id="ZM1-6Q-yy1">
|
||||
<connections>
|
||||
<action selector="alignLeft:" target="-1" id="zUv-R1-uAa"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Center" keyEquivalent="|" id="VIY-Ag-zcb">
|
||||
<connections>
|
||||
<action selector="alignCenter:" target="-1" id="spX-mk-kcS"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Justify" id="J5U-5w-g23">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="alignJustified:" target="-1" id="ljL-7U-jND"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Align Right" keyEquivalent="}" id="wb2-vD-lq4">
|
||||
<connections>
|
||||
<action selector="alignRight:" target="-1" id="r48-bG-YeY"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="4s2-GY-VfK"/>
|
||||
<menuItem title="Writing Direction" id="H1b-Si-o9J">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Writing Direction" id="8mr-sm-Yjd">
|
||||
<items>
|
||||
<menuItem title="Paragraph" enabled="NO" id="ZvO-Gk-QUH">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
</menuItem>
|
||||
<menuItem id="YGs-j5-SAR">
|
||||
<string key="title"> Default</string>
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="makeBaseWritingDirectionNatural:" target="-1" id="qtV-5e-UBP"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem id="Lbh-J2-qVU">
|
||||
<string key="title"> Left to Right</string>
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="makeBaseWritingDirectionLeftToRight:" target="-1" id="S0X-9S-QSf"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem id="jFq-tB-4Kx">
|
||||
<string key="title"> Right to Left</string>
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="makeBaseWritingDirectionRightToLeft:" target="-1" id="5fk-qB-AqJ"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="swp-gr-a21"/>
|
||||
<menuItem title="Selection" enabled="NO" id="cqv-fj-IhA">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
</menuItem>
|
||||
<menuItem id="Nop-cj-93Q">
|
||||
<string key="title"> Default</string>
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="makeTextWritingDirectionNatural:" target="-1" id="lPI-Se-ZHp"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem id="BgM-ve-c93">
|
||||
<string key="title"> Left to Right</string>
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="makeTextWritingDirectionLeftToRight:" target="-1" id="caW-Bv-w94"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem id="RB4-Sm-HuC">
|
||||
<string key="title"> Right to Left</string>
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="makeTextWritingDirectionRightToLeft:" target="-1" id="EXD-6r-ZUu"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="fKy-g9-1gm"/>
|
||||
<menuItem title="Show Ruler" id="vLm-3I-IUL">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="toggleRuler:" target="-1" id="FOx-HJ-KwY"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Copy Ruler" keyEquivalent="c" id="MkV-Pr-PK5">
|
||||
<modifierMask key="keyEquivalentModifierMask" control="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="copyRuler:" target="-1" id="71i-fW-3W2"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Paste Ruler" keyEquivalent="v" id="LVM-kO-fVI">
|
||||
<modifierMask key="keyEquivalentModifierMask" control="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="pasteRuler:" target="-1" id="cSh-wd-qM2"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="View" id="H8h-7b-M4v">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="View" id="HyV-fh-RgO">
|
||||
<items>
|
||||
<menuItem title="Show Toolbar" keyEquivalent="t" id="snW-S8-Cw5">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="toggleToolbarShown:" target="-1" id="BXY-wc-z0C"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Customize Toolbar…" id="1UK-8n-QPP">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="runToolbarCustomizationPalette:" target="-1" id="pQI-g3-MTW"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Window" id="aUF-d1-5bR">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Window" systemMenu="window" id="Td7-aD-5lo">
|
||||
<items>
|
||||
<menuItem title="Minimize" keyEquivalent="m" id="OY7-WF-poV">
|
||||
<connections>
|
||||
<action selector="performMiniaturize:" target="-1" id="VwT-WD-YPe"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Zoom" id="R4o-n2-Eq4">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="performZoom:" target="-1" id="DIl-cC-cCs"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="eu3-7i-yIM"/>
|
||||
<menuItem title="Bring All to Front" id="LE2-aR-0XJ">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="arrangeInFront:" target="-1" id="DRN-fu-gQh"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Help" id="wpr-3q-Mcd">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Help" systemMenu="help" id="F2S-fz-NVQ">
|
||||
<items>
|
||||
<menuItem title="PINRemoteImage Help" keyEquivalent="?" id="FKE-Sm-Kum">
|
||||
<connections>
|
||||
<action selector="showHelp:" target="-1" id="y7X-2Q-9no"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
<window title="PINRemoteImage" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="QvC-M9-y7g">
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES" unifiedTitleAndToolbar="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
||||
<rect key="contentRect" x="335" y="390" width="480" height="360"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="800"/>
|
||||
<view key="contentView" id="EiT-Mj-1SZ">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="360"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</view>
|
||||
<toolbar key="toolbar" implicitIdentifier="ECE89FB8-3803-4EC1-80FA-A3A31DB0B167" autosavesConfiguration="NO" displayMode="iconAndLabel" sizeMode="regular" id="uDT-d9-ekb">
|
||||
<allowedToolbarItems>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarShowColorsItem" id="aif-PT-Dq9"/>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarShowFontsItem" id="K2B-bl-MIL"/>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarPrintItem" id="M0s-cg-TFk"/>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="tTN-Ln-qcZ"/>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="yrG-z8-rb5"/>
|
||||
<toolbarItem implicitItemIdentifier="94242F95-D4DC-435D-858C-7820289981E0" label="Switch Views" paletteLabel="Switch Views" id="hxg-fF-Cdm">
|
||||
<nil key="toolTip"/>
|
||||
<size key="minSize" width="104" height="24"/>
|
||||
<size key="maxSize" width="300" height="26"/>
|
||||
<segmentedControl key="view" verticalHuggingPriority="750" id="RO4-iv-KcU">
|
||||
<rect key="frame" x="0.0" y="14" width="300" height="25"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<segmentedCell key="cell" borderStyle="border" alignment="left" style="texturedSquare" trackingMode="selectOne" id="jqk-9E-gyT">
|
||||
<font key="font" metaFont="system"/>
|
||||
<segments>
|
||||
<segment label="Scroll"/>
|
||||
<segment label="WebP" selected="YES" tag="1"/>
|
||||
<segment label="Progressive"/>
|
||||
<segment label="Degraded"/>
|
||||
<segment label="Processing"/>
|
||||
</segments>
|
||||
</segmentedCell>
|
||||
<connections>
|
||||
<action selector="segmentedControlChanged:" target="Voe-Tx-rLC" id="3Bi-fi-jgj"/>
|
||||
</connections>
|
||||
</segmentedControl>
|
||||
</toolbarItem>
|
||||
</allowedToolbarItems>
|
||||
<defaultToolbarItems>
|
||||
<toolbarItem reference="yrG-z8-rb5"/>
|
||||
<toolbarItem reference="hxg-fF-Cdm"/>
|
||||
<toolbarItem reference="yrG-z8-rb5"/>
|
||||
</defaultToolbarItems>
|
||||
</toolbar>
|
||||
<connections>
|
||||
<outlet property="delegate" destination="Voe-Tx-rLC" id="f1w-qE-xB0"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="248" y="320"/>
|
||||
</window>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner"/>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView translatesAutoresizingMaskIntoConstraints="NO" id="c22-O7-iKe" customClass="PINViewWithBackgroundColor">
|
||||
<rect key="frame" x="0.0" y="0.0" width="315" height="57"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<imageView wantsLayer="YES" horizontalHuggingPriority="251" verticalHuggingPriority="251" id="E10-Mq-XwT">
|
||||
<rect key="frame" x="0.0" y="0.0" width="315" height="57"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="gDg-Yh-UMg"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<point key="canvasLocation" x="218.5" y="-211.5"/>
|
||||
</customView>
|
||||
<collectionViewItem id="MV8-a4-2cg" customClass="PINImageCollectionViewItem">
|
||||
<connections>
|
||||
<outlet property="imageView" destination="E10-Mq-XwT" id="Tip-e9-98q"/>
|
||||
<outlet property="view" destination="c22-O7-iKe" id="5un-fQ-wz5"/>
|
||||
</connections>
|
||||
</collectionViewItem>
|
||||
</objects>
|
||||
</document>
|
||||
13
Examples/Example-Mac/PINRemoteImage/DegradedViewController.h
Normal file
13
Examples/Example-Mac/PINRemoteImage/DegradedViewController.h
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// DegradedViewController.h
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/6/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface DegradedViewController : NSViewController
|
||||
|
||||
@end
|
||||
48
Examples/Example-Mac/PINRemoteImage/DegradedViewController.m
Normal file
48
Examples/Example-Mac/PINRemoteImage/DegradedViewController.m
Normal file
@@ -0,0 +1,48 @@
|
||||
//
|
||||
// DegradedViewController.m
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/6/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import "DegradedViewController.h"
|
||||
|
||||
#import <PINRemoteImage/PINImageView+PINRemoteImage.h>
|
||||
|
||||
@interface DegradedViewController ()
|
||||
@property (weak) IBOutlet NSImageView *imageView;
|
||||
@end
|
||||
|
||||
@implementation DegradedViewController
|
||||
|
||||
#pragma mark - Lifecycle
|
||||
|
||||
- (instancetype)init
|
||||
{
|
||||
self = [super initWithNibName:NSStringFromClass(self.class) bundle:nil];
|
||||
if (self == nil) { return self; }
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - NSViewController
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
|
||||
[[PINRemoteImageManager sharedImageManager] setShouldUpgradeLowQualityImages:YES completion:nil];
|
||||
}
|
||||
|
||||
|
||||
- (void)viewWillAppear
|
||||
{
|
||||
[super viewWillAppear];
|
||||
|
||||
[self.imageView pin_setImageFromURLs:@[[NSURL URLWithString:@"https://placekitten.com/101/101"],
|
||||
[NSURL URLWithString:@"https://placekitten.com/401/401"],
|
||||
[NSURL URLWithString:@"https://placekitten.com/801/801"]]];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="DegradedViewController">
|
||||
<connections>
|
||||
<outlet property="imageView" destination="tCB-5K-cS5" id="o6E-MQ-Zn4"/>
|
||||
<outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView id="Hz6-mo-xeY">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" id="tCB-5K-cS5">
|
||||
<rect key="frame" x="0.0" y="20" width="480" height="207"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="1Wg-r1-lR4"/>
|
||||
</imageView>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="t3s-uL-GUc">
|
||||
<rect key="frame" x="-2" y="235" width="484" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="center" title="Enable Network Link Conditioner" id="gUY-gj-zGt">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
</subviews>
|
||||
</customView>
|
||||
</objects>
|
||||
</document>
|
||||
34
Examples/Example-Mac/PINRemoteImage/Info.plist
Normal file
34
Examples/Example-Mac/PINRemoteImage/Info.plist
Normal file
@@ -0,0 +1,34 @@
|
||||
<?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>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string></string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright © 2016 mischneider. All rights reserved.</string>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>MainMenu</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// PINViewWithBackgroundColor.h
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/5/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface PINViewWithBackgroundColor : NSView
|
||||
|
||||
@property (nonatomic, strong) NSColor *backgroundColor;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,60 @@
|
||||
//
|
||||
// PINViewWithBackgroundColor.m
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/5/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import "PINViewWithBackgroundColor.h"
|
||||
|
||||
@implementation PINViewWithBackgroundColor
|
||||
|
||||
|
||||
#pragma mark - Lifecycle
|
||||
|
||||
- (instancetype)init
|
||||
{
|
||||
self = [super init];
|
||||
if (self == nil) { return self; }
|
||||
[self initPINViewWithBackgroundColor];
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
- (instancetype)initWithCoder:(NSCoder *)coder
|
||||
{
|
||||
self = [super initWithCoder:coder];
|
||||
if (self == nil) { return self; }
|
||||
[self initPINViewWithBackgroundColor];
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)initPINViewWithBackgroundColor
|
||||
{
|
||||
self.wantsLayer = YES;
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - NSView
|
||||
|
||||
- (BOOL)wantsUpdateLayer
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)updateLayer
|
||||
{
|
||||
self.layer.backgroundColor = self.backgroundColor.CGColor;
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - Setter
|
||||
|
||||
- (void)setBackgroundColor:(NSColor *)backgroundColor
|
||||
{
|
||||
_backgroundColor = backgroundColor;
|
||||
[self setNeedsDisplay:YES];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// ProcessingViewController.h
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/6/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface ProcessingViewController : NSViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,80 @@
|
||||
//
|
||||
// ProcessingViewController.m
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/6/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ProcessingViewController.h"
|
||||
|
||||
#import <PINRemoteImage/PINImageView+PINRemoteImage.h>
|
||||
#import <PINRemoteImage/PINImage+DecodedImage.h>
|
||||
|
||||
@interface ProcessingViewController ()
|
||||
@property (weak) IBOutlet NSImageView *imageView;
|
||||
|
||||
@end
|
||||
|
||||
@implementation ProcessingViewController
|
||||
|
||||
#pragma mark - Lifecycle
|
||||
|
||||
- (instancetype)init
|
||||
{
|
||||
self = [super initWithNibName:NSStringFromClass(self.class) bundle:nil];
|
||||
if (self == nil) { return self; }
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - NSViewController
|
||||
|
||||
- (void)viewWillAppear
|
||||
{
|
||||
[super viewWillAppear];
|
||||
|
||||
[self.imageView pin_setImageFromURL:[NSURL URLWithString:@"https://s-media-cache-ak0.pinimg.com/736x/5b/c6/c5/5bc6c5387ff6f104fd642f2b375efba3.jpg"] processorKey:@"rounded" processor:^NSImage *(PINRemoteImageManagerResult *result, NSUInteger *cost)
|
||||
{
|
||||
NSImage *image = result.image;
|
||||
CGFloat radius = 7.0f;
|
||||
CGSize targetSize = CGSizeMake(200, 300);
|
||||
CGRect imageRect = CGRectMake(0, 0, targetSize.width, targetSize.height);
|
||||
|
||||
NSImage *processedImage = [[NSImage alloc] initWithSize:targetSize];
|
||||
[processedImage lockFocus];
|
||||
|
||||
NSBezierPath *bezierPath = [NSBezierPath bezierPathWithRoundedRect:imageRect xRadius:radius yRadius:radius];
|
||||
[bezierPath addClip];
|
||||
|
||||
CGFloat widthMultiplier = targetSize.width / image.size.width;
|
||||
CGFloat heightMultiplier = targetSize.height / image.size.height;
|
||||
CGFloat sizeMultiplier = MAX(widthMultiplier, heightMultiplier);
|
||||
|
||||
CGRect drawRect = CGRectMake(0, 0, image.size.width * sizeMultiplier, image.size.height * sizeMultiplier);
|
||||
if (CGRectGetMaxX(drawRect) > CGRectGetMaxX(imageRect)) {
|
||||
drawRect.origin.x -= (CGRectGetMaxX(drawRect) - CGRectGetMaxX(imageRect)) / 2.0;
|
||||
}
|
||||
if (CGRectGetMaxY(drawRect) > CGRectGetMaxY(imageRect)) {
|
||||
drawRect.origin.y -= (CGRectGetMaxY(drawRect) - CGRectGetMaxY(imageRect)) / 2.0;
|
||||
}
|
||||
|
||||
[image drawInRect:drawRect];
|
||||
|
||||
[[NSColor redColor] setStroke];
|
||||
[bezierPath setLineWidth:5.0];
|
||||
[bezierPath stroke];
|
||||
|
||||
NSImage *logo = [NSImage imageNamed:@"white-pinterest-logo"];
|
||||
CGContextRef ctx = [[NSGraphicsContext currentContext] graphicsPort];
|
||||
CGContextSetBlendMode(ctx, kCGBlendModeOverlay);
|
||||
CGContextSetAlpha(ctx, 0.5);
|
||||
CGContextDrawImage(ctx, CGRectMake(90, 10, logo.size.width, logo.size.height), [logo CGImage]);
|
||||
|
||||
[processedImage unlockFocus];
|
||||
|
||||
return processedImage;
|
||||
}];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="ProcessingViewController">
|
||||
<connections>
|
||||
<outlet property="imageView" destination="emk-Sz-TZg" id="Jgt-ru-uHG"/>
|
||||
<outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView id="Hz6-mo-xeY">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" id="emk-Sz-TZg">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="Ubd-0R-2Jx"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<point key="canvasLocation" x="288" y="186"/>
|
||||
</customView>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// ProgressiveViewController.h
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/6/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface ProgressiveViewController : NSViewController
|
||||
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,60 @@
|
||||
//
|
||||
// ProgressiveViewController.m
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/6/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ProgressiveViewController.h"
|
||||
|
||||
#import <PINRemoteImage/PINImageView+PINRemoteImage.h>
|
||||
#import <PINCache/PINCache.h>
|
||||
|
||||
@interface ProgressiveViewController ()
|
||||
@property (weak) IBOutlet NSImageView *imageView;
|
||||
|
||||
@end
|
||||
|
||||
@implementation ProgressiveViewController
|
||||
|
||||
#pragma mark - Lifecycle
|
||||
|
||||
- (instancetype)init
|
||||
{
|
||||
self = [super initWithNibName:NSStringFromClass(self.class) bundle:nil];
|
||||
if (self == nil) { return self; }
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - NSViewController
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
|
||||
// MUST BE SET ON IMAGE VIEW TO GET PROGRESS UPDATES!
|
||||
self.imageView.pin_updateWithProgress = YES;
|
||||
}
|
||||
|
||||
- (void)viewDidAppear
|
||||
{
|
||||
[super viewDidAppear];
|
||||
|
||||
NSURL *progressiveURL = [NSURL URLWithString:@"https://s-media-cache-ak0.pinimg.com/1200x/2e/0c/c5/2e0cc5d86e7b7cd42af225c29f21c37f.jpg"];
|
||||
[[PINRemoteImageManager sharedImageManager] setProgressThresholds:@[@(0.1), @(0.2), @(0.3), @(0.4), @(0.5), @(0.6), @(0.7), @(0.8), @(0.9)] completion:nil];
|
||||
[[[PINRemoteImageManager sharedImageManager] cache] removeObjectForKey:[[PINRemoteImageManager sharedImageManager] cacheKeyForURL:progressiveURL processorKey:nil]];
|
||||
[self.imageView pin_setImageFromURL:progressiveURL];
|
||||
|
||||
NSMutableArray *progress = [[NSMutableArray alloc] init];
|
||||
[[PINRemoteImageManager sharedImageManager]
|
||||
downloadImageWithURL:progressiveURL
|
||||
options:PINRemoteImageManagerDownloadOptionsNone progressImage:^(PINRemoteImageManagerResult *result) {
|
||||
[progress addObject:result.image];
|
||||
} completion:^(PINRemoteImageManagerResult *result) {
|
||||
[progress addObject:result.image];
|
||||
}];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="ProgressiveViewController">
|
||||
<connections>
|
||||
<outlet property="imageView" destination="uoW-RR-Xm0" id="DDC-WI-LKG"/>
|
||||
<outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView id="Hz6-mo-xeY">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="326"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" id="uoW-RR-Xm0">
|
||||
<rect key="frame" x="0.0" y="20" width="480" height="261"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="Wdl-Kf-Ck0"/>
|
||||
</imageView>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="otO-SQ-XPr">
|
||||
<rect key="frame" x="-2" y="289" width="484" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="center" title="Enable Network Link Conditioner" id="1kd-sX-EdU">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
</subviews>
|
||||
<point key="canvasLocation" x="139" y="381"/>
|
||||
</customView>
|
||||
</objects>
|
||||
</document>
|
||||
13
Examples/Example-Mac/PINRemoteImage/ScrollViewController.h
Normal file
13
Examples/Example-Mac/PINRemoteImage/ScrollViewController.h
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// ScrollViewController.h
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/6/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface ScrollViewController : NSViewController
|
||||
|
||||
@end
|
||||
129
Examples/Example-Mac/PINRemoteImage/ScrollViewController.m
Normal file
129
Examples/Example-Mac/PINRemoteImage/ScrollViewController.m
Normal file
@@ -0,0 +1,129 @@
|
||||
//
|
||||
// ScrollViewController.m
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/6/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ScrollViewController.h"
|
||||
|
||||
#import <Quartz/Quartz.h>
|
||||
#import <PINRemoteImage/PINRemoteImageManager.h>
|
||||
#import <PINRemoteImage/PINImageView+PINRemoteImage.h>
|
||||
#import <PINCache/PINCache.h>
|
||||
|
||||
#import "PINViewWithBackgroundColor.h"
|
||||
#import "Kitten.h"
|
||||
|
||||
@interface PINImageCollectionViewItem : NSCollectionViewItem
|
||||
|
||||
@end
|
||||
|
||||
@interface ScrollViewController ()
|
||||
@property (weak) IBOutlet NSCollectionView *collectionView;
|
||||
@property (nonatomic, strong) NSMutableArray *kittens;
|
||||
@end
|
||||
|
||||
@implementation ScrollViewController
|
||||
|
||||
|
||||
#pragma mark - Lifecycle
|
||||
|
||||
- (instancetype)init
|
||||
{
|
||||
srand([[NSDate date] timeIntervalSince1970]);
|
||||
|
||||
self = [super initWithNibName:NSStringFromClass(self.class) bundle:nil];
|
||||
if (self == nil) { return self; }
|
||||
[[[PINRemoteImageManager sharedImageManager] cache] removeAllObjects];
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - NSViewController
|
||||
|
||||
- (void)awakeFromNib
|
||||
{
|
||||
[super awakeFromNib];
|
||||
|
||||
[self.collectionView registerNib:[[NSNib alloc] initWithNibNamed:@"PINImageCollectionViewItemView" bundle:nil] forItemWithIdentifier:@"ItemIdentifier"];
|
||||
}
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
|
||||
self.kittens = [NSMutableArray new];
|
||||
[self fetchKittenImages];
|
||||
}
|
||||
|
||||
- (void)viewWillLayout
|
||||
{
|
||||
[super viewWillLayout];
|
||||
|
||||
[self.collectionView.collectionViewLayout invalidateLayout];
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - Load images
|
||||
|
||||
- (void)fetchKittenImages
|
||||
{
|
||||
[Kitten fetchKittenForWidth:CGRectGetWidth(self.collectionView.frame) completion:^(NSArray *kittens) {
|
||||
[self.kittens addObjectsFromArray:kittens];
|
||||
[self.collectionView reloadData];
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - <NSCollectionViewDataSource, NSCollectionViewDelegate>
|
||||
|
||||
- (NSInteger)collectionView:(NSCollectionView *)collectionView numberOfItemsInSection:(NSInteger)section
|
||||
{
|
||||
return self.kittens.count;
|
||||
}
|
||||
|
||||
- (NSCollectionViewItem *)collectionView:(NSCollectionView *)collectionView itemForRepresentedObjectAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
PINImageCollectionViewItem *item = [collectionView makeItemWithIdentifier:@"PINImageCollectionViewItemView" forIndexPath:indexPath];
|
||||
Kitten *kitten = [self.kittens objectAtIndex:indexPath.item];
|
||||
item.imageView.alphaValue = 0.0f;
|
||||
[((PINViewWithBackgroundColor *)item.view) setBackgroundColor:kitten.dominantColor];
|
||||
__weak NSCollectionViewItem *weakItem = item;
|
||||
|
||||
[item.imageView pin_setImageFromURL:kitten.imageURL
|
||||
completion:^(PINRemoteImageManagerResult *result) {
|
||||
if (result.requestDuration > 0.25) {
|
||||
[NSAnimationContext runAnimationGroup:^(NSAnimationContext *context){
|
||||
context.duration = 0.3;
|
||||
context.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseIn];
|
||||
weakItem.imageView.animator.alphaValue = 1.0f;
|
||||
} completionHandler:^{
|
||||
}];
|
||||
} else {
|
||||
weakItem.imageView.alphaValue = 1.0f;
|
||||
}
|
||||
}];
|
||||
return item;
|
||||
}
|
||||
|
||||
- (NSSize)collectionView:(NSCollectionView *)collectionView layout:(NSCollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
Kitten *kitten = [self.kittens objectAtIndex:indexPath.item];
|
||||
return NSMakeSize(CGRectGetWidth(collectionView.frame), kitten.imageSize.height);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@implementation PINImageCollectionViewItem
|
||||
|
||||
- (void)prepareForReuse
|
||||
{
|
||||
[super prepareForReuse];
|
||||
|
||||
self.imageView.image = nil;
|
||||
}
|
||||
|
||||
@end
|
||||
54
Examples/Example-Mac/PINRemoteImage/ScrollViewController.xib
Normal file
54
Examples/Example-Mac/PINRemoteImage/ScrollViewController.xib
Normal file
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="ScrollViewController">
|
||||
<connections>
|
||||
<outlet property="collectionView" destination="ogM-uZ-bd2" id="KGM-OB-i3t"/>
|
||||
<outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView id="Hz6-mo-xeY">
|
||||
<rect key="frame" x="0.0" y="0.0" width="597" height="488"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="CVA-mr-GZz">
|
||||
<rect key="frame" x="0.0" y="0.0" width="597" height="488"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="BlF-Pn-SSe">
|
||||
<rect key="frame" x="0.0" y="0.0" width="597" height="488"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<collectionView id="ogM-uZ-bd2">
|
||||
<rect key="frame" x="0.0" y="0.0" width="597" height="488"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<collectionViewFlowLayout key="collectionViewLayout" minimumInteritemSpacing="10" minimumLineSpacing="10" id="hTh-pm-rIJ">
|
||||
<size key="itemSize" width="50" height="50"/>
|
||||
</collectionViewFlowLayout>
|
||||
<color key="primaryBackgroundColor" white="1" alpha="0.0" colorSpace="deviceWhite"/>
|
||||
<connections>
|
||||
<outlet property="dataSource" destination="-2" id="SHw-gT-fSR"/>
|
||||
<outlet property="delegate" destination="-2" id="1bf-S7-Ti5"/>
|
||||
</connections>
|
||||
</collectionView>
|
||||
</subviews>
|
||||
</clipView>
|
||||
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="yCF-P6-I1S">
|
||||
<rect key="frame" x="1" y="144" width="233" height="15"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="BD2-zt-Lum">
|
||||
<rect key="frame" x="234" y="1" width="15" height="143"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
</scrollView>
|
||||
</subviews>
|
||||
<point key="canvasLocation" x="231.5" y="310"/>
|
||||
</customView>
|
||||
</objects>
|
||||
</document>
|
||||
13
Examples/Example-Mac/PINRemoteImage/WebPViewController.h
Normal file
13
Examples/Example-Mac/PINRemoteImage/WebPViewController.h
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// WebPViewController.h
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/6/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface WebPViewController : NSViewController
|
||||
|
||||
@end
|
||||
38
Examples/Example-Mac/PINRemoteImage/WebPViewController.m
Normal file
38
Examples/Example-Mac/PINRemoteImage/WebPViewController.m
Normal file
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// WebPViewController.m
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/6/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import "WebPViewController.h"
|
||||
|
||||
#import <PINRemoteImage/PINImageView+PINRemoteImage.h>
|
||||
|
||||
@interface WebPViewController ()
|
||||
@property (weak) IBOutlet NSImageView *imageView;
|
||||
@end
|
||||
|
||||
@implementation WebPViewController
|
||||
|
||||
#pragma mark - Lifecycle
|
||||
|
||||
- (instancetype)init
|
||||
{
|
||||
self = [super initWithNibName:NSStringFromClass(self.class) bundle:nil];
|
||||
if (self == nil) { return self; }
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - NSViewController
|
||||
|
||||
- (void)viewDidAppear
|
||||
{
|
||||
[super viewDidAppear];
|
||||
|
||||
[self.imageView pin_setImageFromURL:[NSURL URLWithString:@"https://github.com/samdutton/simpl/blob/master/picturetype/kittens.webp?raw=true"]];
|
||||
}
|
||||
|
||||
@end
|
||||
29
Examples/Example-Mac/PINRemoteImage/WebPViewController.xib
Normal file
29
Examples/Example-Mac/PINRemoteImage/WebPViewController.xib
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="WebPViewController">
|
||||
<connections>
|
||||
<outlet property="imageView" destination="FBS-1p-Ron" id="tcq-oE-2jh"/>
|
||||
<outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView id="Hz6-mo-xeY">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" id="FBS-1p-Ron">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="IxE-x7-3Mk"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<point key="canvasLocation" x="304" y="319"/>
|
||||
</customView>
|
||||
</objects>
|
||||
</document>
|
||||
13
Examples/Example-Mac/PINRemoteImage/main.m
Normal file
13
Examples/Example-Mac/PINRemoteImage/main.m
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// main.m
|
||||
// PINRemoteImage
|
||||
//
|
||||
// Created by Michael Schneider on 1/3/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
int main(int argc, const char * argv[]) {
|
||||
return NSApplicationMain(argc, argv);
|
||||
}
|
||||
24
Examples/Example-Mac/PINRemoteImageTests/Info.plist
Normal file
24
Examples/Example-Mac/PINRemoteImageTests/Info.plist
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>BNDL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,39 @@
|
||||
//
|
||||
// PINRemoteImageTests.m
|
||||
// PINRemoteImageTests
|
||||
//
|
||||
// Created by Michael Schneider on 1/3/16.
|
||||
// Copyright © 2016 mischneider. All rights reserved.
|
||||
//
|
||||
|
||||
#import <XCTest/XCTest.h>
|
||||
|
||||
@interface PINRemoteImageTests : XCTestCase
|
||||
|
||||
@end
|
||||
|
||||
@implementation PINRemoteImageTests
|
||||
|
||||
- (void)setUp {
|
||||
[super setUp];
|
||||
// Put setup code here. This method is called before the invocation of each test method in the class.
|
||||
}
|
||||
|
||||
- (void)tearDown {
|
||||
// Put teardown code here. This method is called after the invocation of each test method in the class.
|
||||
[super tearDown];
|
||||
}
|
||||
|
||||
- (void)testExample {
|
||||
// This is an example of a functional test case.
|
||||
// Use XCTAssert and related functions to verify your tests produce the correct results.
|
||||
}
|
||||
|
||||
- (void)testPerformanceExample {
|
||||
// This is an example of a performance test case.
|
||||
[self measureBlock:^{
|
||||
// Put the code you want to measure the time of here.
|
||||
}];
|
||||
}
|
||||
|
||||
@end
|
||||
6
Examples/Example-Mac/Podfile
Normal file
6
Examples/Example-Mac/Podfile
Normal file
@@ -0,0 +1,6 @@
|
||||
target 'PINRemoteImage', :exclusive => true do
|
||||
pod "PINRemoteImage/OSX", :path => "../"
|
||||
pod "PINRemoteImage/WebP", :path => "../"
|
||||
pod "PINCache"
|
||||
pod "libwebp"
|
||||
end
|
||||
50
Examples/Example-Mac/Podfile.lock
Normal file
50
Examples/Example-Mac/Podfile.lock
Normal file
@@ -0,0 +1,50 @@
|
||||
PODS:
|
||||
- libwebp (0.5.0):
|
||||
- libwebp/core (= 0.5.0)
|
||||
- libwebp/dec (= 0.5.0)
|
||||
- libwebp/demux (= 0.5.0)
|
||||
- libwebp/dsp (= 0.5.0)
|
||||
- libwebp/enc (= 0.5.0)
|
||||
- libwebp/mux (= 0.5.0)
|
||||
- libwebp/utils (= 0.5.0)
|
||||
- libwebp/webp (= 0.5.0)
|
||||
- libwebp/core (0.5.0):
|
||||
- libwebp/webp
|
||||
- libwebp/dec (0.5.0):
|
||||
- libwebp/core
|
||||
- libwebp/demux (0.5.0):
|
||||
- libwebp/core
|
||||
- libwebp/dsp (0.5.0):
|
||||
- libwebp/core
|
||||
- libwebp/enc (0.5.0):
|
||||
- libwebp/core
|
||||
- libwebp/mux (0.5.0):
|
||||
- libwebp/core
|
||||
- libwebp/utils (0.5.0):
|
||||
- libwebp/core
|
||||
- libwebp/webp (0.5.0)
|
||||
- PINCache (2.2.2)
|
||||
- PINRemoteImage/Core (2.1.2):
|
||||
- PINCache (>= 2.1)
|
||||
- PINRemoteImage/OSX (2.1.2):
|
||||
- PINRemoteImage/Core
|
||||
- PINRemoteImage/WebP (2.1.2):
|
||||
- libwebp
|
||||
- PINRemoteImage/Core
|
||||
|
||||
DEPENDENCIES:
|
||||
- libwebp
|
||||
- PINCache
|
||||
- PINRemoteImage/OSX (from `../`)
|
||||
- PINRemoteImage/WebP (from `../`)
|
||||
|
||||
EXTERNAL SOURCES:
|
||||
PINRemoteImage:
|
||||
:path: ../
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
libwebp: 68ba2001ba6806ee52837ebd77a551a0b6567e4e
|
||||
PINCache: 078426d356ab95ef875e9e62e5c35a2ea3333c28
|
||||
PINRemoteImage: cee13f6a46c58d6ebfa1975da97f7674c7e6f305
|
||||
|
||||
COCOAPODS: 0.39.0
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINCache/Nullability.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINCache/Nullability.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../PINCache/PINCache/Nullability.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINCache/PINCache.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINCache/PINCache.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../PINCache/PINCache/PINCache.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINCache/PINDiskCache.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINCache/PINDiskCache.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../PINCache/PINCache/PINDiskCache.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINCache/PINMemoryCache.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINCache/PINMemoryCache.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../PINCache/PINCache/PINMemoryCache.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/NSData+ImageDetectors.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/NSData+ImageDetectors.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/Categories/NSData+ImageDetectors.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINAlternateRepresentationProvider.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINAlternateRepresentationProvider.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINAlternateRepresentationProvider.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINAnimatedImage.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINAnimatedImage.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINAnimatedImage.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINAnimatedImageManager.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINAnimatedImageManager.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINAnimatedImageManager.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINButton+PINRemoteImage.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINButton+PINRemoteImage.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/Image Categories/PINButton+PINRemoteImage.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINDataTaskOperation.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINDataTaskOperation.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINDataTaskOperation.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINImage+DecodedImage.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINImage+DecodedImage.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/Categories/PINImage+DecodedImage.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINImage+WebP.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINImage+WebP.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/Categories/PINImage+WebP.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINImageView+PINRemoteImage.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINImageView+PINRemoteImage.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/Image Categories/PINImageView+PINRemoteImage.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINProgressiveImage.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINProgressiveImage.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINProgressiveImage.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImage.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImage.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINRemoteImage.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageCallbacks.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageCallbacks.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINRemoteImageCallbacks.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageCategoryManager.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageCategoryManager.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINRemoteImageCategoryManager.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageDownloadTask.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageDownloadTask.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINRemoteImageDownloadTask.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageMacros.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageMacros.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINRemoteImageMacros.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageManager.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageManager.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINRemoteImageManager.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageManagerResult.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageManagerResult.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINRemoteImageManagerResult.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageMemoryContainer.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageMemoryContainer.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINRemoteImageMemoryContainer.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageProcessorTask.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageProcessorTask.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINRemoteImageProcessorTask.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageTask.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteImageTask.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINRemoteImageTask.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteLock.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINRemoteLock.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINRemoteLock.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINURLSessionManager.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/PINRemoteImage/PINURLSessionManager.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../Pod/Classes/PINURLSessionManager.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/alphai.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/alphai.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/dec/alphai.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/backward_references.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/backward_references.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/enc/backward_references.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/bit_reader.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/bit_reader.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/bit_reader.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/bit_reader_inl.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/bit_reader_inl.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/bit_reader_inl.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/bit_writer.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/bit_writer.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/bit_writer.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/color_cache.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/color_cache.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/color_cache.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/common.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/common.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/dec/common.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/cost.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/cost.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/enc/cost.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/decode_vp8.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/decode_vp8.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/dec/decode_vp8.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/delta_palettization.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/delta_palettization.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/enc/delta_palettization.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/dsp.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/dsp.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/dsp/dsp.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/endian_inl.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/endian_inl.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/endian_inl.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/filters.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/filters.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/filters.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/histogram.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/histogram.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/enc/histogram.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/huffman.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/huffman.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/huffman.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/huffman_encode.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/huffman_encode.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/huffman_encode.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/lossless.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/lossless.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/dsp/lossless.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/mips_macro.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/mips_macro.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/dsp/mips_macro.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/muxi.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/muxi.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/mux/muxi.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/neon.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/neon.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/dsp/neon.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/quant_levels.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/quant_levels.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/quant_levels.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/quant_levels_dec.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/quant_levels_dec.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/quant_levels_dec.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/random.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/random.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/random.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/rescaler.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/rescaler.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/rescaler.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/thread.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/thread.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/thread.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/utils.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/utils.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/utils/utils.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/vp8enci.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/vp8enci.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/enc/vp8enci.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/vp8i.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/vp8i.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/dec/vp8i.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/vp8li.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/vp8li.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/dec/vp8li.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/decode.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/decode.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../libwebp/src/webp/decode.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/demux.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/demux.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../libwebp/src/webp/demux.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/encode.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/encode.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../libwebp/src/webp/encode.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/extras.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/extras.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../libwebp/src/webp/extras.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/format_constants.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/format_constants.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../libwebp/src/webp/format_constants.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/mux.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/mux.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../libwebp/src/webp/mux.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/mux_types.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/mux_types.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../libwebp/src/webp/mux_types.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/types.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webp/types.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../libwebp/src/webp/types.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webpi.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/webpi.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/dec/webpi.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/yuv.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Private/libwebp/yuv.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../libwebp/src/dsp/yuv.h
|
||||
1
Examples/Example-Mac/Pods/Headers/Public/PINCache/Nullability.h
generated
Symbolic link
1
Examples/Example-Mac/Pods/Headers/Public/PINCache/Nullability.h
generated
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../PINCache/PINCache/Nullability.h
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user