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

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

Serving Software Downloads in 976 Categories, Downloaded 29.608.581 Times

MPTidbits 1.0

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

MPTidbits

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 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
Social Networking  -  IAmRotarian , Rotary and rotarians in the world 1.2
Available in Spanish, Catalan, English, French, German, Italian, Portuguese, Chinese, Japanese and Arabic. Rotarians belong to a global foundation with more than 33,000 clubs in many countries. You may need to contact a Rotarian wherever you...
6.2 MB  
Security Tools  -  MD5 Checksum Tool 3.0
MD5 Checksum Tool is an application designed to allows users to generate the file checksum (MD5/SHA Hash) of any file or string. It can also be useful to check if an executable file is legit, in other words, if it is the official release from the...
532 KB  
Security Tools  -  Hash Calculator 1.3
This is a Hash Calculating tool that calculates MD2,MD5,SHA-1,SHA-256,SHA-384,SHA-512 hash of text or a file. This has GUI developed in java swings.All it needs is sun jre installed.
480.72 KB  
Libraries  -  Tie::Hash::RegexKeys 1.2
Tie::Hash::RegexKeys will match hash keys using Regular Expressions. SYNOPSIS use Tie::Hash::RegexKeys; use Data::Dumper; my %h; tie %h, Tie::Hash::RegexKeys; my $a = .1.2.3.4.5.6.2; my $b = .1.2.3.4.5.7; my $c = .1.2.3.4.5.6.1; my...
3.07 KB  
Libraries  -  Tie::Proxy::Hash 1.01
Tie::Proxy::Hash is a Perl module created to efficiently merge & translate hashes. SYNOPSIS my (%hash, $ref); $ref = tie %hash, Tie::Proxy::Hash, (bart => +{a => 1, b => 2}, maggie => +{a => 5, c => 6, e => 10}, ); $hash{a} == 1; # true...
19.46 KB  
Libraries  -  Tie::Hash::Stack 0.09
Tie::Hash::Stack is a Perl module which maintains an array of hashes like a stack. SYNOPSIS use Tie::Hash::Stack qw(pop_hash push_hash merge_hash); my %hash; tie( %hash, "Tie::Hash::Stack" ); # Ties the hash $hash{ 1 } = "one"; $hash{ 2...
6.14 KB  
File Utilities  -  Febooti fileTweak Hash & CRC 3.0
Febooti fileTweak Hash & CRC is a freeware hash / CRC calculator. Compute hash fingerprint / CRC checksum from any provided file. Supported hash / CRC formats: CRC32, MD2, MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, RIPEMD-128,...
778.24 KB  
File Utilities  -  Easy Hash 1.6
Simple file and text hash value calculator. Supports more than 130 hash functions including: AP Hash, Adler 16, Adler 32, Adler 8, BKDR Hash, BP Hash, CK SUM MPEG-2, CK Sum, CRC DNP, CRC-16, CRC-16 (IBM), CRC-16 (Kermit), CRC-16 (Modbus), CRC-16...
 
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  -  Tie::ListKeyedHash 1.02
Tie::ListKeyedHash is a system allowing the use of anonymous arrays as keys to a hash. SYNOPSIS use Tie::ListKeyedHash; [$X =] tie %hash, Tie::ListKeyedHash; my $live_key = [key,items,live]; $hash{$live_key} = Hello!;...
16.38 KB  
NEW DOWNLOADS IN MACINTOSH SOFTWARE, PROGRAMMING
Macintosh Software  -  MacX Free DVD to MP4 Converter for Mac 4.2.3
MacX Free DVD to MP4 Converter for Mac is an innovative yet free DVD to MP4 ripper software for Mac users without any functional limitation or watermark. It is able to convert DVDs including copy protected DVD movies to MP4, FLV, MP3 music on Mac...
36.23 MB  
Macintosh Software  -  MacX DVD Ripper Mac Free Edition 4.2.3
MacX DVD Ripper Mac Free Edition is the best free DVD ripper for Mac that can fulfill any of your DVD backup and ripping demands for free. It allows you to rip homemade and protected DVDs to MOV, MP4, M4V, etc for playing on iPhone, iPod, iPad,...
35.88 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  
Macintosh Software  -  MacX QuickTime Video Converter Free 4.1.9
MacX QuickTime Video Converter Free Edition is the best program designed for Mac users to free convert almost all HD videos and SD videos to QuickTime accepted formats on Mac with first rate quality.The input file formats covered by this powerful...
23.11 MB  
Macintosh Software  -  MacX Free Apple TV Video Converter 4.1.9
MacX Free Apple TV Video Converter is a 100% free video to Apple TV converter software which enables you to free convert most popular videos like AVCHD, MKV, M2TS, AVI, MPEG, WMV, FLV etc to Apple TV compatible format like MP4 format on Mac OS. In...
22.89 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