Skip to content

IronSight87/RRiOS7Backport

 
 

Repository files navigation

iOS7 Backport

This is iOS7 API backport to iOS6.

Goal

  • backport useful features from iOS7 to iOS6 to simplify transition for developers without using any private API.
  • backport should behave 100% same way on iOS6 as on iOS7 from developers and users perspective. For example it is ok to add implementation of -[NSTimer setTolerance:] that does nothing.
  • on iOS7 back ported API shouldn't have any effect on system - default iOS implementation should be used.

Why?

Not all users will update to iOS7 and developer life is hard enaugh :)

How

Add project as library, setup Build Phases, add -ObjC to Other Linker Flags

Current backports table

NSArray
-[NSArray firstObject] Done.
UIView
+[UIView performWithoutAnimation:] Done.
-[UIView drawViewHierarchyInRect:] Done.
NSTimer
-[NSTimer tolerance] Done.
-[NSTimer setTolerance:] Done.
NSData
-[NSData initWithBase64EncodedString:options:] Done.
-[NSData base64EncodedStringWithOptions:] Done.
-[NSData initWithBase64EncodedData:options:] Done.
-[NSData base64EncodedDataWithOptions:] Done.
GKLocalPlayer
-[GKLocalPlayer registerListener:] Done.
-[GKLocalPlayer unregisterListener:] Done.
-[GKLocalPlayer unregisterAllListeners] Done.

ContainerView

If you supporting iOS5 check out RRContainerView and RRBaseInternationalization

About

libRRiOS7Backport is an effort to backport parts of iOS7 to iOS6/iOS5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%