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!

SFGaugeView

SFGaugeView | iOS & macOS 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.

No comment yet.
Scoop.it!

M13ProgressSuite

M13ProgressSuite | iOS & macOS 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.

No comment yet.
Scoop.it!

MMAppSwitcher

MMAppSwitcher | iOS & macOS 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.

No comment yet.
Scoop.it!

ClangFormat-Xcode

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

An Xcode plug-in to format your code using Clang's format tools, by @travisjeffery.

With clang-format you can use Clang to format your code to styles such as LLVM, Google, Chromium, Mozilla, WebKit, or your own configuration.

No comment yet.
Scoop.it!

@weakify(self): A more elegant solution to weakSelf in Objective-C

It may be unclear to new Objective-C developers that referencing self in a block actually creates a 'strong reference cycle to self'. Because of the mechanics of ARC, Objective-C will prevent self from properly being deallocated, thus keeping it around indefinitely. Entire object graphs (UIViewControllers etc.) linger in memory this way and create memory leaks which accumulate over time. Needless to say, you will want to avoid this scenario at all cost.

No comment yet.
Scoop.it!

Xcode Cheat Sheet

Xcode Cheat Sheet | iOS & macOS development | Scoop.it

Xcode is a central tool for many of us. We're spending countless hours with it - and should therefore make sure we're getting the most out of it.

No comment yet.
Scoop.it!

Reader Submissions - New Year's 2014

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

Great Objective-C tips.

 

Thanks to Arnaud Coomans, Cédric Luthi, David Grandinetti, Ell Neal, Eric Allam, Erik Kerber, Jim Kubicek, Joachim Bengtsson, Johannes Lund, Josh Avant, João Prado Maia, Justin R. Miller, Kamil Pyć, Matthew Teece, Maximilian Tagher, Nigel Timothy Barber, Nolan O'Brien, Pitiphong Phongpattranont, Steve Moser, Thomas Visser, Vadim Shpakovski, & @jurre.

No comment yet.
Scoop.it!

TWRProgressView

TWRProgressView | iOS & macOS development | Scoop.it

A custom view component that lets the user easily present a progress view masked with an image containing an alpha channel (i.e. PNGs). The view's progress can be animated; foreground and background colors can be customized as well as the duration of the animation.

No comment yet.
Scoop.it!

BNHtmlPdfKit

BNHtmlPdfKit | iOS & macOS development | Scoop.it

Easily turn HTML data from an HTML string or URL into a PDF file on iOS.

No comment yet.
Scoop.it!

Origami

Origami | iOS & macOS development | Scoop.it

Origami is a free toolkit for Quartz Composer that makes interactive design prototyping easy and doesn’t require programming.

 

Most designers today create static mockups to communicate app ideas. But increasingly apps are anything but static, which means as designers we need a better tool for interaction design—this is where Origami comes in.

No comment yet.
Scoop.it!

XToDo

XToDo | iOS & macOS development | Scoop.it

Xcode plugin to collect and list the "TODO", "FIXME", "???", "!!!!".

No comment yet.
Scoop.it!

AAShareBubbles

AAShareBubbles | iOS & macOS development | Scoop.it

Animated Social share buttons control.
Supported share buttons:
Facebook, Twitter, Google+, Tumblr, Vkontakte (vk.com), E-mail

No comment yet.
Scoop.it!

MessageBarManager

MessageBarManager | iOS & macOS development | Scoop.it

An iOS manager for presenting system-wide notifications via a dropdown message bar.

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.
No comment yet.
Scoop.it!

SimpleAuth

SimpleAuth | iOS & macOS 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
No comment yet.
Scoop.it!

UIImageView_FaceAwareFill

UIImageView_FaceAwareFill | iOS & macOS development | Scoop.it

This category applies Aspect Fill content mode to an image and if faces are detected it centers them instead of centering the image just by its geometrical center.

No comment yet.
Scoop.it!

Code Pilot - Now Open Source!

Code Pilot - Now Open Source! | iOS & macOS development | Scoop.it

Code Pilot is a plugin for Xcode 5 that allows you to quickly find files, methods and symbols within your project without the need for your mouse. It uses fuzzy query matching to compute a list of results sorted by their relevancy. With just a few keystrokes you can jump to the method you're looking for.

No comment yet.
Scoop.it!

Objective C Snippets | emoticode

Objective C Snippets | emoticode | iOS & macOS development | Scoop.it

All Objective C Snippets from EmotiCODE, a Objective C code snippet search engine but mostly a place where developers can find help for what they need and contribute with their own contents.

No comment yet.
Scoop.it!

Masonry

Masonry | iOS & macOS development | Scoop.it

Masonry is a light-weight layout framework which wraps AutoLayout with a nicer syntax. Masonry has its own layout DSL which provides a chainable way of describing your NSLayoutConstraints which results in layout code that is more concise and readable. Masonry supports iOS and Mac OSX.

No comment yet.
Scoop.it!

BOZPongRefreshControl

BOZPongRefreshControl | iOS & macOS development | Scoop.it

A pull-down-to-refresh control for iOS that plays pong, originally created for the MHacks III iOS app.

No comment yet.
Scoop.it!

IGScraperKit

IGScraperKit | iOS & macOS development | Scoop.it

Create dynamic web scraper in Objective-C, using block or JavaScript.

No comment yet.
Scoop.it!

EZAudio

EZAudio | iOS & macOS development | Scoop.it

An iOS and OSX audio visualization framework built upon Core Audio useful for anyone doing real-time, low-latency audio processing and visualizations.

No comment yet.
Scoop.it!

SDWebImage

SDWebImage | iOS & macOS development | Scoop.it

This library provides a category for UIImageVIew with support for remote images coming from the web.

 

- An UIImageView category adding web image and cache management to the Cocoa Touch framework

- An asynchronous image downloader
- An asynchronous memory + disk image caching with automatic cache expiration handling
- Animated GIF support
- WebP format support
- A background image decompression
- A guarantee that the same URL won't be downloaded several times
- A guarantee that bogus URLs won't be retried again and again
- A guarantee that main thread will never be blocked
- Performances!
- Use GCD and ARC

No comment yet.
Scoop.it!

RKTabView

RKTabView | iOS & macOS development | Scoop.it

RKTabView provides the opportunity to create toolbars with customizable behavior, functions and appearance.


Standard iOS components such as UITabBar or UIToolbar sometimes are not customizable as needed and always behave in a certain way. Unlike them, this component can be installed anywhere, anytime, but the most important thing - all elements appearance and behavior can differ.


Imagine, that part of bar should work as UITabBar (one is on - others are off), elements of second part should work as switchers (any element can be turned on or off independently), third part - ordinary buttons. All this can be done with RKTabView.

No comment yet.