iOS & OS X stuff
69.2K views | +1 today
iOS & OS X stuff
Useful tips, sources and tutorials
Your new post is loading...
Your new post is loading...
Scooped by Nikita Ivanchikov
May 4, 2013 5:32 PM
Scoop.it!

NSStringMask - apply masks or formats to NSStrings using NSRegularExpression

The NSStringMask enables you to apply masks or formats to NSStrings using NSRegularExpression to input your format.

 

https://github.com/fjcaetano/NSStringMask

No comment yet.
Scooped by Nikita Ivanchikov
May 1, 2013 3:58 AM
Scoop.it!

ChatHeads

ChatHeads | iOS & OS X stuff | Scoop.it

ChatHeads is a new feature in Facebook.app 6.0 where little bubbles appear in the iOS app when somebody sends you a message. It's a nice little feature and uses very cool animations.

 

This project is an attempt to re-implement this feature and to figure out how the animations are done. I don't support this project in a way to completely implement all features of ChatHeads. It should only illustrate how parts of ChatHeads are done.

 

https://github.com/brutella/chatheads

No comment yet.
Scooped by Nikita Ivanchikov
April 29, 2013 2:08 AM
Scoop.it!

MTZTiltReflectionSlider - tilt controlled slider

MTZTiltReflectionSlider - tilt controlled slider | iOS & OS X stuff | Scoop.it

MTZTiltReflectionSlider - UISlider subclass mimicking and improving the tilt controlled slider added to Music.app in iOS6. The knob changes it's lighting reflection based on the motion of the device.


https://github.com/mdznr/MTZTiltReflectionSlider

No comment yet.
Scooped by Nikita Ivanchikov
April 26, 2013 6:53 AM
Scoop.it!

JPSThumbnailAnnotation - simple mapkit annotation for displaying images and details

JPSThumbnailAnnotation - simple mapkit annotation for displaying images and details | iOS & OS X stuff | Scoop.it

JPSThumbnailAnnotation allows you to easily create thumbnail annotations using an image, and when the thumbnail is clicked the thumbnail expands into a full sized annotation.  Complete with nice smooth animations.

 

https://github.com/jpsim/JPSThumbnailAnnotation

No comment yet.
Scooped by Nikita Ivanchikov
April 24, 2013 2:11 AM
Scoop.it!

Core Graphics tutorials - Ray Wenderlich blog

Core Graphics tutorials - Ray Wenderlich blog | iOS & OS X stuff | Scoop.it

A set of tutorials on Core Graphics: 

 

1) Lines, Rectangles, and Gradients

http://www.raywenderlich.com/32283/core-graphics-tutorial-lines-rectangles-and-gradients

 

2) Shadows and Gloss

http://www.raywenderlich.com/32925/core-graphics-tutorial-shadows-and-gloss

 

3) Arcs and Paths

http://www.raywenderlich.com/33193/core-graphics-tutorial-arcs-and-paths

 

4) Glossy Buttons

http://www.raywenderlich.com/33330/core-graphics-tutorial-glossy-buttons

 

5) Patterns

http://www.raywenderlich.com/33496/core-graphics-tutorial-patterns

 

6) Curves and Layers

http://www.raywenderlich.com/34003/core-graphics-tutorial-curves-and-layers

No comment yet.
Scooped by Nikita Ivanchikov
April 23, 2013 3:02 AM
Scoop.it!

GestureLab - Fun with UIGestureRecognizers

GestureLab - Fun with UIGestureRecognizers | iOS & OS X stuff | Scoop.it

Tap-and drag in the "Gesture Here" area. Anything logged by the program, such as NSLogs from the gesture recognizers, gets put into a scrolling text field. The active gesture recognizers are on a timeline at the top.

 

When you're done tapping and dragging, you can replay the events by dragging around in the timeline, seeing the different parts of the getures being drawn, in a different color for each finger/drag combination.

 

 

https://github.com/markd2/GestureLab

No comment yet.
Scooped by Nikita Ivanchikov
April 19, 2013 11:38 AM
Scoop.it!

Capture a Signature on iOS

Capture a Signature on iOS | iOS & OS X stuff | Scoop.it

Here is an example of the final output using quadratic bézier curves, and velocity based stroke thickness creating a visually appealing and natural signature.

 

http://www.nearinfinity.com/blogs/jason_harwig/2012/11/06/capture-a-signature-on-ios.html

 

Scooped by Nikita Ivanchikov
April 16, 2013 9:52 AM
Scoop.it!

Exterminator - easily clean derived data from your project.

Sometimes Xcode needs a friendly helping hand with cleaning out the Derived Data for a project. The Exterminator makes this quick and easy.


https://github.com/kattrali/deriveddata-exterminator

No comment yet.
Scooped by Nikita Ivanchikov
April 13, 2013 12:28 PM
Scoop.it!

Cocoadocs

