Posts Tagged 'Programming'

Chameleon Project

So the big news of the iOS developer twitterverse today was — as chances are you know already, if you happened to be online at all — the unveiling of

Screen shot 2011-03-23 at 12.04.21 AM.png

If you’re an iOS developer, you’re already familiar with UIKit, the framework used to create apps for the iPhone, iPod and iPad. Chameleon is a drop in replacement for UIKit that runs on Mac OS X. In many cases, your iOS code doesn’t need to change at all in order to run on a Mac.

This new framework is a clean room implementation of the work done by Apple for iOS. The only thing Chameleon has in common with UIKit are the public class and method names. The code is based on Apple’s documentation and does not use any private APIs or other techniques disallowed by the Mac App Store…

We’ve noticed a pretty big upswing in people asking for Mac versions of their iPad projects since the Mac App Store was opened, so this will be most handy indeed, we suspect. Read the project site, and check out the code on github!


And there’s another option now — TwUI is the porting layer used by Twitter for Mac!

Continue Reading →

Core Data Grab Bag

There’s been a couple articles posted lately both promising to be first in a series that talk about simplifying Core Data access, always worth reading for some new ideas:

1) Super Happy Easy Fetching in Core Data

This post is the first in a short series of topics describing how to I’ve made using Core Data a little simpler without giving up the power features you still need. The full project from which this series is derived is available on github

2) Simplifying Core Data Part I

About half a year ago I asked the community about an idea to make Core Data more generic. I was looking for validation of my idea, which attempts to generalize the handling of Core Data among different threads. I received a few responses, but didn’t feel anyone fully digested what I was trying to do. Since that post, I’ve reworked my prototype into a framework, tested it, and made it easier to work with. I’m using the framework in two iPhone projects (and soon a third), and it has greatly simplified my life when it comes to Core Data…

“Simplified”, “Core” and “Data” certainly are three words that go well together, particularly in that order, don’t you think?


On The Usefulness of Core Data’s user info

Core Data and Threads, Without the Headache

Smarter and More Reusable Core Data

More bugs in NSFetchedResultsController

Saving JSON to Core DataHandling Incoming JSON Redux

Managing Information with CoreData

How To Use Custom Classes With Core Data Without Fear

Core Data Quick and Easy!

Transient Properties in Core Data

Transient Entities and Core Data

Core Data and the Undo Manager

Autosaving Core Data managed object context

Parent Watching Its Child

Five Lessons Learned from Migrating to iOS Core Data


Magical Record: how to make programming with Core Data pleasant

Let’s Be Friends. Core Data Relationships

Core Data, a couple of tips

Importing and Displaying Large Data Sets in Core Data

Core Data Queries Using Expressions

Temporary Storage In Apple’s CoreData

Using Core Data with iCloud

Seeding CoreData databases with ruby

Getting Started with Mogenerator

Full Featured Automatic Core Data Class Generator

Accessing An API Using Core Data’s NSIncrementalStore

Save Core Data Asynchronously

blindingskies/BSFetchedResultsController for post fetch filtering and sorting

Getting Started With Core Data In iOS 5 Using Xcode Storyboards

Core Data in iCloud + QuickLookiCloudCDTPlugin

Core Data Image Caching

Core Data on iOS 5 Tutorial: How To Preload and Import Existing Data

Creating a CoreData Model in Code

Unit Testing With Core Data

ObjectiveREST: A simple project to provide REST capabilities to CoreData applications

Using the AWS Persistence Framework for Core Data

NSIncrementalStore – The future of web services in iOS / Mac OS

Accessing an API using Core Data’s NSIncrementalStore

Under the Sheets with iCloud and Core Data: The Basics

Importing Data Made Easy + Handling Incoming JSON Redux

Tool: Slick Core Data Editor With Objective-C Code Generation

Core Data Migration Woes with Binary Data and External Storage == Data Loss

Debugging Core Data Objects

TICoreDataSync – synchronize via Dropbox, iDisk, WebDAV and more

Core Data Made Easy: Some Code + Practices for Beginners and Experts

Core Data on iOS 5 Tutorial: How To Work with Relations and Predicates

CoreData + AFNetworking = AFIncrementalStore

Lightweight Objective-C Active Record Implementation For Managing Core Data Objects

How To Store and Display Images in a Core Data iPhone App

Rack::CoreData – Automatically generate REST APIs for Core Data models

Multi-Context CoreData

Core Data Growing Pains – Nested context issues

BWObjectMapping – JSON to NSManagedObject

How To Synchronize Core Data with a Web Service – Part 1 and Part 2

iOS Quick Tip – Viewing Core Data’s Generated SQL

iOS 6 Tutorial Series: Syncing CoreData Across Devices Using iCloud

