Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/kgn/objcpy
- Owner: kgn
- License: mit
- Created: 2011-06-02T07:51:02.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-06-02T07:52:42.000Z (over 13 years ago)
- Last Synced: 2023-03-11T10:28:07.382Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.