mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 05:24:10 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@65631 954022d7-b5bf-4e40-9824-e11837661b57
20 lines
497 B
Objective-C
20 lines
497 B
Objective-C
//
|
|
// NSString+StringUtils.h
|
|
// UTILS
|
|
//
|
|
// Created by alexey.musinov on 10.08.15.
|
|
// Copyright (c) 2015 Ascensio System SIA. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <string>
|
|
#import <vector>
|
|
|
|
@interface NSString (StringUtils)
|
|
+ (id)stringWithWString:(const std::wstring&)string;
|
|
+ (id)stringWithAString:(const std::string&)string;
|
|
+ (NSMutableArray*)stringsArray:(const std::vector<std::wstring>&)sources;
|
|
- (std::wstring)stdwstring;
|
|
- (std::string)stdstring;
|
|
@end
|