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
March 9, 2013 4:53 AM
Scoop.it!

Recreating MKUserLocationView

Recreating MKUserLocationView | iOS & OS X stuff | Scoop.it

SVPulsingAnnotationView is a customizable, high-fidelity replica of Apple’s MKUserLocationView.

 

Head over to GitHub to get the code.

https://github.com/samvermette/SVPulsingAnnotationView

 

If you’re interested in the process Sam Vermette went through for recreating this class, read on here

http://samvermette.com/317

No comment yet.
Scooped by Nikita Ivanchikov
March 8, 2013 6:35 PM
Scoop.it!

Overlaying application version on top of your icon - Krzysztof Zabłocki

Overlaying application version on top of your icon - Krzysztof Zabłocki | iOS & OS X stuff | Scoop.it

This tutorial is about adding version and commit on top of your app icon


http://www.merowing.info/2013/03/overlaying-application-version-on-top-of-your-icon

No comment yet.
Scooped by Nikita Ivanchikov
March 5, 2013 5:46 AM
Scoop.it!

More on blocks in Objective-C (but still without tears) - Adoption Curve Dot Net

This is the second part of a two-part look at blocks in Objective-C.

 

http://www.adoptioncurve.net/archives/2013/02/more-on-block-in-objective-c-but-still-without-tears/

 

The first part of the article: 

http://www.adoptioncurve.net/archives/2013/02/blocks-in-objective-c-without-tears/

No comment yet.
Scooped by Nikita Ivanchikov
March 5, 2013 5:43 AM
Scoop.it!

REMenu

REMenu | iOS & OS X stuff | Scoop.it

Dropdown menu inspired by Vine.

 

https://github.com/romaonthego/REMenu

No comment yet.
Scooped by Nikita Ivanchikov
March 5, 2013 5:35 AM
Scoop.it!

iOS Apps: Disable the Sleep Timer for Long-Running Tasks – Ole Begemann

iOS Apps: Disable the Sleep Timer for Long-Running Tasks – Ole Begemann | iOS & OS X stuff | Scoop.it

With the background task API, iOS allows apps to finish time-consuming tasks even though they have been sent to the background, where apps are normally suspended and cannot execute any code. The podcast app in our example can make use of the API to continue downloading after the device went to sleep. There is one important restriction, though. The operating system limits the maximum amount of time it gives to any app to finish their background tasks. Currently, this limit is 10 minutes. If the downloads are not finished by then, the app has no choice but to pause them and wait for the user to reactivate the app.

 

So background task execution is not a perfect option if a task can potentially take more than 10+ minutes to complete and it should be possible to finish when unattended (without any user interaction). In this situation, giving the user the contextual control over the sleep timer could be an option for your app.

 

http://oleb.net/blog/2013/02/ios-apps-disable-sleep-timer-long-running-tasks/

No comment yet.
Scooped by Nikita Ivanchikov
February 25, 2013 5:26 AM
Scoop.it!

Realmac Blog - Working with Date and Time

Realmac Blog - Working with Date and Time | iOS & OS X stuff | Scoop.it

It’s highly likely that somewhere in your app you may need to work with dates and times; whether that be parsing, displaying or performing calendrical calculations. There are some important considerations to make and most certainly a few gotchas to watch out for. This post aims to give an overview of some of the Cocoa classes available to you and some tips and tricks on working with dates and times.


http://realmacsoftware.com/blog/working-with-date-and-time

No comment yet.
Scooped by Nikita Ivanchikov
February 19, 2013 5:53 AM
Scoop.it!

ABCalendarPicker

One more simply great control, looks stunning!

Fully configurable iOS calendar UI component with multiple layouts and smooth animations.

 

Supports month, year, seasoned month, week and 20-year views.

 

https://github.com/k06a/ABCalendarPicker

No comment yet.
Scooped by Nikita Ivanchikov
February 17, 2013 6:44 AM
Scoop.it!

Input and Output. ReactiveCocoa.

ReactiveCocoa (RAC) is an Objective-C framework for Functional Reactive Programming. It provides APIs for composing and transforming streams of values.


Check out this great article from the creators:

http://blog.maybeapps.com/post/42894317939/input-and-output


And GitHub sources:

https://github.com/ReactiveCocoa/ReactiveCocoa

No comment yet.
Scooped by Nikita Ivanchikov
February 15, 2013 5:30 AM
Scoop.it!

CJRouter

CJRouter library is used to launch an application on a specified controller. For example, open the app directly on the details of a news item.

 

https://github.com/batosai/CJRouter

