Login
Discover
Waves
Communities
Login
Signup
Topics
#swift4
Global
Trending
Hot
New
Top
#swift4
New
Top communities
Create your community
latest #swift4 created topics on internet
gunw
swift4
2019-01-25 07:06
[Grammer] 26 - Custom Operators
Custom Operators : prefix, postfix, infix ์ค ํ๋๋ฅผ ์ปค์คํ infix operator *+* : MultiplicationPrecedence // ์ฐ์ ์์ ๊ทธ๋ฃน ์ค์ extension Int { static func *+*(left: Int, right: Int) -> Int { return (left * right)
$ 0.000
0
1
gunw
swift4
2019-01-25 06:26
[Grammer] 25 - Operator Methods
Operator Methods static func operator(parameters) -> ReturnType { Code } struct Position { var x : Double var y : Double } extension Position { static func ==(left: Position, right: Positon) -> Bool
$ 0.000
2
gunw
swift4
2019-01-25 05:54
[Grammer] 23 - Bitwise Operators, 24 - Identity Operator
Bitwise Operators ๋ฉ๋ชจ๋ฆฌ์ ์ ์ฅ๋ ์ค์ ๋นํธ๋ฅผ ๋ค๋ฃธ. ์ฐ์ฐ ์๋๊ฐ ๋น ๋ฅด๊ณ ์ฝ๋๊ฐ ์งง์. ๋นํธ ์ฐ์ฐ์ ์ ์๋ง ๊ฐ๋ฅํจ.(์ค์ x, ๋ฌธ์์ดx) &, |, ^, ~, <<, >> a : 0 0 1 0 0 0 1 1 b : 0 0 0 1 1 0 1 0 & : 0 0 0 0 0 0 1 0 (AND) | : 0 0 1 1
$ 0.000
0
gunw
swift4
2019-01-25 05:34
[Grammer]21 - Ternary Coditional Operator, 22 - Range Operators
Ternary Coditional Operator : //condition ? expr1 : expr2 let condition = false let result = condition ? "eat" : "sleep" Range Operators a...b : Closed Range Operator a..<b : Half-open
$ 0.000
1
wiseagent
CineTV
2026-05-30 16:15
Promoted
We deserve to know the whole truth.
This publication was also writen in SPANISH and PORTUGUESE. Empire Disclosure Day is finally coming to theaters next month. Steven Spielberg's next movie deals with a subject that sparks the interest of
$ 5.246
413
3
3
gunw
swift4
2019-01-25 04:46
[Grammer] 19 - Short-circuit Evaluation, Side Effect, 20 - Assignment Operators
Short-circuit Evaluation(๋จ๋ฝ ํ๊ฐ) var a = 1 var b = 2 func updateLeft() -> Bool { a += 1 return false } func updateRight() -> Bool { b += 1 return true } if updateLeft() && updateRight() {
$ 0.000
1
gunw
swift4
2019-01-25 04:34
[Grammer] 16 - Overflow Operators, 17 - Comparison Operators, 18 - Logical Operators
Overflow Operatiors &+ : Overflow Addition Operator &- : Overflow Subtraction Operator &*: Overflow Multiplication Operator let a: Int8 = Int8.max let result = a &+ 1 // -128 let b: Int8
$ 0.000
0
gunw
swift4
2019-01-25 03:16
[Grammer] 13 - Data Types with Memory, 14 - Operator Basics, 15 - Arithmetic Operators
Data Types(์๋ฃํ) : ๋ฉ๋ชจ๋ฆฌ์ ์ ์ฅ๋๋ ๋ฐ์ดํฐ์ ํฌ๊ธฐ๋ฅผ ๊ฒฐ์ . Primitive Data Types : [Interger, Floating-point, Boolean, Character, String] Compound Data Types : [Structure, Enumeration, Class, Tuple] Memory : 0(off)๊ณผ 1(on)์
$ 0.000
0
gunw
swift4
2019-01-25 02:47
[Grammer] 11 - Type Inference, Type Safety, 12 - Type Conversion, Type Aliases
Type Inference: ํ์ ์ ๊ฐ์ ๋ณด๊ณ ์ถ๋ก ํจ. let num = 123 Type Annotation : ํ์ ์ ์ง์ ์ง์ ํจ let num: Int = 123 Type Safety : ์์ ์ฑ์ ์ํด ์๋ฃํ์ ์๊ฒฉํ ๊ตฌ๋ถ. ๋ชจ๋ ํ์ ๊ฐ ํธํ ๋ถ๊ฐ. Int+Double / Int8+Int ๋ฑ ๋ชจ๋ ์๋ฌ. ์ด๋ฌํ ๊ณ์ฐ์ ํ๋ณํ์ด ํ์. Type Conversion
$ 0.000
0
nascimentoab
pt-br
2026-06-04 17:21
Promoted
Gemini 3: Como o Flash desbancou o Pro e mudou a relaรงรฃo custo-qualidade
Em dezembro de 2025, o Google lanรงou o Gemini 3 Flash com uma especificaรงรฃo que parecia impossรญvel: um modelo rรกpido e barato que superava, em benchmarks cientรญficos, modelos "Pro" de geraรงรตes
$ 0.062
16
gunw
swift4
2019-01-25 02:22
[Grammer] 09 - Boolean, 10 - Strings and Characters
Boolean: ์ฐธ/๊ฑฐ์ง์ ๊ตฌ๋ถ. Swift์์๋ true, false 2๊ฐ์ง๋ง ์๋ฌธ์๋ก ์กด์ฌ. if ์กฐ๊ฑด๋ฌธ์ด๋ while ๋ฐ๋ณต๋ฌธ์ ์์ฃผ ์ฌ์ฉ import UIKit let valid: true let invalid = false let hasName: Bool = true let isMember: Bool = false Strings : ๋ฌธ์์ด. "
$ 0.000
0
gunw
swift4
2019-01-25 02:11
[Grammer] 07 - Naming Convention, 08 - Numbers
Naming Conventions(์ด๋ฆ ์ ์ ๊ท์น) Camel Case : UpperCamelCase์ lowerCamelCase๋ก ๊ตฌ๋ถ. UpperCamelCase : Class, Structure, Enumeration, Extension, Protocol lowerCamelCase: Variable, Constant, Function, Property,
$ 0.000
2
gunw
swift4
2019-01-25 01:55
[Grammer] 06 - Scope
Scope (๋ฒ์) : (์ ์ญ ๋ฒ์ / ์ง์ญ ๋ฒ์) ๋ก ๊ตฌ๋ถ. ์ ์ญ ๋ฒ์ ๋์ผํ ๋ฒ์์ ์๋ ๋ณ์์ ์์์ ์ ๊ทผํ ์ ์๋ค. ๋์ผํ ๋ฒ์ ์์์๋ ์ด์ ์ ์ ์ธ๋์ด์๋ ๋ณ์์ ์์์๋ง ์ ๊ทผํ ์ ์๋ค. ์ง์ญ ๋ฒ์ ์ง์ญ ๋ฒ์์์๋ ์์ ์ ์์์์ ์ ์ธ๋ ๋ณ์์ ์์์ ์ ๊ทผํ ์ ์๋ค. class ์์๋ถ๋ถ ๋ฐ๋ก ์๋์๋ ์ ์ธ ๊ตฌ์ญ์ด๋ผ ๋ณ์, ์์์ ์ ๊ทผํ ์ ์๋ค.
$ 0.000
1
1
gunw
swift4
2019-01-25 01:44
[Grammer] 05 - Variables and Constants
Variables(๋ณ์) : Keyword, Identifier, Type, Initial Value ๋ฑ์ ์ด์ฉํจ. var variableName = initialValue var name = "James" var year = 2017 var swiftVersion = 4.0 var isMale = true Constants(์์) : ๊ฐ์
$ 0.000
0
lolitaanana001
Wednesday Walk
2026-06-04 04:33
Promoted
Wednesday Walk: A walk to search and visit my Endocrinologist
Hello @wednesdaywalk๐ It's another grateful midweek again๐ ๐..The chance to give thanks for every blessings of the day โ๏ธ๐ฑ Though today is another struggling day I'm still thankful I get to see the
$ 6.609
317
5
4
gunw
swift4
2019-01-25 01:30
[Grammer] 04 - First-class Citizen, Special Characters
First-class Citizen ์์์ ๋ณ์์ ์ ์ฅํ ์ ์๋ค. ํ๋ผ๋ฏธํฐ๋ก ์ ๋ฌํ ์ ์๋ค. ํจ์์์ ๋ฆฌํดํ ์ ์๋ค. Special Characters : ํ๋ก๊ทธ๋๋ฐ์ ์ฌ์ฉ๋๋ ํน์๋ฌธ์๋ค !, ~(Tilde), `(Grave Accent), @(At Symbol), #(Sharp), $(Dollar Sign) %(persent Sign), ^(Caret),
$ 0.000
0
gunw
swift4
2019-01-25 01:24
[Grammer] 03 - Compile, Link, Run
Compiler : Source Code ๋ฅผ ๋ถ์ํด Binary Code ๋ก ๋ณํ. ๊ทธ ๋์์ Compile์ด๋ผ ํจ Link : Framwork ์ Libarary ๋ฅผ ์ฐ๊ฒฐํ๋ ๊ณผ์ . Build : Compile + Link Run : Compile๋ ํ์ผ์ ์คํํ๋ ๊ณผ์ .
$ 0.000
1
gunw
swift4
2019-01-25 01:17
[Grammer] 02 - Literal, Identifier, Keyword
Literals: ์๋ฏธ๊ฐ ๋ณํ์ง ์๊ณ ์๋ ๊ทธ๋๋ก ์ฌ์ฉํ๋ ๊ฐ. (ex. ์ซ์(1,2,3...)) integer, Floating-point, String, Boolean, nil Literals ๋ฑ ๋ค์ํ ๋ฆฌํฐ๋ด์ด ์์. Identifiers(์๋ณ์): ๊ตฌ๋ถ์ ์ํ ์ด๋ฆ. ์๋์์ x๊ฐ identifier. let x = 4 Keywords(์์ฝ์ด): ํ๋ก๊ทธ๋๋ฐ
$ 0.000
1
gunw
swift4
2019-01-25 01:12
[Grammer] 01. Token, Expression, Statement
Token : Identifier, Kewords, Punctuations, Operators, Literals ์ฐ์ฐ์ ๋ฑ์ด ์์. ๊ฐ๋จํ ๋ ์ด์ ์ชผ๊ฐค ์ ์๋ ์์ ๋ผ๊ณ ํ ์ ์์. Expression (ํํ์) : ์ฐ์ ํํ์, ๋ ผ๋ฆฌ ํํ์ ๋ฑ์ด ์์. Statement(๋ฌธ์ฅ) : ';' ์ธ๋ฏธ์ฝ๋ก ์ด ํ์์์.
$ 0.000
0
wiseagent
CineTV
2026-06-01 00:33
Promoted
Nobody saw it coming.
This publication was also writen in SPANISH and PORTUGUESE. Black&CO The way movies are made is changing. Specifically in recent years, Hollywood has been trying (at all costs) to understand what the
$ 4.137
618
2
1
gunw
ios
2019-01-24 06:29
04.Todo (date / navi)
๊ธฐ๋ณธ ์คํ ๋ฆฌ๋ณด๋ ๊ตฌ์ฑ ๋ชจ๋ธํ์ผ ์์ฑ dateFormatter๋ฅผ ์ด์ฉํ ๋ ์ง ๊ณ์ฐ segue๋ฅผ ์ด์ฉํ ํ๋ฉด ์ ํ ์ ์ฌ์ฌ์ฉ ๋ฉ์๋
$ 0.000
0
gunw
ios
2019-01-24 03:08
03.facebook view
ํ์ด์ค๋ถ์ฒ๋ผ ํ ์ด๋ธ๋ทฐ๋ฅผ ์คํ ๋ฆฌ๋ณด๋์์ด ์์ฑํ๋ ํ๋ก์ ํธ ํน์ด์ ์ ๊ฐ ๊ฐ์ ๋ชจ๋ Key.swift์ ๊ฐ์ด ํ์ผ์ ์์ฑํ์ฌ ๋ค ๋ฐ๋ก ๋ง๋ค์ด์ฃผ๋์ . AppDelegate.swift์์ ๋ฃจํธ๋ทฐ์ปจํธ๋กค๋ฌ๋ฅผ ์ค์ ํด์ฃผ๋ ํ๋ฉด ์ ์ผ ์ค์ํ ์ ์์ฑ ๋ฉ์๋ ๋๋จธ์ง ๋ฐ์ดํฐ์์ค์ ๋๋ฆฌ๊ฒ์ดํธ๋ ์ผ๋ฐ์ ์ธ ํ ์ด๋ธ๋ทฐ ์์ฑ๊ณผ ๋น์ทํ๋ค.
$ 0.000
0
gunw
ios
2019-01-24 02:07
02. StopWatch
ํน์ด์ ์ ๋ทฐ์ปจํธ๋กค๋ฌ์์, ๋ทฐ์์ ๋ ์ด๋ธ์ ๋์๊ณ , ์๋์ชฝ์ ํ ์ด๋ธ๋ทฐ๋ฅผ ๋ฃ์๋ค. StopWatch.swift ๋ฅผ ์์ฑํ์ฌ NSObject๋ฅผ ๋ฐ๋ ํด๋์ค๋ฅผ ์์ฑ ๋ฒํผ ๋ชจ์์ ๋๊ทธ๋ผ๋ฏธ๋ก ๋ฐ๊ฟ์ค๋ค.(viewDidLoad์ ์์ฑ, ๋ชจ์์ 1:1 aspect๋ก ๋ฐ๊พธ์ด์ผ ์์ด๋จ.) ์ดํ ๋๋ฆฌ๊ฒ์ดํธ ๋ฉ์๋๋ ๊ตฌํํ๋ค. changeButton ๋ฉ์๋๋ฅผ ๊ตฌํํ์ฌ ๋ฒํผ ๋์์
$ 0.000
1
gunw
swift4
2019-01-23 06:16
Project.01 TabBar / TableView / ScrollView
ํญ๋ฐ ์ปจํธ๋กค์ ์ํด ๊ฐ๋จํ๊ฒ ๋ทฐ์ปจํธ๋กค๋ฌ 2๊ฐ์ ์๋ฒ ๋ฉ์ ์ํจ๋ค. ์ดํ Product.swift ํ์ผ์ ์์ฑํ์ฌ ์๋์ ๊ฐ์ด ์์ฑํ๋ค. ProductsTableViewController ํ ์ด๋ธ๋ทฐ์ปจํธ๋กค๋ฌ๋ฅผ ์์ฑํ ํ Product ๋ฐฐ์ด์ ํ๋กํผํฐ๋ก ์์ฑํ๋ค. ๋ฐฐ์ด์ ๊ฐ ์ ์ ๋ค์ด๊ฐ ๋ด์ฉ์ ์์ฑ ํ prepare๋ฉ์๋๋ฅผ ๋ถ๋ฌ์์ ์ธ๊ทธ๋ก ๋ค์ ํ๋ฉด์ผ๋ก ์ฐ๊ฒฐํ๋ค. ๊ฐ
$ 0.000
1