NSFetchRequest+Explain allows debugging NSFetchRequests and NSPredicates in visual way

Core Data Migration – Standard Migration Part 2: Migration Boogaloo

Optimizing Core Data searches and sorts

NSFetchedResultsController -sectionNameKeyPath Discussion

Under the Sheets with iCloud and Core Data: The Basics and Seeding iCloud and How it Works

App Scaffolding Kit That Automatically Allows You To Sync Your Core Data Apps Online

There is a Bug in the NSFetchedResultsControllerDelegate Documentation and UITableView And NSFetchedResultsController: Updates Done Right

Customizing Core Data Migrations

iOS Library For Automatically Creating CRUD Interfaces (Scaffolding) Using A Core Data Model

nothirst / TICoreDataSync: “Automatic synchronization for Core Data Apps, between any combination of Mac OS X and iOS: Mac to iPhone to iPad to iPod touch and back again.”

Library For Integrating Web Services Turning JSON Data Into Core Data Backed Native Objects

overcommitted/ParcelKit “integrates Core Data with Dropbox using the Dropbox Datastore API.”

Stop Writing Data Parsing Code in Your Apps issue 4: Core Data Overview, Core Data Application, Data Models and Model Objects, Importing Large Data Sets, Fetch Requests, Custom Migrations

Open Source Framework Extending Core Data With Peer-To-Peer Synchronization Options

Introducing Ensembles: Core Data sync the way it should be

Lightweight migration tip from Stack Overflow

A Guide to Core Data Concurrency

cynicalcocoa/cycoredata: “A coredata wrapper with simple rules that make multithreaded reading and writing much more pleasurable.”

Core Data Concurrency Debugging

Core Data Editor Is Now Open Source

Continue Reading →

iOS Media APIs

Excellent post from Matt Gallagher here for anyone working with media APIs:

A history of iOS media APIs (iPhone OS 2.0 to iOS 4.3)

After initially starting with a small set of fairly basic media APIs in iPhone OS 2.0, the APIs and the features they provide have dramatically increased in the past 2 years and provided a rapidly moving target for developers trying to remain current. In this post, I’ll try to summarize all of the different APIs in iOS 4.3 for playing media, when they arrived, what their purposes are, what their limitations are and what it’s been like to remain up-to-date and support new features…

Best succinct yet comprehensive writeup on the subject we’ve seen anywhere, give it a read!

Continue Reading →

Tip: Embossed Text

Here’s a simple method to get that embossed text effect all the cool kids like:

Achieving an Embossed Text Effect With Interface Builder

… Select the label and change the shadow to a white color. Then change the V. Offset setting to positive 1. This will position a white “shadow” one pixel below the text making it appear as though light is glaring off the lower edges of the text border and creating the illusion that the text is embedded into the background…

… The effect can similarly be produced with white or light-colored letters. To do this, instead of using a white shadow with a vertical offset of +1, you would use a black shadow with a vertical offset of -1…

Huh. Thought embossing was a little more complex than that, for some reason. But hey, if that looks good enough, there you go then!

Continue Reading →


If you’re so unfortunate as to have to deal with porting .NET code to the Mac, or if you actually like C# (???) this might be of interest to you:

MonoMac 1.0 is out

Almost a year ago we started building a set of Mono bindings for building native MacOS X applications.

Our original goals were modest: bind enough of AppKit that you could build native desktop applications for OSX using C# or your favorite .NET language. We leveraged a lot of the code that we built for MonoTouch our binding to the CocoaTouch APIs.

During the year, the project picked up steam, we got plenty of contributions to MonoMac and grew beyond the original conservative goals.

In a year we:

Indeed. That’s some enthusiasm there, certainly. Can’t muster up quite that level ourselves, but hey, it’s always nice to know what options are out there!

Continue Reading →


If you’ve got an app that involves images worth printing, you might want to check out the tap2print service:

Why Use Tap2print API?

Tap2print is the only service that provides you with a complete process of ordering print directly from your current and future application screens.

By using the Tap2print API, you can seamlessly allow your users to enjoy the benefits of a print order process, while creating a new revenue stream for current and future applications.

How much does it cost?

Integration with the Tap2print API for you as an application developer is free of charge. The cost for your users depends on the product and the delivery destination. We keep prices competitive and fair.

What kinds of items can be created with your photos using Tap2print?

Currently, we have three product types: Photo accordion, greeting cards and magnets. Additional products will be supported as part of the Tap2print roadmap.

Who earns money here?

Tap2print is based on a revenue sharing model between the application developer, the print service provider and Tap2print. We believe this method increases the motivation of both parties involved in the offering, ensuring a constantly improving product and a continuous high level of service.

That sounds kinda interesting, doesn’t it? If you’d like to see it in action, there’s an app using it here on the App Store, check it out!

