     private weak var controller:CLinearEquationsSolution?
     private(set) var steps:[MLinearEquationsSolutionStep]
     private(set) var indeterminates:MLinearEquationsSolutionIndeterminates?
+    private let kNewLine:String = "\n"
     
     init(project:DProject)
     {

import Foundation

class MLinearEquationsSolution:MLinearEquationsSolutionStrategyDelegate, MLinearEquationsSolutionShareProtocol
{

    {
        self.indeterminates = indeterminates
    }
    
    //MARK: share protocol
    
    func shareText() -> String?
    {
        let mutableString:NSMutableString = NSMutableString()
        
        for step:MLinearEquationsSolutionStep in steps
        {
            guard
                
                let stepString:String = step.shareText()
                
            else
            {
                continue
            }
            
            if mutableString.length > 0
            {
                mutableString.append(kNewLine)
            }
            
            mutableString.append(stepString)
        }
        
        let string:String = mutableString as String
        
        return string
    }
    
    func shareImage() -> UIImage?
    {
        return nil
    }
}
