macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

NSRegularExpression

NSRegularExpressionクラス

INDEX>Foundation>NSRegularExpressionapple(OS X) apple(iOS) 解説 正規表現クラス 継承 NSObject 準拠 NSCoding NSCopying NSObject (NSObject) フレームワーク /System/Library/Frameworks/Foundation.framework 使用可能 OS X 10.7以降 iOS 4.0以降 定義…

pattern

INDEX>Foundation>NSRegularExpression 正規表現パターンを返します(読み出しのみ) プロパティ名 @property(readonly) NSString *pattern 解説 フレームワーク Foundation クラス NSRegularExpression 使用可能 OS X 10.7以降 iOS 4.0以降 参照 regularExpre…

options

INDEX>Foundation>NSRegularExpression 正規表現を使う時のオプションを返します。(読み出しのみ) プロパティ名 @property(readonly) NSRegularExpressionOptions options 解説 正規表現を使う時のオプションを返します。(読み出しのみ) フレームワーク …

numberOfCaptureGroups

INDEX>Foundation>NSRegularExpression プロパティ名 @property(readonly) NSUInteger numberOfCaptureGroups 解説 フレームワーク Foundation クラス NSRegularExpression 使用可能 OS X 10.7以降 iOS 4.0以降 参照 定義 NSRegularExpression.h

NSMatchingOptions

INDEX>Foundation>NSRegularExpression enum { NSMatchingReportProgress = 1 << 0, NSMatchingReportCompletion = 1 << 1, NSMatchingAnchored = 1 << 2, NSMatchingWithTransparentBounds = 1 << 3, NSMatchingWithoutAnchoringBounds = 1 << 4 }; 解説 引…

NSMatchingFlags

INDEX>Foundation>NSRegularExpression enum { NSMatchingProgress = 1 << 0, NSMatchingCompleted = 1 << 1, NSMatchingHitEnd = 1 << 2, NSMatchingRequiredEnd = 1 << 3, NSMatchingInternalError = 1 << 4 }; 解説 引数 返り値 フレームワーク Foundatio…

NSRegularExpressionOptions

INDEX>Foundation>NSRegularExpression enum { NSRegularExpressionCaseInsensitive = 1 << 0, NSRegularExpressionAllowCommentsAndWhitespace = 1 << 1, NSRegularExpressionIgnoreMetacharacters = 1 << 2, NSRegularExpressionDotMatchesLineSeparators …

stringByReplacingMatchesInString:options:range:withTemplate:

INDEX>Foundation>NSRegularExpression - (NSString *)stringByReplacingMatchesInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range withTemplate:(NSString *)template 解説 引数 返り値 フレームワーク Foundation ク…

replacementStringForResult:inString:offset:template:

INDEX>Foundation>NSRegularExpression - (NSString *)replacementStringForResult:(NSTextCheckingResult *)result inString:(NSString *)string offset:(NSInteger)offset template:(NSString *)template 解説 引数 返り値 フレームワーク Foundation クラ…

replaceMatchesInString:options:range:withTemplate:

INDEX>Foundation>NSRegularExpression - (NSUInteger)replaceMatchesInString:(NSMutableString *)string options:(NSMatchingOptions)options range:(NSRange)range withTemplate:(NSString *)template 解説 引数 返り値 フレームワーク Foundation クラス…

rangeOfFirstMatchInString:options:range:

INDEX>Foundation>NSRegularExpression - (NSRange)rangeOfFirstMatchInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range 解説 引数 返り値 フレームワーク Foundation クラス NSRegularExpression 使用可能 OS X 10.7以…

numberOfMatchesInString:options:range:

INDEX>UIKit>NSRegularExpression - (NSUInteger)numberOfMatchesInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range 解説 引数 返り値 フレームワーク Foundation クラス NSRegularExpression 使用可能 OS X 10.7以降 i…

matchesInString:options:range:

INDEX>Foundation>NSRegularExpression - (NSArray *)matchesInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range 解説 引数 返り値 フレームワーク Foundation クラス NSRegularExpression 使用可能 OS X 10.7以降 iOS 4…

initWithPattern:options:error:

INDEX>Foundation>NSRegularExpression - (id)initWithPattern:(NSString *)pattern options:(NSRegularExpressionOptions)options error:(NSError **)error 解説 引数 返り値 フレームワーク Foundation クラス NSRegularExpression 使用可能 OS X 10.7以降…

firstMatchInString:options:range:

INDEX>Foundation>NSRegularExpression - (NSTextCheckingResult *)firstMatchInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range 解説 引数 返り値 フレームワーク Foundation クラス NSRegularExpression 使用可能 OS …

enumerateMatchesInString:options:range:usingBlock:

INDEX>UIKit>NSRegularExpression - (void)enumerateMatchesInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range usingBlock:(void (^)(NSTextCheckingResult *result, NSMatchingFlags flags, BOOL *stop))block 解説 引…

regularExpressionWithPattern:options:error:

INDEX>Foundation>NSRegularExpression + (NSRegularExpression *)regularExpressionWithPattern:(NSString *)pattern options:(NSRegularExpressionOptions)options error:(NSError **)error 解説 引数 返り値 フレームワーク Foundation クラス NSRegularE…

escapedTemplateForString:

INDEX>UIKit>NSRegularExpression + (NSString *)escapedTemplateForString:(NSString *)string 解説 引数 返り値 フレームワーク Foundation クラス NSRegularExpression 使用可能 OS X 10.7以降 iOS 4.0以降 参照 サンプル

escapedPatternForString:

INDEX>Foundation>NSRegularExpression + (NSString *)escapedPatternForString:(NSString *)string 解説 引数 返り値 フレームワーク Foundation クラス NSRegularExpression 使用可能 OS X 10.7以降 iOS 4.0以降 参照 サンプル