Using authentication headers with a NSURLMutableRequest in IOS

When you have your app running on your IOS device open a connection to a server, sometimes you will want to have the connection be a secure connection using HTTPS. This blog entry discusses how to setup your NSURLSession and NSURLMutableRequest object to setup the fields in the HTTP headers to open a secure HTTPS…

Advertisements

Smalltalk about Objective-C

This is a good review of Objective-C from a windows coder’s point of view. Originally posted on codemouse: Ok not so much a small talk, but more a ramble with an objective. (wow, geek humor is really bad). I’ve had the fortunate ability to spend the past 2 weeks or so getting ramped up on…

Using SQLite in your IOS applications part III

In this article we introduce a new feature into the example application that was built in the last article  “Using SQLite in your IOS applications part II” that will allow us to explore different data types found in SQLite.  A photo of the contact will be added to the database. modify storyboards the first step is…

Using SQLite in your IOS application part II

In my previous article Using “SQLite in your IOS application Part I” introduced a new sample application that utilized an IOS static library containing the latest SQLite amalgamation source code.  In the sample application, a pair of classes were created for wrapping the basic SQLite functionality into Objective-C.  These classes were used to create and open…

Using Sqlite3 in your IOS application part 1

This blog entry covers how to incorporate a SQL database into your IOS application using Sqlite.  In my previous blog entry “Building SQLite into your IOS applications”, we built a static library from the latest SQLite Amalgamation source code.  Now we will build a test application to test the library. xcode project setup For this…

Fibonacci numbers

Recently while interviewing for new work, I keep getting asked the same interview question coding sample. That is, write a function to do the Fibonacci number sequence. The last time I was asked to write a function to calculate the sequence.  This was a pleasant experience compared to writing it on a whiteboard.  So here…