iOS & macOS development
132.9K views | +0 today
iOS & macOS development
cool tips and source code for Cocoa, Swift and Objective-C
Curated by Alessio Nonni
Your new post is loading...
Your new post is loading...
Scoop.it!

Object Subscripting

Xcode 4.4 quietly introduced a syntactic revolution to Objective-C. Like all revolutions, however, its origins and agitators require some effort to trace: Xcode 4.4 shipped with Apple LLVM Compiler 4.0, which incorporated changes effective in the Clang front-end as of version 3.1.

Clang 3.1 added three features to Objective-C whose aesthetic & cosmetic impact is comparable to the changes brought about in Objective-C 2.0: NSNumber Literals, Collection Literals, and Object Subscripting.

No comment yet.
Scoop.it!

objc.io

objc.io | iOS & macOS development | Scoop.it

A periodical about best practices and advanced techniques in Objective-C.

objc.io was founded in Berlin by Chris Eidhof, Daniel Eggert, and Florian Kugler. We started objc.io to create a regular platform for in-depth technical topics relevant to all iOS and OS X developers.

No comment yet.
Scoop.it!

Subliminal

Subliminal | iOS & macOS development | Scoop.it

Subliminal is an framework for writing iOS integration tests. Subliminal provides a familiar OCUnit/SenTest-like interface to Apple's UIAutomation framework, with tests written entirely in Objective-C. Subliminal also provides a powerful mechanism for your tests to manipulate your application directly.

No comment yet.
Scoop.it!

Realmac Blog - Working with Date and Time

Realmac Blog - Working with Date and Time | iOS & macOS development | Scoop.it

It’s highly likely that somewhere in your app you may need to work with dates and times; whether that be parsing, displaying or performing calendrical calculations. There are some important considerations to make and most certainly a few gotchas to watch out for. This post aims to give an overview of some of the Cocoa classes available to you and some tips and tricks on working with dates and times.

No comment yet.
Scoop.it!

JNWAnimatableWindow

JNWAnimatableWindow is a NSWindow subclass that adds a layer property onto the window, allowing you to animate it as you wish.

No comment yet.
Scoop.it!

TSMiniWebBrowser - In-App web browser control for iOS apps

TSMiniWebBrowser - In-App web browser control for iOS apps | iOS & macOS development | Scoop.it

There are already some solutions to this problem out there but non of them offers this features. First, this solution solves the well-known UIWebView bug that causes erratic behavior when combining "zooming operations" and "landscape orientation". Moreover, the solution presented is highly customizable.

No comment yet.
Scoop.it!

Demystifying iOS Application Crash Logs

Demystifying iOS Application Crash Logs | iOS & macOS development | Scoop.it

Have you ever had the following experience as an app developer?

 

Before you submit your app, you perform a lot of testing to make sure your app runs flawlessly. It works fine on your device, but after the app is in the App Store, some users report crashes!

 

If you’re anything like me, you want your app to be A+. So you go back to your code to fix the crashes… but where do you look?

 

This is when iOS crash logs come in handy. In most cases, you’ll get very detailed and useful information about the cause of the crash, like feedback from a good teacher.

 

In this tutorial, you’ll learn about some common crash log scenarios, as well as how to acquire crash logs from development devices and iTunes Connect. You will learn about symbolication, and tracing back from log to code. You will also debug an application that can crash in certain situations.

 

OK, let’s get crashing!

Bertie Liu's curator insight, January 9, 2013 8:50 PM

“crash down to the end of the world”

Scoop.it!

JBCroppableView

JBCroppableView | iOS & macOS development | Scoop.it

JBCroppableView is a subclass of UIView built with UIKit and CoreGraphics that adds n points on an UIImageView allowing to modify them by drag & drop to trim the extra space of an image.

No comment yet.
Scoop.it!

DLIntrospection

DLIntrospection | iOS & macOS development | Scoop.it

Simple NSObject-category wrapper for <objc/runtime.h> for methods/ivars/protocols/etc. listing. Automatically (often) resolves return types and argument types.

No comment yet.
Scoop.it!

nil / Nil / NULL / NSNull

nil / Nil / NULL / NSNull | iOS & macOS development | Scoop.it
Understanding the concept of nothingness is as much a philosophical issue as it is a pragmatic one. We are inhabitants of a universe of _somethings_, yet reason in a logical universe of existential uncertainties.
No comment yet.
Scoop.it!

Reader Submissions - New Year's 2013

Reader Submissions - New Year's 2013 | iOS & macOS development | Scoop.it

In celebration of the forthcoming year++, I thought it’d be fun to compile a list of some of your favorite tips and tricks of the trade–to give y’all a chance to show off some of your NSHipster cred.

Thanks to Cédric Luthi, Jason Kozemczak, Jeff Kelley, Joel Parsons, Maximilian Tagher, Rob Mayoff, Vadim Shpakovski, & @alextud for answering the call withexcellent submissions.

Scoop.it!

KLNoteViewController : A control that organizes multiple navigation controllers in a stack inspired by Evernote 5.0 app

KLNoteViewController : A control that organizes multiple navigation controllers in a stack inspired by Evernote 5.0 app | iOS & macOS development | Scoop.it

Via Bertie Liu, Vincent Demay
Vincent Demay's curator insight, January 3, 2013 6:18 AM

