Here are a few quick notes about how to play video from a URL in iOS7. We will discuss using MPMoviePlayerController for embedded video and MPMoviePlayerViewController for standalone full screen playback. These two classes have very similar names. So, please be careful about that.
Showing an image downloaded from a URL and into a UIImageView can be tricky for a retina display.
In SQL, we do SELECT COUNT(*) to count rows that match a query criteria. In Couchebase, we use the _count reduce. In this article, I will explain two most common use cases for counting documents.
The atomic counter feature of Couchbase has been discussed extensively. But, a few crucial issues seem to have been glossed over. Most tutorials, such as this, as well as the official document, go as follows:
- Step 1 – Initialize the counter.
- Step 2 – Increment the counter.
There are a few crucial issues left out in this discussion. You are likely to encounter these issues on day one if you try to use atomic counter in a real application. I hope this post will answer those questions for you.