Browse Source

iOS Services writing fixes: change 2 to two

Max Hilbrunner 7 years ago
parent
commit
02ca971277
1 changed files with 6 additions and 6 deletions
  1. 6 6
      tutorials/platform/services_for_ios.rst

+ 6 - 6
tutorials/platform/services_for_ios.rst

@@ -3,7 +3,7 @@
 Services for iOS
 Services for iOS
 ================
 ================
 
 
-At the moment, there are 2 iOS APIs partially implemented, GameCenter
+At the moment, there are two iOS APIs partially implemented, GameCenter
 and Storekit. Both use the same model of asynchronous calls explained
 and Storekit. Both use the same model of asynchronous calls explained
 below.
 below.
 
 
@@ -18,7 +18,7 @@ this:
     Error purchase(Variant p_params);
     Error purchase(Variant p_params);
 
 
 The parameter will usually be a Dictionary, with the information
 The parameter will usually be a Dictionary, with the information
-necessary to make the request, and the call will have 2 phases. First,
+necessary to make the request, and the call will have two phases. First,
 the method will immediately return an Error value. If the Error is not
 the method will immediately return an Error value. If the Error is not
 'OK', the call operation is completed, with an error probably caused
 'OK', the call operation is completed, with an error probably caused
 locally (no internet connection, API incorrectly configured, etc). If
 locally (no internet connection, API incorrectly configured, etc). If
@@ -50,7 +50,7 @@ network timeout, etc. You should be able to, for example, safely block
 the interface waiting for a reply from the server. If any of the APIs
 the interface waiting for a reply from the server. If any of the APIs
 don't behave this way it should be treated as a bug.
 don't behave this way it should be treated as a bug.
 
 
-The pending event interface consists of 2 methods:
+The pending event interface consists of two methods:
 
 
 -  ``get_pending_event_count()``
 -  ``get_pending_event_count()``
    Returns the number of pending events on the queue.
    Returns the number of pending events on the queue.
@@ -65,7 +65,7 @@ Implemented in platform/iphone/in_app_store.mm
 
 
 The Store Kit API is accessible through the "InAppStore" singleton (will
 The Store Kit API is accessible through the "InAppStore" singleton (will
 always be available from gdscript). It is initialized automatically. It
 always be available from gdscript). It is initialized automatically. It
-has 2 methods for purchasing:
+has two methods for purchasing:
 
 
 -  ``Error purchase(Variant p_params);``
 -  ``Error purchase(Variant p_params);``
 -  ``Error request_product_info(Variant p_params);``
 -  ``Error request_product_info(Variant p_params);``
@@ -175,7 +175,7 @@ Posts a score to a Game Center leaderboard.
 Parameters
 Parameters
 ^^^^^^^^^^
 ^^^^^^^^^^
 
 
-Takes a Dictionary as a parameter, with 2 fields:
+Takes a Dictionary as a parameter, with two fields:
 
 
 -  ``score`` a float number
 -  ``score`` a float number
 -  ``category`` a string with the category name
 -  ``category`` a string with the category name
@@ -364,7 +364,7 @@ achievements, and challenges.
 Parameters
 Parameters
 ^^^^^^^^^^
 ^^^^^^^^^^
 
 
-Takes a Dictionary as a parameter, with 2 fields:
+Takes a Dictionary as a parameter, with two fields:
 
 
 -  ``view`` (string) (optional) the name of the view to present. Accepts
 -  ``view`` (string) (optional) the name of the view to present. Accepts
    "default", "leaderboards", "achievements", or "challenges". Defaults
    "default", "leaderboards", "achievements", or "challenges". Defaults