Im trying to port this
and it has a line like this
SCNetworkReachabilityContext context = {0, (__bridge void *)self, NULL, NULL, NULL};
Is that code setting properties based on the layout of the structure ?
1st property is set to 0, 2nd to self and the rest to null ?
Cheers,
John
ck
(Carlo Kok)
2
Yep, it goes by the order of the fields.
1 Like