Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #24 from exelban/master
Browse files Browse the repository at this point in the history
xcode 12
  • Loading branch information
ViniciusDeep authored Oct 2, 2020
2 parents afd66d9 + 804c4cf commit 38aa1bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Revill/Revill.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1100;
LastUpgradeCheck = 1100;
LastUpgradeCheck = 1200;
ORGANIZATIONNAME = Revill;
TargetAttributes = {
578D1A1423421BE900211722 = {
Expand Down Expand Up @@ -441,6 +441,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 Down Expand Up @@ -501,6 +502,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 Down
2 changes: 1 addition & 1 deletion Revill/Revill/API/Providey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import Combine
import SwiftUI

class Providey<T: Decodable>: BindableObject {
class Providey<T: Decodable>: ObservableObject {
func get(withUrl url: String, completion: @escaping (Result<T, Error>) -> Void) {
guard let url = URL(string: url) else {return print("Bug")}
URLSession.shared.dataTask(with: url) { (data, _ , error) in
Expand Down

0 comments on commit 38aa1bb

Please sign in to comment.