Friday, June 7, 2013

Covariance: Not in ICollection



class Base {
    void Foo (ICollection<Base> col) {}
}
class Drvd : Base {
    void
}

var b = Base;
var d = Drvd;

HashSet<Drvd> hs;

b.Foo(hs); // cannot convert Drvd to Base

iOS26 거울 아이콘

오래 전에 iPhone을 기울이면(tilt) 아이콘이 살짝 움직이는 업데이트가 있었다. Motion toggle이라고 한다... (Reddit 포스트조차 5년 전이다) https://www.reddit.com/r/jailbreak/comments/gg...