iOS & macOS development
106.2K views | +16 today
Follow
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!

SFFocusViewLayout - UICollectionViewLayout with focused content

SFFocusViewLayout - UICollectionViewLayout with focused content | iOS & macOS development | Scoop.it

SFFocusViewLayout is a UICollectionViewLayout subclass for displaying focused content on UICollectionView which is the largest cell of all.

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

OpinionzAlertView - Beautiful customizable alert view with blocks

OpinionzAlertView - Beautiful customizable alert view with blocks | iOS & macOS development | Scoop.it

Choose from predefined icons for info, warning, success and error alerts. Customize color or set your desired image.

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

BEMCheckBox - Tasteful Checkbox for iOS

BEMCheckBox - Tasteful Checkbox for iOS | iOS & macOS development | Scoop.it

BEMCheckBox is an open source library making it easy to create beautiful, highly customizable, animated checkboxes for iOS.

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

Swift Error Handling and Objective-C Interop in Depth

For the impatient reader:


TL;DR


  • The ErrorType protocol has hidden requirements that are automatically fullfilled if you use an enum to implement the protocol
  • Objective-C methods can only be translated to Swift's error handling mechanism if they return Objective-C objects or boolean values
  • Swift will invoke the catch block if the Objective-C method returns nil/false, independent of whether an NSError was produced or not
  • If an Objective-C method produces an NSError and returns a value the catch blocks is not invoked and the error cannot be retrieved
more...
No comment yet.
Scoop.it!

PKRevealController

PKRevealController | iOS & macOS development | Scoop.it

PKRevealController (ex. ZUUIRevealController) is a delightful view controller container for iOS, enabling you to present multiple controllers on top of one another.

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

FastttCamera

FastttCamera | iOS & macOS development | Scoop.it

FastttCamera is a wrapper around AVFoundation that allows you to build your own powerful custom camera app without all the headaches of using AVFoundation directly.


FastttCamera now supports awesome photo filters!

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

Material Controls For iOS

Material Controls For iOS | iOS & macOS development | Scoop.it

In 2014, Google published the Google Material Design with a goal to provide guidelines for good design and beautiful UI across all device form factors.


For Android, developers can use default Android controls.


For iOS, FPT Software built those controls to bring Google material design to iOS application. This is the most complete material design controls for iOS so far.

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

Onboard - Beautiful and engaging onboarding experience with only a few lines of code

Onboard - Beautiful and engaging onboarding experience with only a few lines of code | iOS & macOS development | Scoop.it

Onboard provides developers with a quick and easy means to create a beautiful, engaging, and useful onboarding experience with only a few lines of code.

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

SlackTextViewController

SlackTextViewController | iOS & macOS development | Scoop.it

A drop-in UIViewController subclass with a growing text input view and other useful messaging features. Meant to be a replacement for UITableViewController & UICollectionViewController.

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

PullToMakeSoup

PullToMakeSoup | iOS & macOS development | Scoop.it

Custom animated pull-to-refresh that can be easily added to UIScrollView.


Check this article on our blog to know more details about animations implementation: http://yalantis.com/blog/how-we-built-customizable-pull-to-refresh-pull-to-cook-soup-animation/


Inspired by this project on dribble: https://dribbble.com/shots/2074667-Recipe-Finder-v-2

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

IQKeyboardManager - prevent issues of keyboard sliding up and cover UITextField/UITextView

IQKeyboardManager - prevent issues of keyboard sliding up and cover UITextField/UITextView | iOS & macOS development | Scoop.it

Often while developing an app, We ran into an issues where the iPhone keyboard slide up and cover the UITextField/UITextView. IQKeyboardManager allows you to prevent issues of the keyboard sliding up and cover UITextField/UITextView without needing you to enter any code and no additional setup required. To use IQKeyboardManager you simply need to add source files to your project.

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

DFImageManager - Advanced iOS framework for loading images

DFImageManager - Advanced iOS framework for loading images | iOS & macOS development | Scoop.it

