Where is your Simulator database stored on your Mac?
There are times when you want to have the same data across your simulator and devices.
Figuring out software, one rabbit hole at a time.
There are times when you want to have the same data across your simulator and devices.
You can auto increase the number with this build script.
I had an āerror connecting to databaseā when accessing one of my wordpress website hosted on Digital Ocean.
WWDC 2014 is over, and all the videos and PDF slides are now available for developers to download.
Parse default ACL is - everyone can read and everyone can write.
Using request module is the most popular way to get/post to a HTTP endpoint in Node.js.
UPDATE (Feb 2015): I have replaced these tools with Fastlane.
This guide is for building muliple targets/apps for a single project, follow-up of an old post in 2009.
Digital Ocean has a guide on installing node, and another guide on installing multiple node apps on 1 instance.
When I migrate my wordpress-es to VPS, Apache was the default setup.
After migrating from a shared webhost to a dedicated VPS, the next step is to migrate all my wordpress sites to that 1 VPS instance.
After many years of using a shared webhost, I finally decided to switch to VPS.
I always have a build error after pod install, because by default, CocoaPods will configure your pods to build for active architecture only (during debugging).
As much as possible, I use storyboard with autolayout, and create constraints from there.
When you use [array copy] or [array mutableCopy], you expect to get a complete new copy of the array/dictionary.
This is a follow-up post to the tutorial on using AFNetworking 1.0.
Alcatraz is a must have if you want to make your Xcode even more powerful.
Things changed in late 2013 with Apple latest āApp Resurrectionā feature.
It happened when I was working on an old project that use nib, and I converted it to use autolayout.
For every new version of an iOS app, a developer is given 100 promo codes which he can choose to give out freely.
This is very well answered in StackOverflow.
Why localize your app
I have everything setup correctly, but just somehow the localized string is not correctly showing on simulator/device. It is still showing the base string.
UPDATED on Oct 2015: With the new awesome Swift, do check out the new NSFetchedResultsController guide.
I spent some time to research on the correct/recommended way to save using MagicalRecord, and felt a need to write this post.
There are times when you want to have the same database in both a device and a simulator. For my case, I have a photo application which takes photo using the camera. That cannot...
Core Data remains a nightmare framework, with many lines of code to get started.
This is another common problem which all beginners will face. Drop in a UITextField (we will omit UITextView from now on, but itās the same), start editing, and you will soon ne...
This isnāt a big secret at all, yet many developers are not utilising the code snippet feature. Myself included.
UPDATE: Refer to this simple post on how to setup the constraints for the content view