[SE-0204] Add last(where:)
and lastIndex(where:) Methods
• ୠཁաိፙबຑ
•
Slide 14
Slide 14 text
[SE-0204] Add last(where:)
and lastIndex(where:) Methods
• ။৽⃧ last & lastIndex
•
Slide 15
Slide 15 text
[SE-0204] Add last(where:)
and lastIndex(where:) Methods
• ᢜత။վ໊ !!!
• index(of:) -> firstIndex(of:)
• index(where:) -> firstIndex(where:)
• ။ఏڙ fixit, Swift 4.2 ။ᢜత deprecate, Swift 5 ፤ᎃ
•
Slide 16
Slide 16 text
[SE-0205] withUnsafePointer(to:_:) and
withUnsafeBytes(of:_:) for immutable
values
• withUnsafeBytes ݱࡏೳ༻ࡏ var ্
•
Slide 17
Slide 17 text
[SE-0205] withUnsafePointer(to:_:) and
withUnsafeBytes(of:_:) for immutable
values
• ೭ޙՄҎ༻ࡏ let ্
• Ұൠਓጯ֘༻ෆ౸ʁ
•
Slide 18
Slide 18 text
Evolution
• [SE-0206] Hashable Enhancements
• [SE-0207] Add a containsOnly algorithm to
Sequence
• [SE-0208] Package Manager System Library
Targets
• [SE-0209] Package Manager Swift Language
Version API Update
Slide 19
Slide 19 text
[SE-0206] Hashable
Enhancements
Slide 20
Slide 20 text
[SE-0206] Hashable
Enhancements
Slide 21
Slide 21 text
[SE-0206] Hashable
Enhancements
Slide 22
Slide 22 text
[SE-0206] Hashable
Enhancements
Slide 23
Slide 23 text
[SE-0207] Add a containsOnly
algorithm to Sequence
•
Slide 24
Slide 24 text
[SE-0207] Add a containsOnly
algorithm to Sequence
• ೭ޙ။৽⃧
• nums.allSatisfy{$0 == 9}