Constrained generic `T` behaves like `Self` - so what is currently `self` in my generic initializer here?
|
|
4
|
269
|
January 29, 2023
|
Terminology request: instances of structs vs instances of enums
|
|
7
|
242
|
January 19, 2023
|
Why does Apple recommend to use structs by default?
|
|
30
|
1796
|
December 25, 2022
|
I can't recreate my class using protocols - extension stored properties
|
|
5
|
512
|
November 27, 2022
|
How to: class private variable only accessible by categories located in different files
|
|
9
|
860
|
October 21, 2022
|
Potential bug with subclass / init
|
|
4
|
715
|
February 3, 2022
|
How does work on Swift? about class func return Self
|
|
0
|
272
|
November 26, 2021
|
Difficulty trying to use a struct to replace a cluster of stored properties in a class
|
|
1
|
343
|
October 14, 2021
|
On the guidance for using a struct versus a class and performance
|
|
6
|
1104
|
June 27, 2021
|
Let a user create instances of a class
|
|
1
|
293
|
June 22, 2021
|
Is this the right way subclasses should handle a base class conforming to a protocol initializer?
|
|
8
|
506
|
September 4, 2020
|
Overrides in extension (same module)
|
|
2
|
649
|
July 18, 2020
|
Extending a class-bound type to conform to a protocol extended with `mutating` functions
|
|
14
|
1745
|
February 14, 2020
|
Why can't I use a short form for the parameter's type?
|
|
2
|
441
|
November 1, 2019
|
A (bad) idea on wrapping a collection class
|
|
0
|
393
|
April 29, 2019
|
Synthesized initialiser for classes, just like structs
|
|
3
|
2412
|
November 20, 2018
|
Swift ReferenceConvertible and _ObjectiveCBridgeable
|
|
4
|
1628
|
October 7, 2018
|
How to make a custom class for Multipeer Connectivity
|
|
0
|
463
|
September 27, 2018
|
Nested classes
|
|
11
|
1281
|
September 4, 2018
|