Just take it! Facebook mobile Open Source project collection time: 2014-04-22 15:37 Tang Kohiki
With the iOS dependency management tool Cocoapods and a large number of third-party open source libraries maturing, the industry has accumulated a large number of outstanding open source projects. Not long ago, Facebook launched its mobile news reader app, paper, using nearly 100 third-party open source libraries, which greatly simplifies its application development tasks.
With the growing ecosystem of mobile development and the growing availability of open source components, Facebook is not only open source, but also open source for its internal projects, to feed the results to the open source community and share with developers. Next, let's take a look at the many open source projects that Facebook has launched in mobile development over the years.
1. Kvocontroller
Kvocontroller is a simple and secure KVO (Key-value observing, key-value observation, OBJECTIVE-C-defined notification mechanism) tool for Facebook open source for iOS and Mac OS x application development. Kvocontroller is based on the cocoa time-tested KVO implementation, which provides a simple, user-friendly, thread-safe API.
Key Features:
- Use blocks, custom actions, or nskeyvalueobserving callbacks for notifications;
- No abnormalities were observed when the observer was removed;
- Remove the implicit observer when the controller Dealloc;
- Improved performance with nskeyvalueobservinginitial;
- Thread safety that provides special protection for the recovery observer.
RELATED links: Kvocontroller's GitHub hosting address, Mobilehub home page
2. Shimmer
Shimmer is an open-source loading effect tool that allows you to easily add sparkling font effects to any view in your app without appearing abrupt. Shimmer was originally used as a tool in the development of paper, which was launched by Facebook in January this year, and is open source based on the BSD license agreement, which supports iOS 6 and above.
RELATED links: Shimmer's GitHub hosting address, Mobilehub home page
3. Rebound
Rebound, an Android physics and animation library launched by Facebook, was formally launched in October 2013 at the [email protected] conference to address the cumbersome and slow traditional mobile web interface. Rebound is based on the BSD License protocol and is compatible with HTML5 and node. js.
Rebound is not a general-purpose physical library, but its spring model introduces real-world physics in the application, is easy to integrate, and creates animations that feel very natural and can be used for scrollbars, toggle switches, calls, and other scenarios.
RELATED Links: Rebound website, GitHub hosting address, Mobilehub home page
4. Buck
Buck, an open-source Android build tool developed by Facebook, was released based on the Apache License 2.0 protocol, which enables multi-core performance to be built independently, accelerating the developer's Android application build process. Buck is built on a single library and can be rebuilt with minimal set of resources, ideal for Android project organization and Management.
Key Features:
- Accelerate Android build. Take advantage of multi-core processors and build standalone modules in parallel. Reduce incremental build practices and minimize the resources that need to be rebuilt by tracking unchanged source files.
- For Android ant compilation scripts that do not support out-of-the-box, introduce the Ad-doc build system.
- Maintaining the logic of build builds in the build system eliminates the need for additional system-generated build files.
- Build a IntelliJ project based on build rules that can match both the local IDE and the headless file compilation development.
- Support Unit Testing and choose the most balanced way to get code coverage.
RELATED Links: Buck official website, GitHub hosting address, Mobilehub homepage
5. Xctool
Xctool is another open-source app Builder on Facebook that has been released based on the Apache License 2.0 protocol to replace Apple's xcodebuild to simplify the building and testing of iOS and Mac projects. Xctool is great for continuous integration, and the biggest benefit is the ability to build and run unit tests directly from the command line.
Xctool also added additional features on xcodebuild, such as support for structured output of build and test results, interface-friendly, ANSI color output, faster speed, parallel testing, and a speed increase of. Xctool supports Xcode 5+, and you must install the Xcode command-line tool when you use Xctool.
Key Features:
- Run the same test as Xcode.app;
- The build output and test results are in JSON format without parsing output;
- Xctool prints messages only when errors are found, and xcodebuild prints each source file.
RELATED links: Xctool GitHub Escrow Address ,mobilehub home page
6. Conceal
Conceal is a set of Java APIs for file encryption and authentication on the Android platform, designed for speed, small and high speed. It uses a subset of the OpenSSL algorithm and some pre-defined options to keep the library in a smaller volume. It enables developers to encrypt and store data from mobile phones, tablet SD cards, and large files.
RELATED links: Conceal website, GitHub hosting address, Mobilehub home page
7. Origami
Origami is one of the most surprising paper on the interface and interactive design that has allowed Facebook's vast open-source tools to move from behind the scenes. The new favorite of the "interactive artifact", a quartz composer-based plugin developed by the Facebook design team for 9 months, allows designers to quickly build mobile app interaction prototypes without programming.
Origami provides designers with a range of custom controls such as switches, scrolling, elastic animations, and improved quartz composer, such as support for retina displays, redesign of toolbar icons, and more to help designers achieve application prototyping interactions more easily.
RELATED links: Origami website, GitHub hosting address, Mobilehub home page
8. Bolts (ios/android)
Bolts is a collection of underlying libraries for iOS and Android, Bolts-ios and Bolts-android, designed by Facebook and parse to open source in January 2014 based on the BSD license agreement. All of its source code is hosted on GitHub. Bolts can make mobile app development easier, its components completely unrelated to the parse and Facebook services, so developers don't have to have a parse or Facebook developer account to use directly.
RELATED links: Bolts's GitHub hosting address, Mobilehub home page
9. Facebook SDK (ios/android)
Facebook SDK for iOS (Android) is the SDK for Facebook APIs that are officially available on the iOS platform, allowing developers to integrate Facebook into their developed iOS apps.
RELATED Links: GitHub hosting address for Facebook SDK (ios/android), Mobilehub home page (ios/android)
Ten. Fishhook
Finally, we will introduce an open source library dedicated to iOS security and defense. Fishhook is a tool that Facebook has launched to dynamically modify linked Mach-o symbol tables directly on iOS simulators and devices. Fishhook provides a fake nlist structure by altering the offset of the indirect symbol table to achieve the hook's purpose, which is similar to the use of dyld_interpose on OS X.
RELATED links: Fishhook's GitHub hosting address, Mobilehub home page
This article for csdn original article, without permission not reproduced, if necessary reprint please contact market#csdn.net (#换成 @)
Just take it! Facebook mobile Open Source project collection