Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 78 additions & 7 deletions Swifterviewing.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 52;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -16,6 +16,9 @@
CA7A917C24B774F600419A0F /* SwifterviewingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = CA7A917B24B774F600419A0F /* SwifterviewingTests.swift */; };
CA7A918724B776FB00419A0F /* API.swift in Sources */ = {isa = PBXBuildFile; fileRef = CA7A918624B776FB00419A0F /* API.swift */; };
CA7A918924B7D67E00419A0F /* Album.swift in Sources */ = {isa = PBXBuildFile; fileRef = CA7A918824B7D67E00419A0F /* Album.swift */; };
D7347DA626FA7E2500F3FC4B /* Kingfisher in Frameworks */ = {isa = PBXBuildFile; productRef = D7347DA526FA7E2500F3FC4B /* Kingfisher */; };
D7A8EB5126F9A20000124EFE /* ArrayExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = D7A8EB5026F9A20000124EFE /* ArrayExtensions.swift */; };
D7C2336226F93180007C0205 /* AlbumPhoto.swift in Sources */ = {isa = PBXBuildFile; fileRef = D7C2336126F93180007C0205 /* AlbumPhoto.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -42,13 +45,16 @@
CA7A917D24B774F600419A0F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
CA7A918624B776FB00419A0F /* API.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = API.swift; sourceTree = "<group>"; };
CA7A918824B7D67E00419A0F /* Album.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Album.swift; sourceTree = "<group>"; };
D7A8EB5026F9A20000124EFE /* ArrayExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ArrayExtensions.swift; sourceTree = "<group>"; };
D7C2336126F93180007C0205 /* AlbumPhoto.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AlbumPhoto.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
CA7A915E24B774F500419A0F /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D7347DA626FA7E2500F3FC4B /* Kingfisher in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -83,15 +89,16 @@
CA7A916324B774F500419A0F /* Swifterviewing */ = {
isa = PBXGroup;
children = (
D7C2335E26F93094007C0205 /* View */,
D7C2335F26F9309B007C0205 /* Model */,
D7C2336026F9309F007C0205 /* Controller */,
D7A8EB4F26F9A1E600124EFE /* Extensions */,
CA7A916424B774F500419A0F /* AppDelegate.swift */,
CA7A916624B774F500419A0F /* SceneDelegate.swift */,
CA7A916824B774F500419A0F /* ViewController.swift */,
CA7A916A24B774F500419A0F /* Main.storyboard */,
CA7A916D24B774F600419A0F /* Assets.xcassets */,
CA7A916F24B774F600419A0F /* LaunchScreen.storyboard */,
CA7A917224B774F600419A0F /* Info.plist */,
CA7A918624B776FB00419A0F /* API.swift */,
CA7A918824B7D67E00419A0F /* Album.swift */,
);
path = Swifterviewing;
sourceTree = "<group>";
Expand All @@ -105,6 +112,39 @@
path = SwifterviewingTests;
sourceTree = "<group>";
};
D7A8EB4F26F9A1E600124EFE /* Extensions */ = {
isa = PBXGroup;
children = (
D7A8EB5026F9A20000124EFE /* ArrayExtensions.swift */,
);
path = Extensions;
sourceTree = "<group>";
};
D7C2335E26F93094007C0205 /* View */ = {
isa = PBXGroup;
children = (
);
path = View;
sourceTree = "<group>";
};
D7C2335F26F9309B007C0205 /* Model */ = {
isa = PBXGroup;
children = (
CA7A918824B7D67E00419A0F /* Album.swift */,
D7C2336126F93180007C0205 /* AlbumPhoto.swift */,
CA7A918624B776FB00419A0F /* API.swift */,
);
path = Model;
sourceTree = "<group>";
};
D7C2336026F9309F007C0205 /* Controller */ = {
isa = PBXGroup;
children = (
CA7A916824B774F500419A0F /* ViewController.swift */,
);
path = Controller;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -121,6 +161,9 @@
dependencies = (
);
name = Swifterviewing;
packageProductDependencies = (
D7347DA526FA7E2500F3FC4B /* Kingfisher */,
);
productName = Swifterviewing;
productReference = CA7A916124B774F500419A0F /* Swifterviewing.app */;
productType = "com.apple.product-type.application";
Expand Down Expand Up @@ -150,7 +193,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1150;
LastUpgradeCheck = 1150;
LastUpgradeCheck = 1300;
ORGANIZATIONNAME = "World Wide Technology Application Services";
TargetAttributes = {
CA7A916024B774F500419A0F = {
Expand All @@ -171,6 +214,9 @@
Base,
);
mainGroup = CA7A915824B774F500419A0F;
packageReferences = (
D7347DA426FA7E2500F3FC4B /* XCRemoteSwiftPackageReference "Kingfisher" */,
);
productRefGroup = CA7A916224B774F500419A0F /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -206,11 +252,13 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D7C2336226F93180007C0205 /* AlbumPhoto.swift in Sources */,
CA7A916924B774F500419A0F /* ViewController.swift in Sources */,
CA7A916524B774F500419A0F /* AppDelegate.swift in Sources */,
CA7A918724B776FB00419A0F /* API.swift in Sources */,
CA7A916724B774F500419A0F /* SceneDelegate.swift in Sources */,
CA7A918924B7D67E00419A0F /* Album.swift in Sources */,
D7A8EB5126F9A20000124EFE /* ArrayExtensions.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -278,6 +326,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -302,13 +351,14 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.5;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
Expand Down Expand Up @@ -338,6 +388,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -356,12 +407,13 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.5;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 5.0;
VALIDATE_PRODUCT = YES;
};
name = Release;
Expand Down Expand Up @@ -477,6 +529,25 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
D7347DA426FA7E2500F3FC4B /* XCRemoteSwiftPackageReference "Kingfisher" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/onevcat/Kingfisher.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 7.0.0;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
D7347DA526FA7E2500F3FC4B /* Kingfisher */ = {
isa = XCSwiftPackageProductDependency;
package = D7347DA426FA7E2500F3FC4B /* XCRemoteSwiftPackageReference "Kingfisher" */;
productName = Kingfisher;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = CA7A915924B774F500419A0F /* Project object */;
}

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"object": {
"pins": [
{
"package": "Kingfisher",
"repositoryURL": "https://github.com/onevcat/Kingfisher.git",
"state": {
"branch": null,
"revision": "8c65ddf756c633d01d9ae01092bf72f0c66dfc60",
"version": "7.0.0"
}
}
]
},
"version": 1
}
24 changes: 0 additions & 24 deletions Swifterviewing/API.swift

This file was deleted.

48 changes: 43 additions & 5 deletions Swifterviewing/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19162" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19144"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
Expand All @@ -17,22 +19,58 @@
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="INJ-Fg-2zz">
<rect key="frame" x="0.0" y="44" width="414" height="818"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="6c570076-9d57-40f1-94d1-d6cd67ed23c6" textLabel="6vd-8l-IbP" imageView="Szp-4t-HP2" style="IBUITableViewCellStyleDefault" id="z0A-Ho-X1Q">
<rect key="frame" x="0.0" y="44.5" width="414" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="z0A-Ho-X1Q" id="3UP-7Y-s0N">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="6vd-8l-IbP">
<rect key="frame" x="79" y="0.0" width="315" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<fontDescription key="fontDescription" type="system" pointSize="0.0"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" image="loader.gif" id="Szp-4t-HP2">
<rect key="frame" x="20" y="0.0" width="44" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
</imageView>
</subviews>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="BYZ-38-t0r" id="FXx-Rj-lv9"/>
<outlet property="delegate" destination="BYZ-38-t0r" id="oSR-Mj-n3U"/>
</connections>
</tableView>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="6Tk-OE-BBY" firstAttribute="trailing" secondItem="INJ-Fg-2zz" secondAttribute="trailing" id="211-r9-mYl"/>
<constraint firstItem="6Tk-OE-BBY" firstAttribute="bottom" secondItem="INJ-Fg-2zz" secondAttribute="bottom" id="N5h-TJ-e4P"/>
<constraint firstItem="INJ-Fg-2zz" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" id="Yb4-xL-Z6M"/>
<constraint firstItem="INJ-Fg-2zz" firstAttribute="top" secondItem="6Tk-OE-BBY" secondAttribute="top" id="yhu-1w-xeM"/>
</constraints>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
<connections>
<outlet property="tableView" destination="INJ-Fg-2zz" id="BiD-Wx-COt"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="139" y="138"/>
</scene>
</scenes>
<resources>
<image name="loader.gif" width="128" height="128"/>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>
Loading