Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Why though? Where does this actually get used?

The first 2 letters of the string make it obvious:

"CNLabelContactRelationYoungerCousinMothersSiblingsDaughterOrFathersSistersDaughter"

"CN"

These labels are often used in Chinese & similar relationship models. It comes from the dual consequence of tightknit multi-generation families & a dense symbol-derived language. In Chinese, you can derive the term for a given relative within 2 characters using this relationship model.



I think the CN here means that this is part of the Contacts framework, it’s standard Apple naming convention.


This is correct, the website even mentions it, though it's hidden on mobile and hard to notice if you're not familiar with Apple's docs.

At the top there's a black bar that shows hierarchy of where this object is coming from:

> Documentation / Contacts / Data Objects / CNLabeledValue / CNLabelContactRelationYoungerCousinMothersSibli(...)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: