While developing an app that requires an internet connection, it is very important to handle use-cases when the connection is slow or non-existent. To figure out when there’s a bad connection via your code, you can use this great Reachability library.
Once Reachability is implement it, it’s pretty easy to test it by simulating a bad connection on your iPhone or iPhone Simulator if you know what tools to use. Here is how you can test a your app on different internet connections using your iPhone and iPhone Simulator:
SQLite is a C library that implements an SQL database engine. It is a Relational Database Management System (or RDBMS). Most of the SQL databases work with the client/server model. Take MySQL for an example. To enter and receive data from a MySQL database you need to send a request to the MySQL server, which on reception will provide you with the appropriate response. Contrary to MySQL, SQLite databases are operated directly from the disk. There is no need to create requests to the server.
Combine pdf file into one
/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py” -o “/Users/user name/Desktop/Merged PDF.pdf” “/Users/user name/Desktop/My folder/PDF 1.pdf” “/Users/user name/Desktop/My folder/PDF 2.pdf
Mobile application development protocol is a set of rules and procedure that we need to follow before starting the mobile application project, during the project execution and after the project delivery. We are introducing this protocol for following reasons,
- To make our work efficient and fast by following standard programming practice.
- Easy to collaborate with multiple team member.
- Increase readability of code.
- Ensure security / privacy in mobile application
- Gathering crash report information to resolve bugs in the application before and after production.
- Collecting user behaviour within the app that will help for future enhancement planning.
Go to get the name of an object property, can be boring using the Objective-C runtime reference.
Fortunately there is a quick way to get it. Assume that you have an object named “appleStore” that has a property named “storeLocation”.
StoreLocation is another object with some properties: “city”, “lat”, “lon”, “street”, “state”, “code”.
There are plenty of time when we need to have active internet connection for an mobile application to be used. So it is always good idea to check internet connection before the application get ready for use.
AFNetworking is one of the best iOS library out there for making HTTP request for accessing web services. Same library is good enough for checking active internet connection. So now let’s dive into how we can constantly monitor the internet connection throughout the application.
For starters, some of you may be wondering why you should use two builds while developing your app. The reason is because as you continue to build new features, you want to separate the development version from the existing public production app. Standard software development practice is to use different environments for the different versions of the software. The development version of an app typically uses a different database and server from the production environment. Developers commonly use dummy images or data during testing. In testing or development environments, it’s not uncommon for one to use test data such as “test comment”, “argharghargh” and “one more test comment”. Obviously, you don’t want your real users to see this kind of messages. In the case, if your app using an analytics system, you may even send thousands of events during the testing stage. Again, you don’t want to mix the test data with the production data in the same database. This is why it’s always recommended to separate the development and production builds.
Due to Genymotion’s fluidness and ease of use, it now becomes the most popular android emulator allows android developers to test their app directly on their computer.
However, it still lacks of Google Services just like Google Play Store, Google Maps, etc. on Genymotion emulator which makes us developer not be able to test those functionalities that use Google Services for example GCM Push Notifications or Google Maps.
Anyway it is not a problem anymore since there is some simple steps to do to make Google Services be avaiable on Genymotion with some help from CyanogenMod’s gapps.
There are a number of various Android Emulators available in the technology world, all studded with amazingly useful features. Apart from all these Emulators, there are three most popular Emulators and to get you the best one from all these popular Emulators, we have thought of comparing the features of all of them so that we can choose the best Android Emulator out of them. Here’s the comparison, take a look!