معرفی شرکت ها


creache-1.4000000000000003


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A tool that looks to convert structs to class entities in swift
ویژگی مقدار
سیستم عامل -
نام فایل creache-1.4000000000000003
نام creache
نسخه کتابخانه 1.4000000000000003
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Markim Shaw
ایمیل نویسنده ms79723@gmail.com
آدرس صفحه اصلی https://github.com/Eyesofbanquo/Creache
آدرس اینترنتی https://pypi.org/project/creache/
مجوز MIT
# Creache _A poorly named tool_ ## Purpose The goal of this tool is to convert `Swift` `struct` types into `class` types that can be used with `Realm Swift`. Convert files formatted like this: ```swift struct User { var name: String! var age: Int var isHappy: Bool enum CodingKeys: String, CodingKey { case name, age case isHappy = "is_happy" } init(from decoder: Decoder) throws { let container = try container.decode(keyedBy: CodingKeys.self) name = try container.decode(String.self, forKey: .name) age = try container.decode(Int.self, forKey: .age) isHappy = try container.decode(Bool.self, forKey: .isHappy) } } ``` to this ```swift class User_Entity { @dynamic var name: String! = '' @dynamic var age: Int! = 0 @dynamic var isHappy: Bool! = false } ``` ### Features - Automatically rename `struct` to `class` and append `_Entity_ to the new type - Automatically generate a new entity file in the directy in which this script is called - Automatically strip everything away thaat isn't a variable declaration


نحوه نصب


نصب پکیج whl creache-1.4000000000000003:

    pip install creache-1.4000000000000003.whl


نصب پکیج tar.gz creache-1.4000000000000003:

    pip install creache-1.4000000000000003.tar.gz