Blogs

Simple file caching & manipulation in iOS

This document is heavily influenced by Apple docs (Jump: Browse to the sample code on Github) For security purposes, an iOS app’s interactions with the file system are limited to the directories inside the app’s sandbox directory. During installation of a new app, the installer creates a number of container directories for the app inside the sandbox directory. Each container directory has a specific role. The bundle container directory holds the app’s bundle, whereas the data container directory holds data for both the app and the user.

Continue reading

Automatic view push for UITextField in iOS

Client: I can enter my first name, middle name and last name fine in iPhone 7, but in iPhone 5S the last name text field is covered by keyboad, why this is happening? One of the oldest and basic problem of using UITextField in iOS. If you are making a form or adding multiple UI components in one page for your iOS application, its pretty much normal that the bottom UITextFields could be covered by your keyboard.

Continue reading

BBLocationManager for iOS, simple yet powerfull

Location services is a powerful feature of iOS, but sometimes its not easy to understand all the API’s and learn how to use them. With BBLocationManager, you can start using iOS Location Services API in no time. It provides good code documentation for better understanding of the methods and delegates. If you are making a location aware app or building a geofencing app like the Alarm app in iOS which reminds you to buy milk when you are near home, BBLocationManager can be your choice.

Continue reading

Synchronus Code Execution in iOS

“Asynchronus programming” is a polular term now-a-days. People are talking all over the internet about it. Specially when we have network/API calls, we should keep free the main thread, and do the network calling stuff in the background. Cause if we block the main thread, it won’t be able to respond to user interaction such as touch. Async calls can be executed on new/seperate threads synchronously, or can be scheduled in the main/other thread’s runloop.

Continue reading

ShellMamu, Shell Utility Tool

ShellMamu is a small utility/helper tool for shell scripting language. It offers some utility commands which I used frequently in my work. The main purpose of shellMamu is to easily provide the needed parameters for a command. This document is a brief primer on using shellMamu. Please visit the github page for more details. Background I’ve been using small shell/unix commands for various purpose in Mac’s terminal for years.

Continue reading