You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fbl_map, fbl_filter, etc. do not follow these conventions. A more idiomatic name for the map method might be fbl_arrayByMappingObjects: or fbl_arrayByMappingObjectsFromArray.
Conventionally, Objective C methods which return a value by operating on a parameter adhere to the
[ReturnType]with[ParamType]
or[ReturnType]by[Operation][ParamType]
format. Examples of this in Foundation include NSNumber's numberWithInteger:, NSString's stringByApplyingTransform:reverse:, and NSArray's arrayWithObject:.fbl_map
,fbl_filter
, etc. do not follow these conventions. A more idiomatic name for the map method might befbl_arrayByMappingObjects:
orfbl_arrayByMappingObjectsFromArray
.See also: Google Objective-C Style Guide
The text was updated successfully, but these errors were encountered: