GithubHelp home page GithubHelp logo

shcommit / swift-study Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 4.42 MB

๐Ÿ“˜[๊ผผ๊ผผํ•œ ์žฌ์€์”จ Swift] ์ฑ… study +_+

Swift 87.13% Ruby 0.07% Objective-C 12.78% C 0.02%

swift-study's Introduction

Hi, I'm Yang seunghyun

KakaoTalk_Photo_2023-07-08-05-20-34

Typing SVG

Me_

struct AboutMe {
  typealias Keywords = [String]
  let me๐Ÿ˜† = ["senior in university", "ENTP", "study swift for developing iOS app"]
  
  func myMind๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป() -> Keywords {
    return ["Clean code", "Share my thoughts", "Technology that can make anything I imagine"]
  }
  func like๐Ÿซ () -> Keywords {
    return ["Plan", "Develop", "iPhone"]
  }
}

Todo List_

extension AboutMe {
  func toDo๐Ÿ“š() -> Keywords {
    return [
      "UIKit", "Swinject", "FireBase",
      "Algorithm", "ComputerScience",
      "LLDB", "GoF design pattern",
      "SwiftUI",
    ]
  }
}

knowledge_

extension AboutMe {
  func know๐Ÿ”ฅ() -> Keywords {
    return [
      "Asynchronous. GCD, async/await, actor, Thread, Combine etc...",
      "Caching. disk cache, filemanager, NSCache etc...",
      "Networking. RESTFul, TCP/UDP Socket, Alamofire, URLSession", "URLSession protocols etc...",
      "Animation", "CoreAnimation", "UIKit", "Combine", "Unit Test", "AutoLayout", DIP+DI, "Protocol any, some, coposition..?"
      "Core data", "Firebase", "ImageIO",
      "MVC, MVVM, VIPER, Coordinator, MVVM+Clean Architecture etc...",
      "Computer science. OS, Algorithm, Data structure, Network etc...",
      "OOP", "POP", "SOLID etc...."
      "Kodeco code convention", "swift style guilde"
    ]
  }
}
extension AboutMe {
  func booksToStudy๐Ÿ“–() -> Keywords {
    return [
      "์˜ค๋ธŒ์ ํŠธ-์œ„ํ‚ค๋ถ์Šค",
      "์ผ„ํŠธ ๋ฒก์˜ ๊ตฌํ˜„ ํŒจํ„ด-์—์ด์ฝ˜์ถœํŒ์‚ฌ",
      "CleanArchitecture"
    ]
  }
}

Baekjoon Tier_

Solved.ac Profile

Tech_

๐Ÿš€ ย Strong Tools I Have Used and Learned

C SWIFT GHTHUB

๐Ÿš€ ย Knowledgable Tools I Have Used and Learned

C++ HTML CSS JAVA

My info_

Tistory

shcommit

footer

swift-study's People

Contributors

shcommit avatar

Watchers

 avatar

swift-study's Issues

[์‹ค์ „ํŽธ] tableView Cell์ด ์ค‘์ฒฉ๋˜์„œ ํ‘œํ˜„๋จ reuse๊ฐ€ ๋˜์ง€์•Š๊ณ  ๊ณ„์†ํ•ด์„œ ์ƒˆ๋กœ์šด cell์ด ๊ฐ™์€ ์ž๋ฆฌ์— ์ƒ์„ฑ๋จ

1
2

ํ…Œ์ด๋ธ” ๋ทฐ ์…€์„ ์ปค์Šคํ…€์œผ๋กœ ๊ตฌํ˜„ํ–ˆ๋Š”๋ฐ dequeuํ•จ์ˆ˜๋ฅผ ํ˜ธ์ถœํ•˜๊ณ  ๊ทธ ์ธ์Šคํ„ด์Šค์˜ ํ”„๋กœํผํ‹ฐ์— ๊ฐ’์„ ์ƒˆ๋กœ ์ดˆ๊ธฐํ™”ํ•ด์„œ Layout๊ณผ ๋ฐ์ดํ„ฐ๋ฅผ ์คฌ๋Š”๋ฐ ์…€์ด ์ค‘์ฒฉํ•ด์„œ ์ƒ๊ฒผ๋‹ค.

reuse๊ฐ€ ๋˜์ง€์•Š๊ณ  ๊ณ„์†ํ•ด์„œ ํ…Œ์ด๋ธ” ๋ทฐ ์…€์ด ์ƒ๊ธด ๊ฒƒ์ธ๋ฐ..
๊ทธ ์ด์œ ๋Š” ๋‚ด๊ฐ€ ํ…Œ์ด๋ธ” ๋ทฐ ์…€์˜ ์žฌ์‚ฌ์šฉ ๋ฉ”์„œ๋“œ๋ฅผ ํ†ตํ•ด ๊ธฐ์กด์— ์กด์žฌํ•˜๋Š” ์…€์„ ์ธ์Šคํ„ด์Šค๋กœ ์–ป์—ˆ์„ ๋•Œ !!! ์ด์ „ ์…€์„ ์ดˆ๊ธฐํ™”ํ•˜์ง€ ์•Š์€ ์ฑ„ ์ƒˆ๋กœ cell์˜ subview๋“ค์„ ์ดˆ๊ธฐํ™”ํ•˜๊ณ  ๊ฐ’์„ ํ• ๋‹นํ–ˆ๊ธฐ ๋•Œ๋ฌธ์— ์ค‘์ฒฉํ•ด์„œ ๋‚˜ํƒ€๋‚˜๋Š” ๊ฒƒ์ด์—ˆ๋‹ค. ๋‚ด cell์ดˆ๊ธฐํ™” ๊ณผ์ •์ด dequeue ์ดํ›„์— ๋ฌด์ €๊ฑด ์ ์œผ๋กœ ๋˜๋Š”๋ฐ ๊ทธ์ „์— ์ด๋ฏธ ์žฌ์‚ฌ์šฉ ํ์—์„œ ์กด์žฌํ–ˆ๋˜ cell์˜ ์ •๋ณด๋“ค์€ ๋‹ค ์—†์• ์ง€ ์•Š์•˜๊ธฐ์— ์ค‘์ฒฉํ•ด์„œ ์ƒ๊ธฐ๋Š” ๊ฒƒ ๊ฐ™๋‹ค.

๋‹ค๋ฅธํ™”๋ฉด์œผ๋กœ ๊ฐ”๋‹ค๊ฐ€ ๋Œ์•„์˜ค๋ฉด viewWillAppear์—์„œ tableView.reloadData()์„ ์‹คํ–‰ํ•ด์„œ tableView(_:cellForRowAt:)๋ฅผ ์‹คํ–‰ํ•  ๋•Œ ์œ„์™€๊ฐ™์€ ์ค‘์ฒฉ์‚ฌํ•ญ์ด ๋ฐ˜๋ณต๋˜๊ธฐ ๋•Œ๋ฌธ์— reloadData()๋ฅผ ํ†ตํ•ด ํ…Œ์ด๋ธ” ๋ธ๋ฆฌ๊ฒŒ์ดํŠธ ๋ฉ”์„œ๋“ค์ด ์‹คํ–‰๋˜๊ธฐ ์ด์ „์ธ prepareForReuse()๋ฅผ ํ†ตํ•ด ์ด์ „ ์…€์˜ ์ •๋ณด๋ฅผ ์ดˆ๊ธฐํ™” ํ•˜๊ฑฐ๋‚˜ ์—†์• ์•ผ ํ•˜๋Š” ๋กœ์ง์„ ์ถ”๊ฐ€ํ•จ์œผ๋กœ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ์—ˆ๋‹ค.

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.