One of the main features of HUDTube 1.5 is the ability to stream basically any type of movie to Apple TV. Unfortunately, Apple TV understands a very limited number of formats. In general, you could assume that if something plays in QuickTime Player (without any additional codecs installed, like Perian or Flip4Mac), it should also play on AppleTV. This basically leaves MPEG-2 and H.264 as the only supported formats. As a result, a lot of media created using codecs like DivX, XviD, etc. are not supported. The situation is a bit better with audio, because most movies use either MP3 or AAC. If you add to this mix many different containers (one of the most popular being AVI), you may have an Apple TV streaming problem with many types of media from outside of iTunes.
Frame is the king of layout. Everybody uses frames to position and resize their
CALayers. Throughout this post I’m going to focus my attention on
CALayer, as this is the underlying workhorse of
view.frame simply returns
view.layer.frame. Moreover, I will not discuss the
setFrame: setter. While the scope might seem very limited, it actually turns out there is a lot of fun stuff going on inside a plain, old
Creating stretchable image views with cap insets is a common problem. Many people don’t know that it can easily be achieved in Interface Builder without writing a single line of code.