RBURLBuilder Class Reference
Inherits from | NSObject |
---|---|
Declared in | RBURLBuilder.h |
urlRoot
The root NSURL
object.
@property (nonatomic, readonly, nonnull) NSURL *urlRoot
Discussion
The root NSURL
object.
Declared In
RBURLBuilder.h
– initWithUrlRoot:
Initializes a new URL builder with the given root URL.
- (nonnull instancetype)initWithUrlRoot:(nonnull NSURL *)urlRoot
Parameters
urlRoot |
The root URL to use. |
---|
Return Value
The initialized object.
Discussion
Initializes a new URL builder with the given root URL.
Declared In
RBURLBuilder.h
parameterKeys
The parameter keys that are currently configured in the URL.
@property (nonatomic, readonly, nonnull) NSArray<NSString*> *parameterKeys
Discussion
The parameter keys that are currently configured in the URL.
Declared In
RBURLBuilder.h
– parameterValuesWithKey:
The values that are associated with the given parameter key.
- (nonnull NSArray<NSString*> *)parameterValuesWithKey:(nonnull NSString *)key
Parameters
key |
The parameter key. |
---|
Return Value
The values that are associated with the key.
Discussion
The values that are associated with the given parameter key.
Declared In
RBURLBuilder.h
– addParameterValue:withKey:
Add a new parameter value to the URL.
- (void)addParameterValue:(nonnull NSString *)value withKey:(nonnull NSString *)key
Parameters
value |
The value of the parameter. |
---|---|
key |
The key of the parameter. |
Discussion
Add a new parameter value to the URL.
Declared In
RBURLBuilder.h
– removeAllParameterValues
Remove all of the parameters.
- (void)removeAllParameterValues
Discussion
Remove all of the parameters.
Declared In
RBURLBuilder.h
url
The result NSURL
object.
@property (nonatomic, readonly, nonnull) NSURL *url
Discussion
The result NSURL
object.
Declared In
RBURLBuilder.h