Advanced iOS framework for loading, caching, processing, displaying and preheating images. It uses latest features in iOS SDK and doesn't reinvent existing technologies. It provides a powerful API that will extend the capabilities of your app.


The DFImageManager has a single responsibility of providing a great API for managing image requests, with an ability to easily plug-in everything else that your application might need. It also features multiple subspecs that integrate things like AFNetworking as a networking stack for fetching images, and FLAnimatedImage as a performant animated GIF engine.

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

Subclassing Those Hard-to-Reach Classes

How to use NSKeyedArchiver and NSKeyedUnarchiver to change the class of an existing object.

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

Shapes - Framework for drawing and animating shaped views on iOS

Shapes - Framework for drawing and animating shaped views on iOS | iOS & macOS development | Scoop.it

Shapes is a set of wrappers around CAShapeLayer and UIBezierPath, that allows drawing and animating geometrically shaped views on iOS.

Read more about it on the blog: http://mlsdev.com/blog/23

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

YYModel - High performance model framework for iOS

YYModel - High performance model framework for iOS | iOS & macOS development | Scoop.it

Features:

  • High performance: The conversion performance is close to handwriting code.
  • Automatic type conversion: The object types can be automatically converted.
  • Type Safe: All data types will be verified to ensure type-safe during the conversion process.
  • Non-intrusive: There is no need to make the model class inherit from other base class.
  • Lightwight: This frame contains only 5 files.
more...
No comment yet.
Scoop.it!

Chameleon - Flat Color Framework for iOS (Obj-C & Swift)

Chameleon - Flat Color Framework for iOS (Obj-C & Swift) | iOS & macOS development | Scoop.it

Chameleon is a lightweight, yet powerful, flat color framework for iOS (Objective-C & Swift).


It is built on the idea that software applications should function effortlessly while simultaneously maintaining their beautiful interfaces.

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

PINRemoteImage

PINRemoteImage | iOS & macOS development | Scoop.it

A thread safe, performant, feature rich image fetcher.

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

jot

jot | iOS & macOS development | Scoop.it

jot is an easy way to add touch-controlled drawings and text to images in your iOS app.

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

BAFluidView

BAFluidView | iOS & macOS development | Scoop.it

UIView that simulates a 2D view of a fluid in motion.

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

KYAnimatedPageControl

KYAnimatedPageControl | iOS & macOS development | Scoop.it

A custom UIPageControl with multiple animations.

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

DownloadButton - Customizable App Store style download button

DownloadButton - Customizable App Store style download button | iOS & macOS development | Scoop.it

Customizable App Store style download button.

Editable with IB.

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

GLCalendarView

GLCalendarView | iOS & macOS development | Scoop.it

A fully customizable calendar view acting as a date range picker.

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

JSQMessagesViewController - An elegant messages UI library for iOS

JSQMessagesViewController - An elegant messages UI library for iOS | iOS & macOS development | Scoop.it

Features:

  • Media messages
  • Easily extensible
  • Highly configurable
  • Customize avatars
  • Customize chat bubbles
  • Customize cell labels
  • Customize toolbar buttons
  • Arbitrary message sizes
  • Data detectors
  • All devices, any orientation
  • Localized in 14 languages
  • Group chat
  • Timestamp formatting
  • Copy & paste messages
  • UIDynamics for springy bubbles
  • Dynamic input text view resizing
  • Smooth animations
  • Sweet documentation
more...
No comment yet.
Scoop.it!

DominantColor

DominantColor | iOS & macOS development | Scoop.it

Finding the dominant colors of an image using the CIE LAB color space and the k-means clustering algorithm.

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

Documenting Your Objective-C and Swift Code in Xcode

Documenting Your Objective-C and Swift Code in Xcode | iOS & macOS development | Scoop.it

When talking about Xcode documentation, apparently I don't mean just to add a few lines of comments somewhere in the implementation files. It's definitely more than that.

more...
No comment yet.