Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

Method names do not follow Objective C styleguide #8

@bryanoltman

Description

@bryanoltman

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 be fbl_arrayByMappingObjects: or fbl_arrayByMappingObjectsFromArray.

See also: Google Objective-C Style Guide

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions