Skip to content

Commit

Permalink
[Project] Update the arrays section in the README
Browse files Browse the repository at this point in the history
This is just changing the language a bit
  • Loading branch information
theblixguy committed Jun 12, 2019
1 parent d65dc7a commit 9c5d130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ You have to make the type in your plist a string, and input either a number -- e

# Arrays

Configen also supports reading arrays from the plist. For example, you can create an array of certificate hashes for pinning purposes and in the mapping file, declare the configuration variable as something like `arrayOfHashes: [String]` and then configen will automatically generate an array for you.
Configen also supports reading arrays from the plist. For example, you can create an array of certificate hashes for pinning purposes and configen will automatically map them to an array in the generated configuration file.

The downside of using arrays in plist is that the order of the array and whether there are any array elements at all are not guaranteed, so keep that in mind when using this functionality.
The downside of using an array in the plist is that the order of the array and whether there are any array elements at all is not guaranteed, so keep that in mind when using this functionality.

Example:

Expand Down

0 comments on commit 9c5d130

Please sign in to comment.