iOS & OS X Develo...
Follow
Find
62.5K views | +86 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!

Touchpose

Touchpose | iOS & OS X Development | Scoop.it
Touchpose - Touchposé is a set of classes for iOS that renders screen touches when a device is connected to a mirrored display.
more...
No comment yet.
Scoop.it!

Scribbler

Scribbler | iOS & OS X Development | Scoop.it

Scribbler is a Cocoa framework for Last.fm by {13bold}. Drawing on inspiration from (the failure of) the LFScrobbler framework, Scribbler aims to solve many of the connectivity and stability issues exhibited by the old framework, while adding new features, like the ability to Love and Ban tracks.

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

How to use Custom UIButton Graphics for iPhone Applications

How to use Custom UIButton Graphics for iPhone Applications | iOS & OS X Development | Scoop.it

In this tutorial I’d like to show you a simple way to implement your own custom button graphics. I’ll be using the latest Xcode 4.2 release and building an application in iOS5. You do not need to understand Objective-C but it certainly doesn’t hurt the process. When building iPhone apps you’ll eventually have to deal with code so Objective-C should be something to embrace!

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

JTGestureBasedTableViewDemo for iOS - Cocoa Controls

JTGestureBasedTableViewDemo for iOS - Cocoa Controls | iOS & OS X Development | Scoop.it

Recreating the buttonless interaction pattern found in Clear for iPhone app.

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

User Interface Customization in iOS 5 | Ray Wenderlich

User Interface Customization in iOS 5 | Ray Wenderlich | iOS & OS X Development | Scoop.it
To be successful on the App Store, your app needs to stand out. The vanilla user-interface “look and feel” provided by Apple just doesn’t cut it any more in a crowded market.


Many of the most popular apps on the App Store present standard iOS UI elements in a non-standard fashion:
Twitter employs a custom UITabBar
Instagram uses both a custom UITabBar and a custom UINavigationBar
Epicurious for iPad customizes elements of the standard split-view interface


Prior to iOS 5, many developers had to take somewhat unconventional approaches to achieve these results. Although subclassing and overriding drawRect: was the recommended approach, many resorted to the dreaded “method swizzling”.
But with iOS 5, those dark days are over! iOS 5 has included many new APIs you can use to easily customize the appearance of various UIKit controls.


To illustrate some of these new APIs, in this tutorial we’re going to take a “plain vanilla” app about surfing trips and customize the UI to get a more “beach-themed” look-and-feel.

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

SNRHUDKit: 100% code-drawn, resolution independent HUD controls for AppKit

SNRHUDKit: 100% code-drawn, resolution independent HUD controls for AppKit | iOS & OS X Development | Scoop.it

SNRHUDKit is a framework that brings missing HUD controls and interface elements to AppKit.

 

All of the controls are fully compatible with OS X 10.6 and 10.7.

Each of the NSControl subclasses are completely independent (aside from a few categories) so you are free to pick and choose the controls you need instead of using the entire framework.

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

Fun with Objective-C

Cool and crazy things you can do with Objective-C and the Cocoa/Cocoa Touch frameworks.
more...
No comment yet.
Scoop.it!

StackKit

StackKit | iOS & OS X Development | Scoop.it

StackKit is a Cocoa framework used to interact with the Stack Exchange API (used by Stack Overflow, Super User, Server Fault, Stack Exchange, and related websites).

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

