Code Monkey home page Code Monkey logo

swift-photoframe's Introduction

사진액자 앱

Step1 - Tabbed App

  • repository fork / clone 후 tabbed app 템플릿의 프로젝트 생성
  • print(#file, #line, #function, #column) 수행

Step2 - IBOutlet

  • First Scene 의 레이블을 IBOutlet으로 연결
  • 연결한 아웃렛 변수에 값을 변경
  • 레이블 속성 변경

Step3 - IBAction

  • First Scene 에 버튼(UIButton)을 추가하고 IBAction으로 연결
  • 연결한 액션에 대한 메서드 구현

Step4

  • 새로운 Scene과 Segue 추가

Step5 - View Controller

  • 스토리보드 구성 요소와 클래스 코드와 연결해서 동작을 확장한다.
  • View Controller Life Cycle 학습
    • viewWillAppear()
      • view가 나타나기 시작할 때 수행
    • viewDidAppear()
      • view가 다 나타나고 나면 수행
    • viewWillDisappear()
      • view가 사라지기 시작할 때 수행
    • viewDidDisappear()
      • view가 사라지고 나면 수행

Step6 - Container ViewController

  • 내비게이션 컨트롤러(Navigation Controller)를 Embed 시켜서 동작하도록 개선

Step7 - Second Scene 화면

  • Second SceneUIImageView 추가
  • 다음 버튼 클릭 시 이미지 랜덤하게 변경되는 기능 추가

추가 요구사항

  • Second Scene 에 액자 이미지 추가
  • 선택 버튼으로 사진 앱 - 카메라롤 이동
  • 사진 선택시 image view에 선택된 이미지 추가

swift-photoframe's People

Contributors

cocomilktea avatar delmasong avatar godrm avatar o-o-wl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.