원격 서버에서 (405) 메서드를 사용할 수 없음 오류를 반환했습니다. 라는 에러가 뜬다.

엥? 사진 주소가 어떻게 되지 하고 클릭해 보니 

https://www.instagram.com/p/%ED%95%B4%EC%8B%9C%EA%B0%92해시값

으로 나온다. 그리고 로긴 세션이 필요하다는 것을 알았다. 언제부터 로긴해야 사진을 볼 수 있었지?

 

기업명

()네오앤사람

기업형태

일반,중소기업

대표자

김동섭

설립일자

2017.01.16

사업자번호

646-87-*****

상장일자

 

법인번호

180111-*******

산업명

(F41229)기타 토목시설물 건설업

주소

부산 사하구 윤공단로**번길 **

 

 

let point = (3, 2)

 

switch point {

// Bind x and y to the elements of point.

    case (3, let y):

        print("The point is at  \(y)).")

    case (let x, 2):

        print("The point is at \(x).")

    default:

        print("defult")

}

 

 

 

error: protocol methods must not have bodies

 

protocol somebodyDelegate : class {

    func hardwork()

}

 

 

 

   func hardwork() {

        print("hello world")

        print("teaching basics")

        print("provide a lot of food")

        print("et cetra...")

    }

 

 

class theOtherone : somebodyDelegate {

    hardwork()

}

 

 

Redundant conformance of 'theOtherone' to protocol 'somebodyDelegate'

 

 

 

 

Expected declaration

 

 

 

 

 

import UIKit

 

class dummy {

    var A : Int = 3

}

 

class ViewController: UIViewController {

    

    override func viewDidLoad() {

        super.viewDidLoad()

        // Do any additional setup after loading the view, typically from a nib.

        var a = dummy()

        

        

        

        switch a.A {

            

        case var b :

            

            print("a.A = \(a.A)")

            

            print("b = \(b)")

            

            b = 2

            

            print("a.A = \(a.A)")

            

            print("b = \(b)")

            

        default:

            

            print("defult")

            

        }

        

        

        

        print("a.A = \(a.A)")

    }

    

    

}

 

 

 

class ViewController: UIViewController {

    

    override func viewDidLoad() {

 

    }

}

 

 

 

 

Use of unresolved identifier 'hardwork'

 

 

 

import UIKit

 

protocol somebodyDelegate : class {

    func hardwork()

}

 

class ViewController: UIViewController {

    

    override func viewDidLoad() {

        let s = someOne()

        s.hardwork()

        

        someOne().hardwork()

        

        

    }

}

 

 

class someOne : somebodyDelegate {

    func hardwork() {

        print("hello world")

        print("teaching basics")

        print("provide a lot of food")

        print("et cetra...")

    }

}

 

 

 

 

 

 

'Blog History' 카테고리의 다른 글

424  (0) 2020.06.06
423  (0) 2020.06.05
421  (0) 2020.06.04
420  (0) 2020.06.04
419  (0) 2020.06.04

+ Recent posts