Cocoadocs | iOS & OS X stuff | Scoop.it

Cocoa library documentation for many open-source libraries

 

http://cocoadocs.org

No comment yet.
Scooped by Nikita Ivanchikov
April 12, 2013 4:15 AM
Scoop.it!

GCManager - manager class for Apple GameCenter that makes life easier

CGManager helps you manage the Game Center aspect of your game. It makes it easy to report and keep track of high scores and achievements for different players.

 

Features:

- Separate profile for each player

- Local profile if Game Center is unsupported or nobody is logged on to Game Center

- Scores and achievements saved if no internet connection available or error occurred while reporting to Game Center

- Synchronization of Game Center data on first run

- Encryption of data

- ARC support

 

https://github.com/symorium/GCManager

No comment yet.
Scooped by Nikita Ivanchikov
April 11, 2013 5:08 AM
Scoop.it!

Routable

Long ago, there was an iOS library known as Three20. Among Three20's many contributions was the TTNavigator, which allowed apps to be organized using URL-based routes. It was a pretty good idea, but got lost in the shuffle as Three20 fell by the wayside. Well, until now.

 

Routable is a set of libraries for both Android and iOS inspired by Three20's URL navigator.

 

Article:

http://usepropeller.com/blog/posts/routable

 

Sources:

https://github.com/usepropeller/routable-ios

No comment yet.
Scooped by Nikita Ivanchikov
April 10, 2013 6:03 AM
Scoop.it!

WSCoachMarksView

WSCoachMarksView | iOS & OS X stuff | Scoop.it

WSCoachMarksView is an iOS drop-in class that displays user coach marks with a rectangular cutout over an existing UI. This approach leverages your actual UI as part of the onboarding process for your user. Simply define an array of rectangles (CGRect) and their accompanying captions.


https://github.com/workshirt/WSCoachMarksView

No comment yet.
Scooped by Nikita Ivanchikov
April 10, 2013 5:59 AM
Scoop.it!

MMRecord

MMRecord | iOS & OS X stuff | Scoop.it

MMRecord is a block-based seamless web service integration library for iOS and Mac OS X. It leverages the Core Data model configuration to automatically create and populate a complete object graph from an API response. It works with any networking library, is simple to setup, and includes many popular features that make working with web services even easier.


https://github.com/mutualmobile/MMRecord

No comment yet.
Scooped by Nikita Ivanchikov
May 4, 2013 5:27 PM
Scoop.it!

Crafter - setup your Cocoa projects with ease - Krzysztof Zabłocki

How do you setup your Cocoa projects? Do you always set same warnings, clone configurations and do bunch of other stuff? Or maybe you work in a big company and you are missing some standardised setup?

 

Crafter is a ruby gem that you can install, setup your configuration once and enjoy hours of time saved.

 

http://www.merowing.info/2013/05/crafter-setup-your-cocoa-projects-with-ease

 

No comment yet.
Scooped by Nikita Ivanchikov
May 1, 2013 3:53 AM
Scoop.it!

Markdown NSAttributedString Parser

This is a Markdown => NSAttributedString parser built on top of a flex parser. It takes an NSString and returns an NSAttributedString with markdown tags replaced by CoreText formatting attributes.

 

https://github.com/jverkoey/NSAttributedStringMarkdownParser

No comment yet.
Scooped by Nikita Ivanchikov
April 26, 2013 1:31 PM
Scoop.it!

Compiler Warnings for Objective-C Developers – Ole Begemann

Compiler Warnings for Objective-C Developers – Ole Begemann | iOS & OS X stuff | Scoop.it

Compiler warnings are one of the most helpful tools for developers. The compiler can not only warn you about obvious mistakes (such as a method you forgot to implement); it also identifies many code patterns that, though syntactically correct, are potentially dangerous (like signed/unsigned conversion) or just plain wrong (such as mismatched format specifiers in a format string).

 

Both the Clang compiler frontend and Apple’s default Xcode project templates have a default set of warnings enabled, designed to warn you about many probable errors in your code but not annoy you with tons of false positives. These default settings tend to be rather conservative regarding the warnings they enable in order to play well with large legacy codebases. They are not the best choice for new projects, though. Instead, you should strive to switch on as many warnings as possible.

 

http://oleb.net/blog/2013/04/compiler-warnings-for-objective-c-developers

No comment yet.
Scooped by Nikita Ivanchikov
April 25, 2013 7:33 AM
Scoop.it!

TMCache - Fast parallel object cache for iOS and OS X

TMCache is a key/value store designed for persisting temporary objects that are expensive to reproduce, such as downloaded data or the results of slow processing. It is comprised of two self-similar stores, one in memory (TMMemoryCache) and one on disk (TMDiskCache), all backed by GCD and safe to access from multiple threads simultaneously.


