Skip to content
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
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ target 'fakestagram' do
use_frameworks!
# Pods for fakestagram
pod 'SAMKeychain'

pod 'DVR'
target 'fakestagramTests' do
inherit! :search_paths
pod 'DVR'
Expand Down
4 changes: 2 additions & 2 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ SPEC CHECKSUMS:
DVR: 062c287b9dc613a84120e44640176e4ef3ecf943
SAMKeychain: 483e1c9f32984d50ca961e26818a534283b4cd5c

PODFILE CHECKSUM: 02c21c317ba9be4fdecdfff242f3fa20e9b269bd
PODFILE CHECKSUM: 6ce291ef5eb8e282e4a60dab177e509bc0c5ab9d

COCOAPODS: 1.8.3
COCOAPODS: 1.8.4
18 changes: 14 additions & 4 deletions fakestagram.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

/* Begin PBXBuildFile section */
05D8E963168944918FFCC7FF /* Pods_fakestagram.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FFAA8B9133CEE464C903FDF5 /* Pods_fakestagram.framework */; };
103D72B423C9B88900C66B7D /* LikeService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 103D72B323C9B88900C66B7D /* LikeService.swift */; };
10612B0223D212F300655D31 /* PhotoEditingController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10612B0123D212F300655D31 /* PhotoEditingController.swift */; };
D3D164DC7444072103DE027D /* Pods_fakestagramTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E669E31C92D68155914FC99D /* Pods_fakestagramTests.framework */; };
E023A5542380859200B13B7D /* NotificationKeys.swift in Sources */ = {isa = PBXBuildFile; fileRef = E023A5532380859200B13B7D /* NotificationKeys.swift */; };
E038FCED233FC78600E28571 /* PostViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E038FCEC233FC78600E28571 /* PostViewController.swift */; };
Expand Down Expand Up @@ -63,6 +65,8 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
103D72B323C9B88900C66B7D /* LikeService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LikeService.swift; sourceTree = "<group>"; };
10612B0123D212F300655D31 /* PhotoEditingController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PhotoEditingController.swift; sourceTree = "<group>"; };
5E0AE2BFBF9C8D81E583E1BE /* Pods-fakestagramTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-fakestagramTests.release.xcconfig"; path = "Target Support Files/Pods-fakestagramTests/Pods-fakestagramTests.release.xcconfig"; sourceTree = "<group>"; };
66342726A6BCEEEF6289B1AA /* Pods-fakestagramTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-fakestagramTests.debug.xcconfig"; path = "Target Support Files/Pods-fakestagramTests/Pods-fakestagramTests.debug.xcconfig"; sourceTree = "<group>"; };
CCC6C6EA9D17CA169951A745 /* Pods-fakestagram.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-fakestagram.release.xcconfig"; path = "Target Support Files/Pods-fakestagram/Pods-fakestagram.release.xcconfig"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -154,6 +158,7 @@
children = (
E045844823762E10006574FA /* CreatePostService.swift */,
E0458456237725B9006574FA /* IndexService.swift */,
103D72B323C9B88900C66B7D /* LikeService.swift */,
);
path = Services;
sourceTree = "<group>";
Expand Down Expand Up @@ -241,6 +246,7 @@
E0A9ED50235A782F00A0527E /* PostsViewController.swift */,
E038FCEC233FC78600E28571 /* PostViewController.swift */,
E0E25462235B675100C55767 /* CameraViewController.swift */,
10612B0123D212F300655D31 /* PhotoEditingController.swift */,
);
path = ViewControllers;
sourceTree = "<group>";
Expand Down Expand Up @@ -494,6 +500,7 @@
files = (
E0C93EA42352452900FD330C /* AuthorView.swift in Sources */,
E0E2545F235A9F3A00C55767 /* UIDevice+models.swift in Sources */,
103D72B423C9B88900C66B7D /* LikeService.swift in Sources */,
E0E8B96A23481D5A00DA9D1A /* StatusCode.swift in Sources */,
E045845123766203006574FA /* CacheImage.swift in Sources */,
E045844B237652DD006574FA /* StorageType.swift in Sources */,
Expand All @@ -515,6 +522,7 @@
E0E8B9682348036D00DA9D1A /* Client.swift in Sources */,
E0A9ED51235A782F00A0527E /* PostsViewController.swift in Sources */,
E045844923762E10006574FA /* CreatePostService.swift in Sources */,
10612B0223D212F300655D31 /* PhotoEditingController.swift in Sources */,
E0C93EA62352454E00FD330C /* Author.swift in Sources */,
E0A9ED54235A7FF300A0527E /* PostCollectionViewCell.swift in Sources */,
E0E8B96C23481E1700DA9D1A /* HttpResponse.swift in Sources */,
Expand Down Expand Up @@ -689,13 +697,14 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = D3XL2U7DQC;
DEVELOPMENT_TEAM = 446P28FHN3;
INFOPLIST_FILE = fakestagram/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.3zcurdia.fakestagram;
PRODUCT_BUNDLE_IDENTIFIER = com.puebafakeinsta;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "fakestagram/fakestagram-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand All @@ -711,13 +720,14 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = D3XL2U7DQC;
DEVELOPMENT_TEAM = 446P28FHN3;
INFOPLIST_FILE = fakestagram/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.3zcurdia.fakestagram;
PRODUCT_BUNDLE_IDENTIFIER = com.puebafakeinsta;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "fakestagram/fakestagram-Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand Down
2 changes: 1 addition & 1 deletion fakestagram/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

func loadOrCreateAccount() {
if Credentials.apiToken.get() != nil { return }
let account = Account(id: nil, name: "Juan Camaney", deviceNumber: UIDevice.identifier, deviceModel: UIDevice.modelName)
let account = Account(id: nil, name: "pk.gs", deviceNumber: UIDevice.identifier, deviceModel: UIDevice.modelName)
let client = RestClient<Account>(client: Client.fakestagram, basePath: "/api/v1/accounts")
client.create(account) { account in
guard let account = account, let idx = account.id else { return }
Expand Down
21 changes: 21 additions & 0 deletions fakestagram/Assets.xcassets/babyYoda.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "babyyodatomate-8b881a58a88a7f62498ea2ce59c9d69e-1200x800.jpg",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"images" : [
{
"idiom" : "universal",
"filename" : "spacecat.jpg",
"filename" : "photo_default_2.png",
"scale" : "1x"
},
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading