title: How to structure methods together that are supposed to be executed consequtively in Obj-C
body: <p>I am creating a language quiz app to learn Obj-C and I am having a hard time understanding the proper way to structure such the information processing functions. So far:</p>
  
  <p>I have a collection of spanish words and their definitions in a separate text file.
  Here's the main parts of the code that I am having trouble implementing:</p>
  
  <pre><code>@implementation SGLDictionary
  
  -(NSString*)makeStringFromFile:(NSString *)myFileName {
      //read file and save to *string
  
  return string;
  </code></pre>
  
  <p>}</p>
  
  <pre><code>-(NSArray *)getContentFromString:(NSMutableString *)string {
       //Here the string is trimmed and deheadered so only the content is left and returned as an NSArray.
  return Array;
  </code></pre>
  
  <p>}</p>
  
  <pre><code>-(NSMutableDictionary *)makeDictionaryFromArray:(NSArray *)array{
      //make the array mutable and form it into a dictionary by looping over it
  return spanishToEnglishDictionary;
  </code></pre>
  
  <p>}</p>
  
  <p>How do you later initialize an instance of the SGLDictionary class and call the methods so they are executed on the instance one by one? I'm not sure how this works because I thought the methods that change data don't return any (they <code>return void</code>). </p>