본문 바로가기 메뉴 바로가기

Napster

프로필사진

Napster

Napster
검색하기 폼 Mountain View
  • All about view (78)
    • CS (30)
      • C++ & DataStructure (6)
      • Swift (10)
      • Swift - Beyond the Code! (6)
      • iOS (7)
      • Programing (1)
    • Glossary of Film (3)
    • MJU (22)
      • Capstone Design1 (7)
      • Cryptography & Network Secu.. (4)
      • Embedded system (5)
      • Robotics (6)
    • 자전거 (2)
    • 보고느낀것들 (4)
      • 영화 (1)
      • 칼럼 (1)
  • GUESTBOOK
  • TAG
  • RSS

CS/Swift - Beyond the Code!
[Swift FeedBack]오늘의피드백(객체 다루기)

오늘의 피드백! - 좌표계산기Step3 var pointsInfo: PointsInfo = PointsInfo.point var trixInfo: pointAndValue = ([MyPoint()], 0.0) init() {} // 의미없은 생성자가 다른곳에서 사용될때 잘못될 가능성이 매우 높다. 좋지않은 코드이다. init(pointData: [MyPoint], info: PointsInfo, trixInfo: pointAndValue) {구체적으로 필요한 데이터로 생성하는 init(pointData:, info:, trixInfo:)가 있으면, 의미가 없는 기본 init() 생성자는 필요 없는 경우가 많습니다.필요한 정보가 있는데 반대로 정보가 없이 만들어지면 잘못 사용할 가능성도 있으니 없애는게 좋..

CS/Swift - Beyond the Code! 2017. 11. 8. 11:49
이전 1 2 다음
이전 다음
최근에 올라온 글
최근에 달린 댓글
TAG
  • image render
  • C++
  • 만들기
  • swift camera 이미지 느림
  • ios custom camera capture
  • swift sprite kit
  • ios
  • 영화
  • 태그를 입력해 주세요.
  • 스택
  • Swift
  • 코드스쿼드
  • 객체
  • SKPhysicsbody
  • QUAD
  • quadcopter
  • 자료구조
  • slow image
  • UIGraphicsImageRendererFormat
  • sprite kit
  • ios sprite kit
  • des
  • swift custom camera
  • custom Camera
  • string
  • Mobile Robot Kinematics
  • TDD
  • skscene
  • 스위프트
  • draw 이미지
more
Total
Today
Yesterday

Powered by Tistory / Designed by INJE

티스토리툴바