8000 GitHub - tristaaan/jsSwift: Swift type extensions for those who think in JavaScript
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tristaaan/jsSwift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsSwift

Swift type extensions for people who think in JavaScript.

All extension functions behave as similar as possible to how they are described in the JavaScript docs on MDN.

Contributing

If there's a type or builtin function that is unsupported here:

  1. Add a new file titled js[Type].swift.
  2. Add a test file in the folder jsSwiftTests/ titled js[Type]Tests.swift.
  3. Add the new Type file to jsSwiftTests target membership. (Click on new file > Right Panel/Inspector Panel > Target Membership > Check jsSwiftTests)
  4. Test it and submit a PR!

ToDo

  • Date setters
  • RegExp
  • JSON
  • Number

Notes

With other XCode projects you may be used to pressing ⌘B and ⌘R, you'll want to be pressing the test shortcut key here: ⌘U.

About

Swift type extensions for those who think in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0