r/iOSProgramming • • Nov 05 '22

Article [iOS interview ] Self vs self ? Have you faced this question anytime in your interview? Watch this video to learn in details with example.

0 Upvotes

5 comments sorted by

28

u/jpham_toronto Nov 05 '22

Self refers to type, self refers to instance

20

u/brahmah90 SwiftUI Nov 05 '22

This! why that big ass video.

1

u/[deleted] Nov 05 '22

lol the video basically says the same thing at the start. They show:

// self an object
// Self a type

16

u/antique_codes Objective-C / Swift Nov 05 '22

1

u/Zealousideal_Bat_490 Nov 06 '22

Different people learn in different ways. The video is good.