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!

CTAssetsPickerController

CTAssetsPickerController | iOS & macOS development | Scoop.it

CTAssetsPickerController is an iOS controller that allows picking multiple photos and videos from user's photo library.

 

The usage and look-and-feel just similar to UIImagePickerController.

It uses ARC and requires AssetsLibrary framework.

No comment yet.
Scoop.it!

Reveal App - Runtime inspection for iOS apps

Reveal App - Runtime inspection for iOS apps | iOS & macOS development | Scoop.it

Reveal brings the power of tools like Firebug and Web Inspector to iOS developers. See your application's view hierarchy at runtime with advanced 2D and 3D visualisations. Debug view layout and rendering problems in seconds.

No comment yet.
Scoop.it!

VCTransitionsLibrary

VCTransitionsLibrary | iOS & macOS development | Scoop.it

With iOS 7 you can easily create custom view controller transitions that can be used in a range of contexts (push, pop, modal …).

 

This project provides a library of custom animations which can be dropped directly into your project. It also has a number of 'interaction controllers' which can be used with any of the custom animations in order to make your transitions interactive.

No comment yet.
Scoop.it!

KFCocoaPodsPlugin

KFCocoaPodsPlugin | iOS & macOS development | Scoop.it

XcodePlugin for CocoaPods with pod commands/console output, user notifications & code completion.

No comment yet.
Scoop.it!

SONFrameAnimation

SONFrameAnimation | iOS & macOS development | Scoop.it

SONFrameAnimation is an iOS class that supports to display still frames of desired position in your custom animation.

 

It allows you to perform ‘animate as you pinch (or pan, scroll) effect’, and also can animate forward or backward from the specific position.

 

SONFrameAnimationGroup is a group of animations. By using this class, you can create more complex custom animations by grouping severalSONFrameAnimation objects. Features in SONFrameAnimation such as still frame, resume, and rewind animation can also be used with the group.

No comment yet.
Scoop.it!

UALogger

UALogger | iOS & macOS development | Scoop.it

UALogger is a simple and lightweight logging tool for iOS and Mac apps. It allows you to customize the log format, customize when to log to the console at runtime, and allows collection of the entire recent console log for your application. It includes the UALogger class and class methods, and a few handy macros.

No comment yet.
Scoop.it!

TWSReleaseNotesView

TWSReleaseNotesView | iOS & macOS development | Scoop.it

Among other crazy features, iOS 7 enables users to have automatic updates for their apps, wiping away the infamous App Store badge. This is really convenient both for users and developers, but it comes with a couple of downsides:

 

- users are not aware about the changes introduced in the latest update, unless they explicitly open the App Store page to check the release notes;


- developers who spend their time working on well-written release notes lose their chance to inform and communicate with their users.

 

TWSReleaseNotesView is a simple way to address those issues. It comes with a straightforward API which enables developers to show in-app release notes with a fully customizable popup view.

No comment yet.
Scoop.it!

CKShapeView

CKShapeView | iOS & macOS development | Scoop.it

CKShapeView is a UIView subclass that is backed by a CAShapeLayer.

In other words, it is a view that is capable of rendering an arbitrary CGPath.

It is completely configurable and animatable, so you can have custom drawn views without needing to subclass.

No comment yet.
Scoop.it!

Cocoa-Matic: UIColor macro with hex values

What if you just have a list of hex color codes? Wouldn't it be nice if you didn't have to convert each of the color components in the hex code to its corresponding RGB decimal value? Here's where a simple and very useful macro comes into play.

No comment yet.
Scoop.it!

MGBox2 - Simple, quick iOS tables, grids, and more

MGBox2 - Simple, quick iOS tables, grids, and more | iOS & macOS development | Scoop.it

Designed for rapid table and grid creation with minimal code, easy customisation, attractive default styling, using modern blocks based design patterns, and without need for fidgety tweaking or awkward design patterns.

Includes blocks based gesture recognisers, observers, control events, and custom events.

MGBox, MGScrollView, and MGButton can also be used as generic UIView wrappers to get the benefits of view padding, margins, and zIndex, amongst others.

No comment yet.
Scoop.it!

OCFWeb - Embedable web server

OCFWeb - Embedable web server | iOS & macOS development | Scoop.it

OCFWeb is a web application framework written in Objective-C. You can use OCFWeb to create web applications with just a few lines of code. Although OCFWeb is developed and used by Objective-Cloud.com it does not depend on Objective-Cloud.com. You can use OCFWeb on your own servers (although we prefer you to use Objective-Cloud.com for that :)) and/or in your own OS X/iOS apps. In fact OCFWeb was designed to be embedded in an existing application written in Objective-C. Sinatra, a web application framework/DSL written in Ruby, has inspired the development of OCFWeb.


Via Vincent Demay
Scoop.it!

MZFormSheetController

MZFormSheetController | iOS & macOS development | Scoop.it

MZFormSheetController provides an alternative to the native iOS UIModalPresentationFormSheet, adding support for iPhone and additional opportunities to setup controller size and feel form sheet.

No comment yet.
Scoop.it!

Customize NSLog for Easier Debugging

Customize NSLog for Easier Debugging | iOS & macOS development | Scoop.it

In this quick tip we are going to learn how to customize the output generated by NSLog in order to debug programs more efficiently. Read on!