On iOS, TMMemoryCache will clear itself when the app receives a memory warning or goes into the background. Objects stored in TMDiskCache remain until you trim the cache yourself, either manually or by setting a byte or age limit.

 

 

https://github.com/tumblr/TMCache

No comment yet.
Scooped by Nikita Ivanchikov
April 24, 2013 2:03 AM
Scoop.it!

MZDayPicker - an iOS day picker

MZDayPicker - an iOS day picker | iOS & OS X stuff | Scoop.it

MZDayPicker allows the user to slide to their chosen day, and provides methods and callbacks allowing you to easily choose which days to include in the view, and know which day the user has chosen.


https://github.com/m1entus/MZDayPicker

No comment yet.
Scooped by Nikita Ivanchikov
April 23, 2013 2:59 AM
Scoop.it!

AppleGuice - Effortless dependency injection framework

AppleGuice helps you write clean, reuseable and testable code by allowing you to easily inject your services to any class. Other dependency injection frameworks require binding, xml editing or initializing your classes with a special method.

 

With AppleGuice all you have to do is declare the injected type and thats it. As a bonus, you will still be able to initialize classes with [[MyClass alloc] init]so it is even easier to integrate it with your existing code base.

 

 

https://github.com/tomersh/AppleGuice

No comment yet.
Scooped by Nikita Ivanchikov
April 17, 2013 5:39 AM
Scoop.it!

DAAppsViewController - showing a more apps page has never been so easy

DAAppsViewController - showing a more apps page has never been so easy | iOS & OS X stuff | Scoop.it

DAAppsViewController is a simple way of displaying apps from the App Store in an aesthetically similar manner. The user is able to view each app's App Store page by launching an instance of SKStoreProductViewController. Particularly useful for showing an app developer's other apps.


https://github.com/danielamitay/DAAppsViewController

No comment yet.
Scooped by Nikita Ivanchikov
April 13, 2013 12:29 PM
Scoop.it!

Logging with Xcode Breakpoints · furbo.org

If you don’t already know about it, setting actions for breakpoints in Xcode is a great way to monitor repetitive code without adding a bunch of NSLog() to your code.

 

http://furbo.org/2013/04/11/logging-with-xcode-breakpoints

No comment yet.
Scooped by Nikita Ivanchikov
April 12, 2013 9:03 AM
Scoop.it!

SSKeychain

SSKeychain is a simple wrapper for accessing accounts, getting passwords, setting passwords, and deleting passwords using the system Keychain on Mac OS X and iOS.

 

https://github.com/soffes/sskeychain

No comment yet.
Scooped by Nikita Ivanchikov
April 11, 2013 8:46 AM
Scoop.it!

Creating a paged photo gallery with a UICollectionView - Adoption Curve Dot Net

Creating a paged photo gallery with a UICollectionView - Adoption Curve Dot Net | iOS & OS X stuff | Scoop.it

The “traditional” way of creating a swipeable gallery of images uses a UIScrollView and a series of views containing images which are placed in a line inside the scrollView. It’s a technique that works - but it’s fiddly to set up, and it doesn’t scale well. With more than a very few images in the gallery, you need to start implementing lazy loading to prevent the gallery gobbling up memory.

 

If you think of a gallery as being a UITableView laid on its side, then it’s pretty obvious that we could use something similar and take advantage of the lazy loading of cells that a table view offers. Prior to iOS6, sideways-scrolling tableViews were tricky to set up - but iOS6 came to the rescue with UICollectionView.

 

Article:

http://adoptioncurve.net/archives/2013/04/creating-a-paged-photo-gallery-with-a-uicollectionview

 

Sources:

https://github.com/timd/UICollectionViewGallery

No comment yet.
Scooped by Nikita Ivanchikov
April 10, 2013 6:07 AM
Scoop.it!

Introduction to 3D drawing in Core Animation

Introduction to 3D drawing in Core Animation | iOS & OS X stuff | Scoop.it

The good news are Core Animation can help us achieve some 3D goodness without using OpenGL directly. There are bad news though: creating a complex 3D video game with Core Animation is not a good idea.

 

In the first part of this tutorial we’ll discuss some 3D theory and we’ll create some simple 3D scenes using the concepts described.

 

In the second part we’ll use Core Animation to create a 3D scene that should remind you the interface used in a carousel image gallery.

 

Part 1:

http://www.thinkandbuild.it/introduction-to-3d-drawing-in-core-animation-part-1

 

Part 2:

http://www.thinkandbuild.it/introduction-to-3d-drawing-in-core-animation-part-2

No comment yet.
Scooped by Nikita Ivanchikov
April 10, 2013 6:01 AM
Scoop.it!

BlockInjection

 BlockInjection allows you to do is inject an objective-c block that will execute before or after a specified method.

You simply supply BlockInjection with the class and method, and the block of code and it will do the rest.

 

https://github.com/tokorom/BlockInjection

No comment yet.