Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /home/akosmatr/www/akosma.com/wp/wp-includes/plugin.php on line 600

Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /home/akosmatr/www/akosma.com/wp/wp-includes/plugin.php on line 600
Tech | akosma

Category Tech

Our Open Source Projects

A quick reminder of our most popular open source projects on Github: bluewoki Cortito CoreTextWrapper dotfiles eBook-Template iPhoneWebServicesClient nib2objc Senbei Teaching Editor Feel free to fork and enjoy!

Introducing the Teaching Editor

We are very happy to introduce our latest open source project: the Teaching Editor. This project provides an online editor that automatically reloads the contents of an iPhone-sized frame. It also provides students with a read-only mode, allowing them to follow in real time whatever code is written in the screen of the teacher, and […]

Getting the Next and the Previous NSIndexPath Instances

Very often, when you work with UITableViewControllers driven by NSFetchedResultsControllers, that you want to get the “previous” or the “next” elements in the results controller. Visually, this operation corresponds, from the point of view of the user, to select the cell that sits immediately above or below from the currently selected one. Of course, you […]

Determining Delegate Object Method Call Order in Objective-C with NSProxy

This is a guest post + code, wrote together with Joe D’Andrea from LiquidJoe LLC! Many developers new to the iOS platform have trouble understanding the delegate architecture, in the sense that many other OO toolkits use properties to configure the characteristics of UI elements, instead of having a separate object doing the job. When […]

A Proposed Architecture for Network-Bound iOS Apps

One of my most popular answers in StackOverflow is the one I gave to the following question: “What is the best architecture for an iOS application that makes many network requests?” The problem is the following: let’s consider a relatively complex application, which has to connect to, and retrieve and send data from different remote […]

Useful 3rd Party Extensions to CoreTextWrapper

Our CoreTextWrapper project in Github is certainly popular! Many developers have told us that they find it easier to approach Core Text using it, providing an easy learning path, showing the key concepts with an easy-to-use example. Some developers have gone the extra mile, though: we have kindly received two enhancements for the project! Jared […]

Smart Pointers in Objective-C++

One of the coolest features of C++ are templates, of which I’ve been drooling in the past. One of the most useful things that templates have brought to C++ are smart pointers, which simplify memory management tremendously; they combine the capacity of C++ to instantiate objects in the stack, the flexibility of heap allocation, and […]

How knowing C and C++ can help you write better iPhone apps, part 1

While learning how to write iOS applications, you will often encounter the phrase “learn C first”. Writers of Cocoa applications apparently benefit from knowing about C (sometimes even C++), but it is not very clear to many new developers how this actually works. The obvious question being “why should I learn C if actually I […]

Integrating iOS Applications with Backend REST Services

A couple of hours ago I finished my presentation at JAOO, a discussion of what I’ve learnt about integrating REST services in iOS apps while creating the iPhoneWebServicesClient project at Github. This project showcases different transport formats and libraries to consume web services from an iPhone application. It features a server application written in PHP, […]

Migrating iPhone 3.x apps to iPad and iOS 4.0

Right now, creating Universal Applications for the iPod touch, the iPhone and the iPad is not really a straightforward task. The current panorama of iOS-compatible software and hardware platforms is getting more and more complex, and this blog post is a small guide (by no means exhaustive) of tips and tricks that have helped me […]