No comment yet.
Scoop.it!

iOS7-Sampler

iOS7-Sampler | iOS & macOS development | Scoop.it

Code examples for the new functions of iOS 7.

 

Dynamic Behaviors: Dynamic Behaviours using UIDynamicAnimator, UIGravityBehavior, UICollisionBehavior, UIDynamicItemBehavior.

 

Speech Synthesis: speech from text using AVSpeechSynthesizer and AVSpeechUtterance.

 

Custom Transition: UIViewControllerAnimatedTransitioning, UIViewControllerTransitioningDelegate.

 

3D Map: 3D Map using MKMapCamera.

 

Smile Detection: Smile Detection using CIDetectorSmile and new properties of CIFeature such as "bounds".

 

Image Filters: New filters of CIFilter, CILinearToSRGBToneCurve, CIPhotoEffectChrome, CIPhotoEffectFade, CIPhotoEffectInstant, CIPhotoEffectMono, CIPhotoEffectNoir, CIPhotoEffectProcess, CIPhotoEffectTonal, CIPhotoEffectTransfer, CISRGBToneCurveToLinear, CIVignetteEffect.

 

Sprite Kit: A sample of Sprite Kit using SKView, SKScene, SKSpriteNode, SKAction.

 

Map Directions: Requesting and draw directions using MKDirections, MKDirectionsResponse and MKPolylineRenderer.

 

Motion Effects (Parallax): Parallax effect using UIMotionEffect.

 

Multipeer Connectivity: Creating a local network sharing connection over Wi-Fi or Bluetooth LE.

 

AirDrop/Flickr/Vimeo/ReadingList: New Activity Types: AirDrop, Post to Flickr / Vimeo, Add to ReadingList.

 

QR Code Generator: Generating QR Code with CIQRCodeGenerator.

 

Static Map Snapshots: Creating a snapshot with MKMapSnapshotOptions, MKMapSnapshotter.

No comment yet.
Scoop.it!

LDProgressView

LDProgressView | iOS & macOS development | Scoop.it

A flat or gradient progress view with a simple color setter and customizable options written in pure Core Graphics.

No comment yet.
Scoop.it!

NGAParallaxMotion

NGAParallaxMotion | iOS & macOS development | Scoop.it

A tiny category on UIView that allows you to set one property: "parallaxIntensity" to achieve a parallax effect with UIMotionEffect.

No comment yet.
Scoop.it!

KSImageNamed-Xcode

KSImageNamed-Xcode | iOS & macOS development | Scoop.it

Can't remember whether that image you just added to the project was called button-separator-left or button-left-separator? Now you don't have to, because this will autocomplete your imageNamed: calls like you'd expect. Just type in [NSImage imageNamed: or [UIImage imageNamed: and all the images in your project will conveniently appear in the autocomplete menu. You'll even get a handy preview of the image you're about to select.

No comment yet.
Scoop.it!

iOS Dev Tools

iOS Dev Tools | iOS & macOS development | Scoop.it

iOS Dev Tools a list showcasing the greatest iOS development tools, including websites, desktop and mobile apps, and back-end services.

No comment yet.
Scoop.it!

RNFrostedSidebar

RNFrostedSidebar | iOS & macOS development | Scoop.it

A Control Center-esque control with blurred background and toggle animations.

 

Add your own Control Center-esque UI to your app to work as navigation or even toggle different settings. Blend right into the new iOS 7 design with animated blurs, flat design, and custom animations.

No comment yet.
Scoop.it!

IGHTMLQuery

IGHTMLQuery | iOS & macOS development | Scoop.it

IGHTMLQuery is a lightweight XML/HTML parser for iOS, built on top of libxml. It is inspired by jQuery and nokogiri.

No comment yet.
Scoop.it!

MTStatusBarOverlay

MTStatusBarOverlay | iOS & macOS development | Scoop.it

This class provides a custom iOS (iPhone + iPad) status bar overlay window known from Apps like Reeder, Google Mobile App or Evernote. It currently supports touch-handling, queuing of messages, delegation as well as three different animation modes.

No comment yet.
Scoop.it!

NSHashTable & NSMapTable

NSHashTable & NSMapTable | iOS & macOS development | Scoop.it

NSSet and NSDictionary, along with NSArray are the workhorse collection classes of Foundation. Unlike other standard libraries, implementation details are hidden from developers, allowing them to write simple code and trust that it will be (reasonably) performant.

 

However, even the best abstractions break down; their underlying assumptions overturned. In these cases, developers either venture further down the abstraction, or, if available use a more general-purpose solution.

No comment yet.
Scoop.it!

Announcing BarCodeKit

Announcing BarCodeKit | iOS & macOS development | Scoop.it
iOS7 will have the ability to scan 1D and 2D bar codes built-in. The same is true for generating 2D bar codes. Which begs the question why Apple opted to omit support for creating 1D bar codes.
No comment yet.
Scoop.it!

ParcelKit

ParcelKit | iOS & macOS development | Scoop.it

ParcelKit integrates Core Data with Dropbox using the Dropbox Datastore API.

No comment yet.
Scoop.it!

Today Xcode theme

Today Xcode theme | iOS & macOS development | Scoop.it

Today is a light, colorful Xcode theme inspired by other great themes like Tomorrow.

Requires the Adobe Source Code Pro font (more info here).

No comment yet.