ObjcPy provides python style functions in objective-c.
Python Objective-C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ObjcPy
ObjcPyTest
.hgignore
LICENSE
README.md

README.md

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, read the license file for more licensing information.