A control that organizes multiple navigation controllers in a stack inspired by Evernote 5.0 app


✔Sources: https://github.com/KieranLafferty/KLNoteViewController

Scott Davis's curator insight, January 9, 2013 9:59 AM

An Evernote like control that stacks your ViewControllers into a neat deck of vertically stacked cards.

Trupti Nandani's curator insight, November 29, 2014 6:55 AM

Evernote

Scoop.it!

KLHorizontalSelect

KLHorizontalSelect | iOS & macOS development | Scoop.it

KLHorizontalSelect - A UI Control based on 8tracks home screen section select

No comment yet.
Scoop.it!

WWDC-Downloader

WWDC-Downloader | iOS & macOS development | Scoop.it

WWDC-Downloader - Script to download the sample code for all WWDC 2013 sessions. You need to be a registered Apple Developer to use it.

No comment yet.
Scoop.it!

Copy.com

Copy.com | iOS & macOS development | Scoop.it

Copy is a cloud for people, friends, and companies. Use it to keep your computers in sync and your files available from anywhere and from any device. Sign up and get 15 GB FREE.

No comment yet.
Scoop.it!

JSONModel - Magical Data Modelling Framework for JSON on iOS and OSX!

JSONModel - Magical Data Modelling Framework for JSON on iOS and OSX! | iOS & macOS development | Scoop.it

Magical Data Modelling Framework. Data models that take care of: Input Validation, Type Casting, Class Cascading & more. Automatically.

No comment yet.
Scoop.it!

SuperDB: The Super Debugger for iOS applications

SuperDB: The Super Debugger for iOS applications | iOS & macOS development | Scoop.it

The Super Debugger (superdb for short) is a dynamic, wireless debugger for iOS (and theoretically, Mac) apps. It works as two parts: a static library that runs built in to your app and a Mac app to send commands to the app, wirelessly. Your app starts up the debugger via this library, which broadcasts itself on your local network. The Mac app can discover these debug sessions via Bonjour and connect to them.

 

You can then send messages to your live objects as the app is running on the device (or Simulator). No need to set any break points. Any message you can send in code can also be sent this way. This allows you to rapidly test changes and see their results, without the need to recompile and deploy.

 

The debugger will even let you rapidly resend messages involving numeric values. When trying to tweak an interface measurement, for example, you can just click and drag on the value and see the changes reflected instantly on the device.

Alessio Nonni's insight:

Check video: http://www.youtube.com/watch?v=tvu77GHR1h0

No comment yet.
Scoop.it!

QuickDialog - ESCOZ Inc

QuickDialog - ESCOZ Inc | iOS & macOS development | Scoop.it

QuickDialog allows you to create HIG-compliant iOS forms for your apps without having to directly deal with UITableViews, delegates and data sources. Fast and efficient, you can create forms with multiple text fields, or with thousands of items with no sweat!

No comment yet.
Scoop.it!

JJAFAcceleratedDownloadRequestOperation

A delightful extension to the delightful AFNetworking to provide accelerated and resumable downloads.

Alessio Nonni's insight:

Check video: http://jsh.in/KfBi

No comment yet.
Scoop.it!

NYXImagesKit

NYXImagesKit | iOS & macOS development | Scoop.it

This is a project for iOS which regroups a collection of useful UIImage categories to handle operations such as filtering, blurring, enhancing, masking, reflecting, resizing, rotating, saving. There is also a subclass of UIImageView to load an image asynchronously from a URL and display it as it is downloaded.

No comment yet.
Scoop.it!

Injection for Xcode Source

Injection for Xcode Source | iOS & macOS development | Scoop.it

Injection is a plugin for Xcode that allows you to "inject" Objective-C code changes into a running application without having to restart it during development and testing. After making a couple of minor changes to your application's "main.m" and pre-compilation header it will connect to a server running inside Xcode during testing to receive commands to load bundles containing the code changes you make.

Bartosz Hernas's comment, May 9, 2013 9:53 AM
Hey, I made some small video which shows how to install and use this plugin :)
http://nomtek.com/developers/how-to-install-and-use-injection-plugin-for-xcode/
Scoop.it!

Parallel View on UITableViewController - Zhigang's Blog

Parallel View on UITableViewController - Zhigang's Blog | iOS & macOS development | Scoop.it

ParallelView is the easiest way to add a Parallax effect to a UITableView. It works perfectly with UITableViewControllerand is completely compatable with both UITableViewStyle.

 

Most importantly The head view will be a full featured UIView, it can handle touch event or even put a scrollView inside it as well.

No comment yet.
Scoop.it!

BlocksKit

BlocksKit | iOS & macOS development | Scoop.it
BlocksKit - The Objective-C block utilities you always wish you had.
No comment yet.
Scoop.it!

GC3DFlipTransitionStyleSegue demo

iBooks-style 3D flip transition animation rendered in OpenGL ES 2.0 and wrapped in a UIStoryboardSegue subclass. Download source: https://github.com/GlennChiu/GC3DFlipTransitionStyleSegue


Via Vincent Demay
Scoop.it!

KLExpandingSelect

KLExpandingSelect | iOS & macOS development | Scoop.it

KLExpandingSelect - A selection control based on Summly's sharing control

No comment yet.