All Projects → kamsteegsoftware → React Native Alternate Icons

kamsteegsoftware / React Native Alternate Icons

Licence: mit
React Native Alternate Icons for iOS 10.3+

Projects that are alternatives of or similar to React Native Alternate Icons

Iconology
I got tired of manually exporting every icon size (for Xcode and more), so I made an app to do it.
Stars: ✭ 56 (+33.33%)
Mutual labels:  xcode, icons
Mbicons
MBIcons contains over 200 icons that can be resized to any dimensions as they are drawn using NSBezierPath.
Stars: ✭ 537 (+1178.57%)
Mutual labels:  xcode, icons
Xcodeicontagger
Adds version and commit hash as an overlay to your iOS app's icon.
Stars: ✭ 66 (+57.14%)
Mutual labels:  xcode, icons
Font Awesome Swift
Font Awesome swift library for iOS.
Stars: ✭ 743 (+1669.05%)
Mutual labels:  xcode, icons
Speculid
Easily Manage Graphics in Xcode Projects
Stars: ✭ 115 (+173.81%)
Mutual labels:  xcode, icons
Iconizer
Create Xcode asset catalogs swift and painless. Generate images for macOS and iOS app icons, launch images and image sets.
Stars: ✭ 751 (+1688.1%)
Mutual labels:  xcode, icons
Viper Templates
Swift Xcode templates for creating VIPER architecture stacks
Stars: ✭ 33 (-21.43%)
Mutual labels:  xcode
Sqlitelib
Easily build a custom SQLite static library for use in macOS and iOS frameworks and apps.
Stars: ✭ 38 (-9.52%)
Mutual labels:  xcode
Sm9 free
基于Miracl的国密算法SM9实现
Stars: ✭ 33 (-21.43%)
Mutual labels:  xcode
Bfkit Swift
BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster.
Stars: ✭ 963 (+2192.86%)
Mutual labels:  xcode
Fugen
Command line tool for exporting resources and generating code from your Figma files
Stars: ✭ 41 (-2.38%)
Mutual labels:  xcode
Regeributedtextview
RegeributedTextView is a subclass of UITextView that supports fully attribute string based on regular expression.
Stars: ✭ 40 (-4.76%)
Mutual labels:  xcode
Xclogparser
Tool to parse Xcode and xcodebuild logs stored in the xcactivitylog format
Stars: ✭ 978 (+2228.57%)
Mutual labels:  xcode
Rainbowbar
Progress bar with wild animation for notched status bar
Stars: ✭ 34 (-19.05%)
Mutual labels:  xcode
Cobalt2 Vim Theme
Vim port of cobalt2 sublime theme
Stars: ✭ 38 (-9.52%)
Mutual labels:  xcode
Anonymous Animals
anonymous animal icons used for anonymous users extracted from Google Docs
Stars: ✭ 33 (-21.43%)
Mutual labels:  icons
Relax
A tiny release tool to support multi distribution(IPA) on iOS development.
Stars: ✭ 40 (-4.76%)
Mutual labels:  xcode
Isimulator
iSimulator is a GUI utility to control the Simulator, and manage the app installed on the simulator.
Stars: ✭ 963 (+2192.86%)
Mutual labels:  xcode
Tangramkit
TangramKit is a powerful iOS UI framework implemented by Swift. It integrates the functions with Android layout,iOS AutoLayout,SizeClass, HTML CSS float and flexbox and bootstrap. So you can use LinearLayout,RelativeLayout,FrameLayout,TableLayout,FlowLayout,FloatLayout,LayoutSizeClass to build your App 自动布局 UIView UITableView UICollectionView
Stars: ✭ 984 (+2242.86%)
Mutual labels:  xcode
Lldebugtoolswift
LLDebugTool is a debugging tool for developers and testers that can help you analyze and manipulate data in non-xcode situations.
Stars: ✭ 40 (-4.76%)
Mutual labels:  xcode

react-native-alternate-icons

React Native Alternate Icons for iOS 10.3+

Demo

Requirements

  • React Native 0.44+ (only tested on 0.44)

Installation

npm install [email protected] --save

Link the library to your React Native project

react-native link

Manual Linking

https://facebook.github.io/react-native/docs/linking-libraries-ios.html

Preparation & Code Sample

Preparation

Add your icons into your Xcode Project

Icons in your Xcode Project

Add the following code to your info.plist

<key>supportsAlternateIcons</key>
<true/>
<key>CFBundleIcons</key>
<dict>
  <key>CFBundlePrimaryIcon</key>
  <dict>
    <key>CFBundleIconFiles</key>
    <array>
      <string>icon</string>
    </array>
    <key>UIPrerenderedIcon</key>
    <false/>
  </dict>
  <key>CFBundleAlternateIcons</key>
  <dict>
    <key>Red</key>
    <dict>
      <key>CFBundleIconFiles</key>
      <array>
        <string>Red</string>
      </array>
      <key>UIPrerenderedIcon</key>
      <false/>
    </dict>
  </dict>
</dict>

Using in your React Native applications

import Icons from 'react-native-alternate-icons';

/** Change the icons of your application */
Icons.setIconName( iconName );
/** get Current Icon Name */
Icons.getIconName( callback( result ) );
/** Reset the icon of your application to the default */
Icons.reset();
/** Check if your device does support alternate icons, android returns always false */
Icons.supportDevice( callback( result ) );
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].