Cocoa Samurai: A Guide to Blocks & Grand Central Dispatch (and the Cocoa API's making use of them)

Cocoa Samurai: A Guide to Blocks & Grand Central Dispatch (and the Cocoa API's making use of them) | iOS & OS X Development | Scoop.it

Intro As you may or may not know I recently did a talk at the Des Moines Cocoaheads in which I reviewed Blocks and Grand Central Dispatch. I have tried to capture the content of that talk and a lot more here in this article.

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

NinevehGL

NinevehGL | iOS & OS X Development | Scoop.it
NinevehGL is a 3D engine made with pure Objective-C, working with OpenGL ES 2.0 Programmable Pipeline for iOS devices (iPad, iPhone and iPod).
more...
No comment yet.
Scoop.it!

Briefs

Briefs | iOS & OS X Development | Scoop.it

The Briefs toolkit was created for rapidly building & iterating app prototypes for the iPhone. These prototypes run directly on the phone, like actual apps, but require much less time and code to produce. Less code means faster cycles and cheaper development.

 

The purpose of Briefs is to create better apps that have a tested interaction design before they are built. Unlike traditional mockups, briefs are used just like an actual app not just seen. And because they use the same frameworks that regular apps are built upon, briefs can potentially take advantage of animation, device rotation and gestures. You can even design the experience around app interruption due to an incoming phone call. Thinking about these interactions will ensure a more thought out experience for your users.

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

GMGridView

GMGridView | iOS & OS X Development | Scoop.it

GMGridView - A performant Grid-View for iOS (iPhone/iPad) that allows sorting of views with gestures (the user can move the items with his finger to sort them) and pinching/rotating/panning gestures allow the user to play with the view and toggle

 

✔ Sources: https://github.com/gmoledina/GMGridView#readme


Via Vincent Demay
more...
No comment yet.
Scoop.it!

A very cool custom video camera with AVFoundation

A very cool custom video camera with AVFoundation | iOS & OS X Development | Scoop.it

AVFoundation is a very cool framework that allows you to collect multimedia data generated by different input sources (camera, microphone, etc.) and redirect them to any output destinations (screen, speakers, etc.).

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

Creating Custom Xcode 4 File Templates

Creating Custom Xcode 4 File Templates | iOS & OS X Development | Scoop.it

When Xcode 4 was released about a year ago it introduced an entirely new Project and File Template syntax. This was initially frustrating to me as the new syntax invalidated all of the custom templates I had written for Xcode 3. However, the new template format has proven to be more flexible and capable and represents an improvement over the old format. Now that Xcode 4.3 is officially available I thought it would be a good time to discuss creating custom file templates. In this post I’ll explain the file template layout, structure, and syntax and then finish up by creating some custom templates to simplify building Singleton objects and generating GHUnit test cases.

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

JTRevealSidebarDemo

JTRevealSidebarDemo | iOS & OS X Development | Scoop.it

A carefully implemented iOS objective-c library to mimic the sidebar layout of the new Facebook app and Path 2.0 app.

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

Pegasus for iOS - Cocoa Controls

Pegasus for iOS - Cocoa Controls | iOS & OS X Development | Scoop.it

A lightweight Objective-C framework for Cocoa Touch to create UIKit view hierarchies in XML.

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

JSONKit

JSONKit | iOS & OS X Development | Scoop.it

A Very High Performance Objective-C JSON Library

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

ECSlidingViewController

ECSlidingViewController | iOS & OS X Development | Scoop.it

ECSlidingViewController is a view controller container for iOS that presents its child view controllers in two layers. It provides functionality for sliding the top view to reveal the views underneath it. This functionality is inspired by the Path 2.0 and Facebook iPhone apps.

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

Cocoa Dev Central

Cocoa Dev Central | iOS & OS X Development | Scoop.it

Learn Cocoa: Featured tutorials from Cocoa Dev Central

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

YRKSpinningProgressIndicators

YRKSpinningProgressIndicators | iOS & OS X Development | Scoop.it

I recently noticed this question about different-colored spinning progress indicators on Stack Overflow, and finally got around to giving my answer. I’m not sure if the original question was answered satisfactorily by using a UIActivityIndicatorView, but I hope my code can be useful to someone.

 

I have implemented two different clones of the spinning NSProgressIndicator, which can be drawn at any size and in any color. One is a subclass of NSView, and can be used on OS X 10.4, and the other is a subclass of CALayer, and can be used in a CoreAnimation-based project on OS X 10.5, and presumably on an iPhone (though I haven’t actually tested that yet).

 

I put the code up on github (both the NSView-based version and the CoreAnimation-based one), under the BSD license. They each include the spinning progress indicator classes and an example app showing how they can be used. The code should be pretty straight-forward. One caveat is that they might not be super fast performance-wise, but should be good for most uses.

 

✔ Sources: https://github.com/kelan/yrk-spinning-progress-indicator-layer

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

Git branch management with Xcode - Blog - Use Your Loaf

Git branch management with Xcode - Blog - Use Your Loaf | iOS & OS X Development | Scoop.it
Xcode has supported Git for version control since version 4.0 but I generally prefer to perform my version control from the command-line. The only version control operation that I do sometimes perform with Xcode is visualising ...
more...
No comment yet.
Scoop.it!

Migrating your code to Objective-C ARC | MKBlog

Migrating your code to Objective-C ARC | MKBlog | iOS & OS X Development | Scoop.it
Recently, Apple introduced several new developer stuff including Xcode 4, ARC, LLVM Compiler 3.0 and iOS 5.
more...
No comment yet.
Scoop.it!

GPUImage to apply GPU-accelerated filters and other effects to images

GPUImage to apply GPU-accelerated filters and other effects to images | iOS & OS X Development | Scoop.it

The GPUImage framework is a BSD-licensed iOS library that lets you apply GPU-accelerated filters and other effects to images, live camera video, and movies. In comparison to Core Image (part of iOS 5.0), GPUImage allows you to write your own custom filters, supports deployment to iOS 4.0, and has a simpler interface. However, it currently lacks some of the more advanced features of Core Image, such as facial detection.

 

For massively parallel operations like processing images or live video frames, GPUs have some significant performance advantages over CPUs. On an iPhone 4, a simple image filter can be up to 24X faster to perform on the GPU than an equivalent CPU-based filter.

 

However, running custom filters on the GPU requires a lot of code to set up and maintain an OpenGL ES 2.0 rendering target for these filters. I created a sample project to do this:

 

http://www.sunsetlakesoftware.com/2010/10/22/gpu-accelerated-video-processing-mac-and-ios

 

and found that there was a lot of boilerplate code I had to write in its creation. Therefore, I put together this framework that encapsulates a lot of the common tasks you'll encounter when processing images and video and made it so that you don't need to care about the OpenGL ES 2.0 underpinnings.

 

✔ Sources: https://github.com/BradLarson/GPUImage

 


Via Vincent Demay
more...
Alessio Nonni's comment, June 21, 2013 12:17 PM
also: http://nshipster.com/gpuimage/