No comment yet.
Scooped by Nikita Ivanchikov
February 13, 2013 8:29 AM
Scoop.it!

How to build a custom control in iOS - Think & Build

How to build a custom control in iOS - Think & Build | iOS & OS X stuff | Scoop.it

Whether you design your super custom user interfaces yourself, or a designer does the job for you, UIKit standard controls won’t likely be enough for your needs.

 

For example, what if you want to build a control to help the user select an Angle value between 0 and 360?

A solution would be to create a circular slider and let the user drag the knob to select the angle value. This is something you’ve probably already seen in many other interfaces but nothing similar is available in UIKit.

 

That’s why this is the perfect example we can use to set aside UIKit and build something special!

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

JLRoutes

JLRoutes is advanced URL parsing with a block-based callback API. It is designed to make it very easy to handle complex URL schemes in your application without having to do any URL or string parsing of any kind.

 

https://github.com/joeldev/JLRoutes

No comment yet.
Scooped by Nikita Ivanchikov
February 5, 2013 3:06 AM
Scoop.it!

Tool: Xcode Plugin That Adds Easy Xcode Plugin Management To The Edit Menu

Tool: Xcode Plugin That Adds Easy Xcode Plugin Management To The Edit Menu | iOS & OS X stuff | Scoop.it

JDListInstalledPlugins adds to the Xcode edit menu providing a new menu entry allowing you to view installed plugins, and also allows you to quickly uninstall plugins from the menu.

 

https://github.com/jaydee3/JDListInstalledPlugins

No comment yet.
Scooped by Nikita Ivanchikov
February 4, 2013 9:47 AM
Scoop.it!

GCUndoManager

GCUndoManager - A reimplementation of NSUndoManager that is highly compatible with the original but much more debuggable.
No comment yet.
Scooped by Nikita Ivanchikov
March 8, 2013 6:36 PM
Scoop.it!

PJTernarySearchTree

PJTernarySearchTree is an Objective-C implementation of Ternary Search Tree for Mac OS X and iOS. It was designed to be a data structure/tool for text autocompletion, however, you may use it as a simple in-memory database because it supports any objects.


https://github.com/peakji/PJTernarySearchTree

No comment yet.
Scooped by Nikita Ivanchikov
March 7, 2013 5:48 AM
Scoop.it!

TLTiltHighlightView

TLTiltHighlightView | iOS & OS X stuff | Scoop.it

TLTiltHighlightView is a UIView subclass with a horizontal gradient which adjusts its appearance based on the positional attitude of the device. The movement of the gradient when re-orientating the device is subtle – it's meant to augment keylines. This mimics the iOS 6 Music app

 

https://github.com/TeehanLax/TLTiltHighlightView

No comment yet.
Scooped by Nikita Ivanchikov
March 5, 2013 5:44 AM
Scoop.it!

Blocks in Objective-C (without tears) - Adoption Curve Dot Net

Blocks in Objective-C (without tears) - Adoption Curve Dot Net | iOS & OS X stuff | Scoop.it

Blocks are a feature of Objective-C 2.0, and were introduced to iOS in version 4.0. They’re a fantastically-useful feature of the language, and they’re being used in more and more places as Apple introduces new classes into the iOS SDK. Apple clearly see blocks as being central to the way that iOS is going to evolve in the future.

 

Understanding what blocks are, and how they work, is key to being able to exploit the features of the SDK. At first glance blocks can seem a bit impenetrable – their syntax isn’t as clear as other parts of Objective-C, and there’s a certain amount of apparent black magic taking place behind the scenes.

 

But once you get to grips with blocks, you’ll quickly realise how powerful and flexible they can be; and you’ll be well-placed to deal with the evolution of Objective-C and the iOS SDK in the future.

 

http://www.adoptioncurve.net/archives/2013/02/blocks-in-objective-c-without-tears/

No comment yet.
Scooped by Nikita Ivanchikov
March 5, 2013 5:36 AM
Scoop.it!

iOS Passbook Tutorial – Ole Begemann

iOS Passbook Tutorial – Ole Begemann | iOS & OS X stuff | Scoop.it

A detailed tutorial for setting up a sample web server (written in Ruby), designed to play around with Apple's Passbook technology, introduced in iOS 6.

 

http://oleb.net/blog/2013/02/passbook-tutorial/

No comment yet.
Scooped by Nikita Ivanchikov
March 5, 2013 5:32 AM
Scoop.it!

NSEnumeratorLinq

NSEnumeratorLinq aims to provide an API modeled after the Linq Enumerable API found in .NET providing an extensive number of methods for easier queries of Objective-C collections.


