Skip to content

Commit

Permalink
modify example
Browse files Browse the repository at this point in the history
  • Loading branch information
OhKanghoon committed Jun 20, 2021
1 parent f51ec9a commit 87680a7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions Example/GithubExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
BA52461B239AB4DC004C3154 /* List.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA524611239AB4DA004C3154 /* List.swift */; };
BA52461C239AB4DC004C3154 /* RepoSearch.graphql in Resources */ = {isa = PBXBuildFile; fileRef = BA524612239AB4DB004C3154 /* RepoSearch.graphql */; };
BA52461D239AB4DC004C3154 /* Client.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA524613239AB4DB004C3154 /* Client.swift */; };
BA52461E239AB4DC004C3154 /* API.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA524614239AB4DB004C3154 /* API.swift */; };
BA52461F239AB4DC004C3154 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA524615239AB4DB004C3154 /* ViewController.swift */; };
BA524620239AB4DC004C3154 /* ViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA524616239AB4DB004C3154 /* ViewModel.swift */; };
BA524621239AB4DC004C3154 /* GithubService.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA524617239AB4DB004C3154 /* GithubService.swift */; };
Expand All @@ -19,6 +18,7 @@
BA524627239AB50B004C3154 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BA524625239AB50B004C3154 /* Main.storyboard */; };
BA524628239AB50B004C3154 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = BA524626239AB50B004C3154 /* LaunchScreen.xib */; };
BAA730A1239AB47300C6907E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BAA730A0239AB47300C6907E /* Assets.xcassets */; };
BAB48A07267F878E00071356 /* API.swift in Sources */ = {isa = PBXBuildFile; fileRef = BAB48A06267F878E00071356 /* API.swift */; };
CD803E6E9BCAC2935AB7922B /* Pods_GithubExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A8BE4858939A79746682EBCC /* Pods_GithubExample.framework */; };
/* End PBXBuildFile section */

Expand All @@ -29,7 +29,6 @@
BA524611239AB4DA004C3154 /* List.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = List.swift; sourceTree = "<group>"; };
BA524612239AB4DB004C3154 /* RepoSearch.graphql */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RepoSearch.graphql; sourceTree = "<group>"; };
BA524613239AB4DB004C3154 /* Client.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Client.swift; sourceTree = "<group>"; };
BA524614239AB4DB004C3154 /* API.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = API.swift; sourceTree = "<group>"; };
BA524615239AB4DB004C3154 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
BA524616239AB4DB004C3154 /* ViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = "<group>"; };
BA524617239AB4DB004C3154 /* GithubService.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GithubService.swift; sourceTree = "<group>"; };
Expand All @@ -40,6 +39,7 @@
BAA73094239AB47200C6907E /* GithubExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GithubExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
BAA730A0239AB47300C6907E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
BAA730A5239AB47300C6907E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
BAB48A06267F878E00071356 /* API.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = API.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -96,7 +96,7 @@
BA524619239AB4DB004C3154 /* schema.json */,
BAA730A5239AB47300C6907E /* Info.plist */,
BA524625239AB50B004C3154 /* Main.storyboard */,
BA524614239AB4DB004C3154 /* API.swift */,
BAB48A06267F878E00071356 /* API.swift */,
BA524618239AB4DB004C3154 /* AppDelegate.swift */,
BA524613239AB4DB004C3154 /* Client.swift */,
BA524617239AB4DB004C3154 /* GithubService.swift */,
Expand All @@ -116,12 +116,12 @@
isa = PBXNativeTarget;
buildConfigurationList = BAA730A8239AB47300C6907E /* Build configuration list for PBXNativeTarget "GithubExample" */;
buildPhases = (
BADC1328255FCC1600702423 /* Apollo Script */,
7AB08F4EC2AFAA49E7554961 /* [CP] Check Pods Manifest.lock */,
BAA73090239AB47200C6907E /* Sources */,
BAA73091239AB47200C6907E /* Frameworks */,
BAA73092239AB47200C6907E /* Resources */,
A2ACAAAD5501972F29C32C62 /* [CP] Embed Pods Frameworks */,
BADC1328255FCC1600702423 /* Apollo Script */,
);
buildRules = (
);
Expand Down Expand Up @@ -249,10 +249,10 @@
BA524620239AB4DC004C3154 /* ViewModel.swift in Sources */,
BA52461D239AB4DC004C3154 /* Client.swift in Sources */,
BA524621239AB4DC004C3154 /* GithubService.swift in Sources */,
BA52461E239AB4DC004C3154 /* API.swift in Sources */,
BA524622239AB4DC004C3154 /* AppDelegate.swift in Sources */,
BA52461F239AB4DC004C3154 /* ViewController.swift in Sources */,
BA52461B239AB4DC004C3154 /* List.swift in Sources */,
BAB48A07267F878E00071356 /* API.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -309,7 +309,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -363,7 +363,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
Expand All @@ -381,7 +381,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = GithubExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -402,7 +402,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = GithubExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
2 changes: 1 addition & 1 deletion Example/GithubExample/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ final class Client {

func fetch<Query: GraphQLQuery>(
query: Query,
cachePolicy: CachePolicy = .returnCacheDataElseFetch,
cachePolicy: CachePolicy = .default,
queue: DispatchQueue = DispatchQueue.main
) -> Observable<Query.Data> {
return self.client.rx
Expand Down
2 changes: 1 addition & 1 deletion Example/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use_frameworks!
platform :ios, '11.0'
platform :ios, '12.0'

target 'GithubExample' do
pod 'RxApolloClient', :path => '../'
Expand Down

0 comments on commit 87680a7

Please sign in to comment.