TextField, SecureField

JHยท2022๋…„ 11์›” 29์ผ
0

SwiftUI ๋‹ค๋ฃจ๊ธฐ

๋ชฉ๋ก ๋ณด๊ธฐ
10/10

๐Ÿ’ฌ TextField

TextField๋Š” ์‚ฌ์šฉ์ž๊ฐ€ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ๋Š” ์ปดํฌ๋„ŒํŠธ์ž…๋‹ˆ๋‹ค.

๋งค๊ฐœ๋ณ€์ˆ˜๋Š” ("placeholder", text: "๊ฐ’์„ ์ €์žฅํ•  ๋ณ€์ˆ˜")๋ฅผ ์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ”’ SecureField

SecureField๋Š” ์•”ํ˜ธํ™”๋œ ์ž…๋ ฅ์„ ํ•  ์ˆ˜ ์žˆ๋Š” ์ปดํฌ๋„ŒํŠธ์ž…๋‹ˆ๋‹ค.

TextField์ฒ˜๋Ÿผ ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” ("placeholder", text: "๊ฐ’์„ ์ €์žฅํ•  ๋ณ€์ˆ˜")๋ฅผ ์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๐Ÿข ProgressView

ProgressView๋Š” ์ง„ํ–‰๋„๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ์ปดํฌ๋„ŒํŠธ์ž…๋‹ˆ๋‹ค.

๐Ÿท๏ธ Label

Label์„ ์‚ฌ์šฉํ•ด์„œ Text์™€ Image๋ฅผ ํ•œ ๋ฒˆ์— ๋ณด์—ฌ์ค„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

TabView์™€ ๊ฐ™์ด ์ด๋ฏธ์ง€์™€ ํ…์ŠคํŠธ๊ฐ€ ํ•จ๊ป˜ ์“ฐ์ด๋Š” ๊ณณ์—์„œ ์œ ์šฉํ•˜๊ฒŒ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

profile
๋งค์ผ ํ•œ ๋ฌธ์ œ์”ฉ ํ’€๊ธฐ

0๊ฐœ์˜ ๋Œ“๊ธ€