https://github.com/k06a/NSEnumeratorLinq

No comment yet.
Scooped by Nikita Ivanchikov
February 21, 2013 5:47 PM
Scoop.it!

IAP validation. Easy and free

Simple, secure and free IAP validation for iOS apps

 

https://www.beeblex.com

No comment yet.
Scooped by Nikita Ivanchikov
February 17, 2013 6:50 AM
Scoop.it!

UIAppearance for Custom Views - Peter Steinberger

UIAppearance for Custom Views - Peter Steinberger | iOS & OS X stuff | Scoop.it

UIAppearance hardly is a new technologly since it was first introduced at WWDC 2011, but it still doesn’t have the adoption it deserves (guilty as charged here as well). Since now most apps are IOS5 only, there’s no excuse anymore to not adopt it. Also chances are quite high that at least some properies of your classes already support UIAppearance implicitely - since the preprocessor macro to ‘enable’ UIAppearance is actually defined to be empty: #define UI_APPEARANCE_SELECTOR.

 

In the simplest case, add UI_APPEARANCE_SELECTOR to your properties to inform others that this property can be set via an UIAppearance proxy. There are however some gotchas that are not clearly mentioned in the documentation, and it’s always interesting how something like this works behind the scenes.

 

The article itself:

http://petersteinberger.com/blog/2013/uiappearance-for-custom-views

 

BTW, this is not a tutorial - go ahead and read Apple’s documentation on UIAppearance if you’ve never used it before:

http://goo.gl/aeNLO

 

 

No comment yet.
Scooped by Nikita Ivanchikov
February 16, 2013 7:50 AM
Scoop.it!

Hooked on DTrace, part 1 » Big Nerd Ranch Blog

What is this “DTrace” thing? It stands for “Dynamic Tracing”, a way you can attach “probes” to a running system and peek inside as to what it is doing. It was created by Sun for Solaris, and was ported to the Mac in the Mac OS X 10.5 “Leopard” time frame. DTrace is not available on iOS, but you can use it in the simulator.

 

Imagine being able to say “whenever malloc is called in Safari, record the amount of memory that’s been asked for.” Or, “whenever anyone opens Hasselhoff.mov on the system, tell me the app that’s doing so.” Or, “show me every message being sent to this particular object.” Or, “show me where every NSUndoManager has been created, and tell me the address of that object in memory.”

 

DTrace lets you do this by specifying probes. A probe describes a function, or a set of functions, to intercept. You can say “when some function is about to run, do some sequence of steps”, or “when some function exits, tell me what the return value is, and where in that function it actually returned.” What’s neat about DTrace is that this happens dynamically (hence the name). You don’t have to do anything special to participate. Any function or method in your code can be traced.

 

http://blog.bignerdranch.com/1907-hooked-on-dtrace-part-1

No comment yet.
Scooped by Nikita Ivanchikov
February 15, 2013 5:28 AM
Scoop.it!

Example: Getting A Header Search Bar That Sticks Atop A Scrolling UITableView (Like Contacts)

Example: Getting A Header Search Bar That Sticks Atop A Scrolling UITableView (Like Contacts) | iOS & OS X stuff | Scoop.it

The example demonstrates how to get the scrolling behavior to mimic that found in different Apple apps including how to get the search bar to stay below the header when scrolling down like in the Contacts app.


https://github.com/fabiankr/TableViewSearchBar

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

MTMigration

Manages blocks of code that only need to run once on version updates in iOS apps. This could be anything from data normalization routines to "What's New In This Version" screens.

 

https://github.com/mysterioustrousers/MTMigration

No comment yet.
Scooped by Nikita Ivanchikov
February 6, 2013 3:35 AM
Scoop.it!

iOS 6.1 Runtime Headers – And How To View Differences Between Each Version

Nicolas Seriot has developed a runtime browser tool that you can use to quickly browse and search through all the iOS runtime headers, he’s also published the iOS runtime headers on Github so you can easily browse through the headers, and see any changes that can be made.

 

And Ole Begemann has written a nice summary of the new undocumented APIs in 6.1 and a quick guide on how to view the API differences between iOS versions.

 

iOS 6.1 Runtime headers

https://github.com/nst/iOS-Runtime-Headers

 

Runtime browser tool

https://github.com/nst/RuntimeBrowser/

 

Undocumented APIs in iOS 6.1

http://oleb.net/blog/2013/02/new-undocumented-apis-ios-6-1/

 

 

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

SCStringsUtility

SCStringsUtility is a simple OS X Application built for easing the way we deal with localizable strings.

No comment yet.