Contains methods for string manipulation. More...
Instance Methods | |
| (instancetype) | - init |
Class Methods | |
| (FMLiveSwitchGuid *) | + convertStringToUuidWithUuidString: |
| Converts a 32-character hexadecimal string to a valid UUID format by inserting hyphens. More... | |
| (bool) | + isNullOrWhiteSpaceWithS: |
| (bool) | + isValidUuidWithInput: |
| Determines whether the input string is a valid UUID (Universally Unique Identifier). More... | |
| (FMLiveSwitchStringAssistant *) | + stringAssistant |
| (NSMutableArray *) | + subArray:offset: |
| Creates a subarray from an existing array. More... | |
| (NSMutableArray *) | + subArray:offset:count: |
| Creates a subarray from an existing array. More... | |
Contains methods for string manipulation.
| + (FMLiveSwitchGuid*) convertStringToUuidWithUuidString: | (NSString *) | uuidString |
Converts a 32-character hexadecimal string to a valid UUID format by inserting hyphens.
| uuidString | A 32-character string representing a UUID without hyphens. |
| - (instancetype) init |
| + (bool) isNullOrWhiteSpaceWithS: | (NSString *) | s |
| s | The s. |
| + (bool) isValidUuidWithInput: | (NSString *) | input |
Determines whether the input string is a valid UUID (Universally Unique Identifier).
This method considers various UUID formats as valid, including:
- 32 digits without separators
- 32 digits with hyphens (8-4-4-4-12 format)
- UUIDs enclosed in braces or parentheses
An empty, null, or whitespace-only input is considered invalid.
| input | The string to validate as a UUID. |
| + (FMLiveSwitchStringAssistant*) stringAssistant |
| + (NSMutableArray*) subArray: | (NSMutableArray *) | array | |
| offset: | (int) | offset | |
Creates a subarray from an existing array.
| array | The source array. |
| offset | The offset into the source array. |
| + (NSMutableArray*) subArray: | (NSMutableArray *) | array | |
| offset: | (int) | offset | |
| count: | (int) | count | |
Creates a subarray from an existing array.
| array | The source array. |
| offset | The offset into the source array. |
| count | The number of elements to copy into the subarray. |