All Projects → younatics → Stringfication

younatics / Stringfication

Licence: MIT license
🔨 Make all objects to String!

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to Stringfication

utils.js
👷 🔧 zero dependencies vanilla JavaScript utils.
Stars: ✭ 14 (-57.58%)
Mutual labels:  string, object
is-string
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Stars: ✭ 17 (-48.48%)
Mutual labels:  string, object
DataTypes
Built-in data types
Stars: ✭ 34 (+3.03%)
Mutual labels:  string, object
prototyped.js
Some common Typescript prototypes
Stars: ✭ 22 (-33.33%)
Mutual labels:  string, object
Kind Of
Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!
Stars: ✭ 268 (+712.12%)
Mutual labels:  string, object
php-helpers
An extensive set of PHP helper functions and classes.
Stars: ✭ 27 (-18.18%)
Mutual labels:  string, object
obj-to-table
Create a table from an array of objects
Stars: ✭ 15 (-54.55%)
Mutual labels:  string, object
harmony-ecs
A small archetypal ECS focused on compatibility and performance
Stars: ✭ 33 (+0%)
Mutual labels:  object
kuebikobot
A telegram bot that deploys to heroku/aws and downloads links and torrents and uploads to google drive and returns public share link
Stars: ✭ 127 (+284.85%)
Mutual labels:  mirror
string-math
Evaluates a math expression from a string. Supports variables and custom operators.
Stars: ✭ 14 (-57.58%)
Mutual labels:  string
mirror-cache
A customizable reverse proxy with cache
Stars: ✭ 23 (-30.3%)
Mutual labels:  mirror
AgileStringDecryptor
a dynamic Agile.NET string decryptor that relies on invoke by wwh1004 | Version : 6.X
Stars: ✭ 24 (-27.27%)
Mutual labels:  string
booto
😍A light framework for React Application. Easy for life!
Stars: ✭ 18 (-45.45%)
Mutual labels:  mirror
compact str
A memory efficient string type that can store up to 24* bytes on the stack
Stars: ✭ 322 (+875.76%)
Mutual labels:  string
foundation
This is a mirror from https://github.com/laravel/framework/tree/9.x/src/Illuminate/Foundation
Stars: ✭ 26 (-21.21%)
Mutual labels:  mirror
mirrors.shuosc.org
SHU Open Source Mirror,有镜像需求请在Issues中提交
Stars: ✭ 50 (+51.52%)
Mutual labels:  mirror
string-similarity-js
Lightweight string similarity function for javascript
Stars: ✭ 29 (-12.12%)
Mutual labels:  string
libfixmath
Cross Platform Fixed Point Maths Library - mirror of https://code.google.com/p/libfixmath/
Stars: ✭ 16 (-51.52%)
Mutual labels:  mirror
Excel2Object
excel convert to .NET Object | Excel与.NET 对象进行转换,支持公式、多Sheet等功能
Stars: ✭ 35 (+6.06%)
Mutual labels:  object
crates-io-cn
Source code of crates-io.cn, also tools sets for sync crates.io
Stars: ✭ 20 (-39.39%)
Mutual labels:  mirror

Stringfication

Version Carthage Compatible License: MIT Build Status Platform Swift 3.0

See Objectification if you want to get objects where string is contained in object

Updates

See CHANGELOG for details

Intoduction

🔨 Make all objects to String! This library will be useful when you develop search function :)

Requirements

Stringfication is written in Swift 3. Compatible with iOS 8.0+

Installation

Cocoapods

Stringfication is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Stringfication'

Carthage

github "younatics/Stringfication"

Usage

Import Stringfication and inherit Stringfication what you want to make object to string

import Stringfication

struct Model: Stringfication {
    var anyProperty: Any?
    var arrayProperty: [[String]]?
    var intProperty: Int?
    var floatProperty: Float?
    var stringProperty: String?
}

I made some data sample in Model

var model = Model()
model.anyProperty = [["Developed","by","SeungyounYi"],[1,2,3]]
model.arrayProperty = [["This","is","Stringfication"],["Do","what","you","want"]]
model.intProperty = 777
model.floatProperty = 99.99
model.stringProperty = "younatics"

Get properties

print(model.stringfication.properties())
// -> ["anyProperty", "arrayProperty", "intProperty", "floatProperty", "stringProperty"]

Get values

print(model.stringfication.values())
// -> ["Developed", "by", "SeungyounYi", "1", "2", "3", "This", "is", "Stringfication", "Do", "what", "you", "want", "777", "99.9899979", "younatics"]

Get all

print(model.stringfication.all())
// -> ["anyProperty", "arrayProperty", "intProperty", "floatProperty", "stringProperty", "Developed", "by", "SeungyounYi", "1", "2", "3", "This", "is", "Stringfication", "Do", "what", "you", "want", "777", "99.9899979", "younatics"]

References

Please tell me or make pull request if you use this library in your application :)

Author

younatics 🇰🇷

License

Stringfication is available under the MIT license. See the LICENSE file for more info.

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].