Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.321.090 Times

MPTidbits 1.0

Company: Matt Patenaude
Date Added: July 03, 2013  |  Visits: 293

MPTidbits

Report Broken Link
Printer Friendly Version


Product Homepage
Download (44 downloads)



A set of very small categories for NSString, NSMutableString, NSArray, and NSDictionary that add a few sorely lacking features (isEmpty and containsKey: methods, for instance). <br /><br />These functions can be found in MPFunctions.h.<br /> . NSString *MPHexStringFromBytes(void *bytes, NSUInteger len)<br /><br /> . Returns a hexadecimal NSString representation of the data referenced by bytes. len should be the length of the data (the number of bytes).<br /><br />NSString Methods<br />These methods can be found in NSString+MPTidbits.h.<br /> - (BOOL)isEmpty<br /> Returns YES only if the receiver is either empty (no characters), or contains only whitespace characters.<br /><br /> - (BOOL)isEmptyIgnoringWhitespace:(BOOL)ignoreWhitespace<br /> If ignoreWhitespace is YES, returns YES only if the receiver is either empty (no characters), or contains only whitespace characters. If ignoreWhitespace is NO, returns YES only if the receiver is empty (no characters) -- it does not ignore whitespace characters.<br /><br /> - (NSString *)stringByTrimmingWhitespace<br /> Returns an NSString object identical to the receiver except that any leading or trailing whitespace characters (the characters in the set returned by NSCharacterSet's +whitespaceCharacterSet) will be stripped.<br /><br /> - (NSString *)MD5Hash<br /> Returns an NSString object that contains a 32-character hexadecimal representation of the receiver's MD5 hash. This method uses the functions of Foundation's CommonCrypto library, which means that your project does not have to link against an outside library (eg, OpenSSL).<br /><br /> - (NSString *)SHA1Hash<br /> Returns an NSString object that contains a 40-character hexadecimal representation of the receiver's SHA-1 hash. This method uses the functions of Foundation's CommonCrypto library, which means that your project does not have to link against an outside library (eg, OpenSSL).<br /><br />NSMutableString Methods<br />These methods can be found in NSString+MPTidbits.h.<br /> - (void)trimCharactersInSet:(NSCharacterSet *)aCharacterSet<br /> Strips leading and trailing characters from the receiver that belong to aCharacterSet. In contrast to NSString's -stringByTrimmingCharactersInSet:, this method operates on the receiver in place.<br /><br /> - (void)trimWhitespace<br /> Strips leading and trailing whitespace characters (the characters in the set returned by NSCharacterSet's +whitespaceCharacterSet) from the receiver. In contrast to the above -stringByTrimmingWhitespace, this method operates on the receiver in place.<br /><br />NSArray Methods<br /><br />These methods can be found in NSCollections+MPTidbits.h.<br /> - (BOOL)isEmpty<br /><br /> Returns YES only if the receiver contains no objects: the equivalent of ([receiver count] == 0).<br /><br />NSDictionary Methods<br /><br />These methods can be found in NSCollections+MPTidbits.h.<br /> - (BOOL)isEmpty<br /><br /> Returns YES only if the receiver contains no objects: the equivalent of ([receiver count] == 0).<br /><br /> - (BOOL)containsKey:(NSString *)aKey<br /><br /> Returns YES only if the key aKey has an associated object in the receiver.<br /> - (BOOL)containsKey:(NSString *)aKey allowEmptyValue:(BOOL)allowEmpty<br /><br /> If allowEmpty is YES, returns YES only if the key aKey has an associated object in the receiver. If allowEmpty is NO, returns YES only if the key aKey has an associated object in the receiver, and that object is neither the NSNull object, nor does it return YES to an isEmpty message (if the object responds to it). This method is useful if you want to quickly check if a key both exists, and is not an empty string, for example.<br />

Requirements: No special requirements
Platforms: Mac, Mac OSX
Keyword: Acharacterset Belong Character Commoncrypto Contrast Foundation Hash Method Nsstring Openssl Opensslnsmutablestring Project Receiver Sha Hash Stringbytrimmingcharactersinset Strips Voidtrimcharactersinsetnscharacterset
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


MPTIDBITS RELATED
Programming  -  XML::Filter::DetectWS 0.01
XML::Filter::DetectWS is a PerlSAX filter that detects which character data contains ignorable whitespace and optionally filters it. Note that this is just a first stab at the implementation and it may change completely in the near...
10.24 KB  
Libraries  -  XML::Essex::Event 0.01
XML::Essex::Event is a base event class, also used for unknown event types. Stringifies as $event->type . "()" to indicate an event that has no natural way to represented in XML, or for ones that havent been handled yet in Essex. Methods new...
43.01 KB  
Collecters Tools  -  JediMaker 1.3
JediMaker is a desktop diversion application that will generate a personal Star Wars Character Name using George Lucasl method of name creation (for non-main characters, mind you). Truth be told, this omethodo is probably just an Urban Myth, but...
 
Libraries  -  Class::Method::hash 2.08
Class::Method::hash is a Perl module that helps you create methods for handling a hash value. SYNOPSIS use Class::MethodMaker [ hash => [qw/ x /] ]; $instance->x; # empty $instance->x(a => 1, b => 2, c => 3); $instance->x_count == 3; #...
89.09 KB  
Libraries  -  Set::Hash 0.01
Set::Hash is a Perl module with hashes as objects with lots of handy methods (including set comparisons) and support for method chaining. SYNOPSIS use Set::Hash; my $sh1 = Set::Hash->new(name=>"dan",age=>33); my $sh2 =...
7.17 KB  
Development Tools  -  CONTRAST CONTROLLER 1.0
Two algorithms to adjust the contrast level of images are coded. One of the method is contrast stretching.Works for both gray and colored images.
81.92 KB  
Libraries  -  Method::Declarative 0.03
Method::Declarative is a Perl module to create methods with declarative syntax. SYNOPSIS use Method::Declarative ( --defaults => { precheck => [ [ qw(precheck1 arg1 arg2) ], # ... ], postcheck => [ [ qw(postcheck1 arg3 arg4) ], #...
8.19 KB  
Libraries  -  SWF::Builder::Character::Sound 0.15
SWF::Builder::Character::Sound is a SWF Sound character. SYNOPSIS my $sound = $mc->new_sound( ring.mp3 ); $sound->play; This module creates SWF sound characters from MP3 or raw Microsoft WAV files. $sound = $mc->new_sound( $filename )...
163.84 KB  
Networking  -  Hash Checker 1.2.2
Hash Checker for Linux/Unix is small and useful tool for checking your downloads and other files with MD5, SHA1 and/or SHA256 hash. It comes with GUI completly translated in Croatian, English, French, German, Greek, Italian, Portuguese (Brasil),...
10 KB  
Programming  -  Parse::Method::Signatures 1.003013
Parse::Method::Signatures is a Perl module inspired by Perl6::Signature but streamlined to just support the subset deemed useful for TryCatch and MooseX::Method::Signatures. METHODS There are only two public methods to this...
40.96 KB  
NEW DOWNLOADS IN MACINTOSH SOFTWARE, PROGRAMMING
Macintosh Software  -  EasyEDA PCB Designer for MacOS 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Macintosh Software  -  VideoSolo Video to GIF Converter (Mac) 1.0.12
How to make a GIF? VideoSolo Free Video to GIF Converter for Mac supports all popular video files including MP4, AVI, MOV, WMV, FLV, M4V, etc. You can easily turn MP4/AVI/MOV/WMV/FLV/M4V to GIF animation on Mac and share your GIFs with your...
46.51 MB  
Macintosh Software  -  VideoSolo Free Video Converter (Mac) 1.0.18
VideoSolo Free Video Converter for Mac is a fast, powerful and easy-to-master video converter. Its main purpose is to convert video files from one format into another. It is able to convert video and audio files in 300+ formats on Mac for totally...
75.29 MB  
Macintosh Software  -  ManyCam for Mac 6
ManyCam is a free Webcam software and a screen recorder for anyone to use. Several feature enhancements are included within ManyCam to produce a professional quality live video production. It can connect a desktop, smartphone, tablet and live...
90.49 MB  
Macintosh Software  -  MacX Free Rip DVD to QuickTime for Mac 4.1.9
MacX Free Rip DVD to QuickTime for Mac is totally free yet versatile DVD to QuickTime ripper software for Mac users to free rip both normal and copy-protected DVDs to QuickTime MOV, MP4 on Mac with excellent image quality. Besides the powerful...
36.3 MB  
Programming  -  MacX Free iMovie Video Converter 4.1.8
MacX Free iMovie Video Converter is a professional free iMovie video converter for Mac that can convert any SD and HD videos such as M2TS, MKV, AVI, WMV, FLV, VOB, 3GP and more to iMovie accepted video formats MOV & MP4 for importing to iMovie...
22.92 MB  
Programming  -  SwapList 0.1 Alpha
Java list implementation that swaps list items to a disk file in order to avoid out-of-memory error.
10.24 KB  
Programming  -  Mano 1.05 Beta
Mano is a makeFile navigator containing a tree grouping the targets.
20.48 KB  
Programming  -  Workhorse 1.2
Workhorse automates tedious file transfer and deletion tasks. Just tell it when or how often you want it to run, fill in the details, and let it do it's job! Do you know Applescript? Use Workhorse to run your scripts at a given time or interval....
225.28 KB  
Programming  -  PLT Scheme (formerly DrScheme) Darwin (PPC) 4.2
PLT Scheme is an interactive, integrated, graphical programming environment for the Scheme, MzScheme, and MrEd programming languages. PLT Scheme provides source highlighting for syntax and run-time errors, support for multiple language...
38.27 MB