Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kgn/objcpy

ObjcPy provides python style functions in objective-c.
https://github.com/kgn/objcpy

Last synced: about 1 month ago
JSON representation

ObjcPy provides python style functions in objective-c.

Awesome Lists containing this project

README

        

Currently only functions from the python string class have been implemented.

NSString+PyStr
--------
* `(NSString *)center:(NSInteger)width;`
* `(NSString *)center:(NSInteger)width fillchar:(NSString*)fillchar;`
* `(BOOL)endswith:(NSString *)endswith;`
* `(BOOL)startswith:(NSString *)startswith;`
* `(NSString *)capitalize;`
* `(NSString *)title;`
* `(BOOL)istitle;`
* `(NSString *)upper;`
* `(BOOL)isupper;`
* `(NSString *)lower;`
* `(BOOL)islower;`
* `(NSString *)join:(NSArray *)joinArray;`
* `(NSString *)replace:(NSString *)searchString with:(NSString *)repalceString;`
* `(NSArray *)splitlines;`
* `(NSArray *)split:(NSString *)splitString;`
* `(NSString *)strip;`
* `(NSString *)lstrip;`
* `(NSString *)rstrip;`
* `(NSString *)lstrip:(id)chars;`
* `(NSString *)rstrip:(id)chars;`

ObjcPyTest
--------
ObjcPyTest is an xcode project for building command line applications for ObjcPy that allow it to be tested with pythons unittesting. This testing method guarantees that the results matchup between python and ObjcPy.

ObjcPy is distributed under the [MIT License](http://www.opensource.org/licenses/mit-license.php), read the [license file](https://github.com/InScopeApps/ObjcPy/blob/master/LICENSE) for more licensing information.