Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24566] Hyperloop: iOS - Support variadic methods

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsHyperloop, iOS
Labelsn/a
ReporterHans Knöchel
AssigneeJan Vennemann
Created2017-04-08T08:53:05.000+0000
Updated2018-03-21T09:58:49.000+0000

Description

iOS supports variadic methods that accept a variable number of parameters. Examples are especially methods accepting format specifiers like: - \[NSString stringWithFormat:@"%@, %@, %@", propertyA, propertyB, propertyC] - NSLog(@"%d @ld", propertyD, propertyE) Example Hyperloop implementations could be pretty straight forward:
NSString.stringWithFormat("%@, %@, %@", propertyA, propertyB, propertyC);

Comments

No comments

JSON Source