iOS & OS X Develo...
Follow
Find
70.2K views | +63 today
iOS & OS X Development
cool tips and source code for Cocoa, Objective-C and Swift
Curated by Alessio Nonni
Your new post is loading...
Your new post is loading...
Scoop.it!

Associated Objects

Associated Objects | iOS & OS X Development | Scoop.it

Objective-C developers are conditioned to be wary of whatever follows this ominous incantation. And for good reason: messing with the Objective-C runtime changes the very fabric of reality for all of the code that runs on it.


In the right hands, the functions of <objc/runtime.h> have the potential to add powerful new behavior to an application or framework, in ways that would otherwise not be possible. In the wrong hands, it drains the proverbial sanity meter of the code, and everything it may interact with (with terrifying side-effects).


Therefore, it is with great trepidation that we consider this Faustian bargain, and look at one of the subjects most-often requested by NSHipster readers: associated objects.

more...
No comment yet.
Scoop.it!

APSmartStorage

APSmartStorage | iOS & OS X Development | Scoop.it

APSmartStorage helps to get data from network and automatically caches data on disk or in memory in a smart configurable way.


Features:

  • Load cached object from memory by URL
  • Load cached object from file by URL
  • Load object from network by URL
  • Store loaded object to file
  • Store loaded object to memory
  • Parse loaded data from network (for instance, NSData to UIImage)
  • Automatically purge memory cache on memory warning
  • Set max object count to keep in memory to prevent memory overflow
  • Set custom NSURLSessionConfiguration
more...
No comment yet.
Scoop.it!

iOS / Mac UI and Icon Design Inspirations Gallery

iOS / Mac UI and Icon Design Inspirations Gallery | iOS & OS X Development | Scoop.it

iOSpirations.com is a showcase gallery featuring the best iOS / mac OSX App and Icon designs to help you finding iOS / Mac app design inspiration.

more...
No comment yet.
Scoop.it!

Objective-C: Cheat Sheet - iOS-Blog

Objective-C: Cheat Sheet - iOS-Blog | iOS & OS X Development | Scoop.it

The ultimate Objective-C tutorial Cheat Sheet to help you with your iOS Development Journey.


This is not meant to be a beginner’s guide or a detailed discussion about Objective-C; it is meant to be a quick reference to common, high level topics.

more...
No comment yet.
Scoop.it!

GHContextMenu

GHContextMenu | iOS & OS X Development | Scoop.it

This is user friendly solution for showing context menu upon long press. It is inspired from the Pinterest iOS app.

more...
No comment yet.
Scoop.it!

JustType - The Better Keyboard for iOS

JustType - The Better Keyboard for iOS | iOS & OS X Development | Scoop.it

JustType is a keyboard extension using swipe gestures, highlighting and suggestions. It is built to be used in any iOS text editor and all text-intensive iOS apps. And it is really easy to use.

Alessio Nonni's insight:

More info: http://www.eglador.de/files/4e4f3394e0c39424ff87953dce60d031-23.php

more...
No comment yet.
Scoop.it!

MKTileOverlay, MKMapSnapshotter & MKDirections

MKTileOverlay, MKMapSnapshotter & MKDirections | iOS & OS X Development | Scoop.it

Unless you work with MKMapView on a regular basis, the last you may have heard about the current state of cartography on iOS may not have been under the cheeriest of circumstances. Even now, years after the ire of armchair usability experts has moved on to iOS 7's distinct "look and feel", the phrase "Apple Maps" still does not inspire confidence in the average developer.


Therefore, it may come as a surprise maps on iOS have gotten quite a bit better in the intervening releases. Quite good, in fact—especially with the new mapping APIs introduced in iOS 7. These new APIs not only expose the advanced presentational functionality seen in Maps, but provide workarounds for MapKit's limitations.


This week on NSHipster, we'll introduce MKTileOverlay, MKMapSnapshotter, andMKDirections: three new MapKit APIs introduced in iOS 7 that unlock a new world of possibilities.

more...
No comment yet.
Scoop.it!

Working with NSURLSession: AFNetworking 2.0

Working with NSURLSession: AFNetworking 2.0 | iOS & OS X Development | Scoop.it

Networking on iOS and OS X has become much simpler and more flexible thanks to the NSURLSession API. Does this mean that you should stop using AFNetworking for your networking needs? And what about AFNetworking 2.0, which was introduced a few months ago? In this final installment, I will tell you about AFNetworking 2.0 and how it compares to the NSURLSession API.

more...
No comment yet.
Scoop.it!

ACReuseQueue

A queue to keep and reusing objects.

A reuse queue is a way to quickly reuse objects when object allocation and initialization is time-consuming. This reuse queue is inspired after UITableView's for reusing cells, headers and footers.

more...
No comment yet.
Scoop.it!

NCICharts

NCICharts | iOS & OS X Development | Scoop.it
Linear charts and charts with range selectors for iOS
more...
No comment yet.
Scoop.it!

SFGaugeView

SFGaugeView | iOS & OS X Development | Scoop.it

A custom UIView with a gauge control (tachometer like control). Detects swipe gesture and sets the needle/level appropriately. You can customize colors, the maximum level, min/max images, etc.

more...
No comment yet.
Scoop.it!

M13ProgressSuite

M13ProgressSuite | iOS & OS X Development | Scoop.it

A set of classes used to display progress information to users on iOS.

 

Includes:

A interchangeable set of progress view of diffrent styles. All the progress views are based on the same superclass, allowing any of them to be switched with any other easily.
A progress bar for UINavigationBar that works like Apple's Messages app. It also has the added feature of having an indeterminate style.
A HUD overlay that works over any UIView. Uses the M13ProgressView class to allow easy customizablility of the progress view.
A progress view that is styled like terminal.
Complete documentation of each class.

more...
No comment yet.
Scoop.it!

MMAppSwitcher

MMAppSwitcher | iOS & OS X Development | Scoop.it

This simple class allows you to replace the default scaled down app interface in the iOS7 app switcher with your own customized card view.

more...
No comment yet.
Scoop.it!

CCHMapClusterController

CCHMapClusterController | iOS & OS X Development | Scoop.it

High-performance map clustering with MapKit for iOS and OS X. Integrate with 4 lines of code.

more...
No comment yet.
Scoop.it!

Plumber

Plumber | iOS & OS X Development | Scoop.it

Plumber is a tiny Objective-C library for creating curved connection lines between nodes (for flowcharts, for example). The constructed path connects the bounding boxes such that the distance between two sides is minimised  The curve calculation algorithm is a direct port of the function used in the Graffle Example of the vector drawing library Raphaël.

more...
No comment yet.
Scoop.it!

217+ Ultimate Mobile App Development Resources Guide - Joppar

217+ Ultimate Mobile App Development Resources Guide - Joppar | iOS & OS X Development | Scoop.it
Animated guide of 217+ mobile app development resources for iOS and Android app makers. Mobile app development marketing, blog, forums, video, and more.
more...
No comment yet.
Scoop.it!

ABFullScrollViewController

ABFullScrollViewController | iOS & OS X Development | Scoop.it

Custom ViewController to hide the toolbar when user makes scroll. Like Facebook, Safari, Twitter...

more...
No comment yet.
Scoop.it!

JavaScriptBridge

Write iOS apps in Javascript! JavaScriptBridge provides the way to write iOS apps with JavaScript. JavaScriptBridge bridges Cocoa touch to JavaScriptCore (JavaScriptCore.framework is introduced in iOS 7).

You get the power of dynamics of scripting language for your apps.

more...
No comment yet.
Scoop.it!

InstagramKit

InstagramKit | iOS & OS X Development | Scoop.it

A neat little blocks-based Objective C wrapper for the Instagram API.


It readily parses the JSON responses on a background thread and does the dirty work for you so you just have to deal with Instagram model objects. Harnesses the power of AFNetworking under the hood.

more...
No comment yet.
Scoop.it!

Bolts-iOS

Bolts-iOS | iOS & OS X Development | Scoop.it

Bolts is a collection of low-level libraries designed to make developing mobile apps easier.

Bolts was designed by Parse and Facebook for our own internal use, and we have decided to open source these libraries to make them available to others. Using these libraries does not require using any Parse services. Nor do they require having a Parse or Facebook developer account.

The first component in Bolts is "tasks", which make organization of complex asynchronous code more manageable. A task is kind of like a JavaScript Promise, but available for iOS and Android.

more...
No comment yet.
Scoop.it!

UIForLumberjack - display your CocoaLumberjack logs on iOS device

UIForLumberjack - display your CocoaLumberjack logs on iOS device | iOS & OS X Development | Scoop.it

CocoaLumberjack is probably the best logging system for iOS and OS X systems. With it's asynchronous logging, log levels and support for XcodeColors it's the ultimate solution for most projects.

UIForLumberjack is the iOS UI library to display CocoaLumberjack logs on iOS device.

more...
No comment yet.
Scoop.it!

iCloudDocumentSync

iCloudDocumentSync | iOS & OS X Development | Scoop.it

iCloud Document Sync makes it easy for developers to integrate the iCloud document storage APIs into iOS applications. This is how iCloud document-storage and management should've been out of the box from Apple. Integrate iCloud into iOS (OS X coming soon) Objective-C document projects with one-line code methods. Sync, upload, manage, and remove documents to and from iCloud with only a few lines of code (compared to the hundreds of lines and hours that it usually takes). Get iCloud up and running in your iOS app in only a few minutes.

more...
No comment yet.
Scoop.it!

Structuring Modern Objective-C

When learning a new skill, like a programming language, we often just mash together whatever works in order to get it running. Later, we'll return to these habits and re-evaluate, adopting best practices from the community and making better, more well-structured code. Lately, the Objective-C language has received a plethora of new features, but the community's best practices hasn't consistently stayed up to date. This goes beyond just "style" and into "structure". Lately, I've taken a critical look at my own coding practices to evaluate where I can do better, so I thought I'd share my findings with you. Welcome to modern Objective-C.
more...
No comment yet.
Scoop.it!

SimpleAuth

SimpleAuth | iOS & OS X Development | Scoop.it

SimpleAuth is designed to do the hard work of social account login on iOS. It has a small set of public APIs backed by a set of "providers" that implement the functionality needed to communicate with various social services.

 

SimpleAuth currently has the following providers:

 

Facebook (system)Twitter (system)InstagramTwitter (web)MeetupTumblr
more...
No comment yet.