Continue Reading →


So no doubt you remember that last ad hoc distribution post where we thought the Hockey framework looked pretty interesting? Well, if you were following @hockeyapp you noticed today

Introducing HockeyKit: a rewrite of Hockey, the iOS Ad-Hoc updater. New UI, more features & basic Android support

Definitely looks worth checking out if you like to run your own betas, code is on github; and if you don’t, apparently there is a hosted service planned with signup landing page here.

Continue Reading →

Tip: Device Console Logging

Did you know that you can access the system console log from an iOS app? We did not know that. Here’s the detailed explanation:

Accessing the iOS System Log

But briefly, the trick is that the Apple System Log facility is present on the device, as you’d probably expect, but you might not have expected that asl.h is in the official SDK if you go browsing about /usr/include … and the chances are pretty good you wouldn’t have expected that apps that use it would get approved by the review team. But as there are shipping apps that use it, apparently it’s totally legit. A logging facility would be pretty handy to build into our ad hoc builds, indeed!

Continue Reading →

Design Inspirations

So we’ve mentioned examples of bad design lately, but it would be more productive to have examples of good design to refer to, wouldn’t it? Conveniently enough, sites to help you with that seem to be springing up all over these days; starting from the collection in this post, here’s some good ones:


236 app screenshot examples in 32 categories as we write, from “Activity” to “Wooden Shelves”.

Mobile UI Patterns

Similar idea to pttrns, app screenshots collected into categories.


This one categorizes by app type, not task type, but likewise a collection of the pretty and shiny in app UI.

iOS Inspires Me

Contains icon, website, and miscellaneous resource sections as well as app UI examples


Breaks out iPhone and iPad app, game, website inspirations.

Design then Code

A collection of tutorials and resources that look pretty darn good, check out these recommendations for starters.

So those sites all look worth keeping track of. Moving on to specific articles on design, check out

7 Hot Trends in Mobile App Design

How To Create Great Looking iOS Apps Even If You Are A Design Noob

The 3 Ingredients of Successful iPhone Apps

How UX Can Drive Sales in Mobile Apps

And for a couple vaguely related to design things that are worth reading too:

Hits By Design

Taking the Advantage with App Store Screenshots

Sharpen Your Blink Test

Why Angry Birds is so successful and popular: a cognitive teardown of the user experience

As always, Dear Reader, if there’s anything you think should be added, let us know!

h/t: @globalmoxie, @Dylan_Beadle, @joe_carney, @chockenberry, @renderplace, and everyone else we forgot!


Couple more design showcases from this post: TapFancy™, Well-Placed Pixels

12 Eye-Catching iPhone App Websites: Plus Resources to Start your own

And more screenshots: LovelyUI – a collection of mobile UI elements

More design showcases:, Mac Apps That Rock

Top 18 iPhone App Design Inspiration For 2012 That Really Rocks

“Steal Good Stuff” – iOS Design Pattern Collections

IICNS – Pretty icons!

27 Must have iOS Design Resources to Bookmark

iOS Icon Gallery

The 20 hottest trends in app design for 2012

50 tips for designing brilliant iOS apps

How I Data Mined the top 300 paids apps to create Tehula’s icon

Showcase of 40 Insanely Detailed iOS Icon Designs

This Year’s iPhone Design Trend: Side navigation

35 Mobile and UI App Design Inspiration

UX Archive

Continue Reading →

App Checkin: Appboy

Well, this is intriguing; these guys decided to cross Foursquare with Game Center, kinda:

AppBoy Releases A Check-in SDK For iOS Apps

/// Now, straight from the “What Took So Long for Something Like This to be Released” department, mobile developer community site AppBoy has released an iOS app check-in SDK.

The SDK requires pretty simple integration. Once wired, users can check-in to apps in much the same manner they check-in to locations on Foursquare. Check-ins can be pushed out, of course, to Facebook and Twitter.

AppBoy included additional functionality that helps developers reward users in contests. Badges are available for most check-ins during a contest, for timing-based check-ins (for example, the 50th check-in past a certain hour), and for checks-ins closest to specified times…

Another article here explaining why you’d want to do this:

Appboy Takes on the Discovery Issue with App Checkins

At the very least, it seems to make more sense than the Facebook/Twitter bloviating code that people keep insisting we put into their apps, ignoring my confident prediction they’re wasting time and money, and then are shocked to find nobody uses.

Besides, how can you not want to apply to someone with a CTA button like this?

Screen shot 2011-03-11 at 10.41.13 PM.png

Heh. We’re not completely compelled, but we are rather intrigued. Any of you Dear Readers take a shot at deploying it, let us know how that works out for you!

Continue Reading →
Page 40 of 95 «...1020303839404142...»