# generated by 'rake generate'
require 'cocoa/bindings/NSObject'
module Cocoa
  class NSSpellChecker < Cocoa::NSObject
    attach_method :accessoryView, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :automaticallyIdentifiesLanguages, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :availableLanguages, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :checkGrammarOfString, :args=>6, :names=>[:startingAt, :language, :wrap, :inSpellDocumentWithTag, :details], :types=>["@", "q", "@", "B", "q", "^@"], :retval=>"{_NSRange=QQ}"
    attach_method :checkSpellingOfString, [{:args=>2, :names=>[:startingAt], :types=>["@", "q"], :retval=>"{_NSRange=QQ}"}, {:args=>6, :names=>[:startingAt, :language, :wrap, :inSpellDocumentWithTag, :wordCount], :types=>["@", "q", "@", "B", "q", "^q"], :retval=>"{_NSRange=QQ}"}]
    attach_method :checkString, :args=>7, :names=>[:range, :types, :options, :inSpellDocumentWithTag, :orthography, :wordCount], :types=>["@", "{_NSRange=QQ}", "Q", "@", "q", "^@", "^q"], :retval=>"@"
    attach_method :closeSpellDocumentWithTag, :args=>1, :names=>[], :types=>["q"], :retval=>"v"
    attach_method :completionsForPartialWordRange, :args=>4, :names=>[:inString, :language, :inSpellDocumentWithTag], :types=>["{_NSRange=QQ}", "@", "@", "q"], :retval=>"@"
    attach_method :correctionForWordRange, :args=>4, :names=>[:inString, :language, :inSpellDocumentWithTag], :types=>["{_NSRange=QQ}", "@", "@", "q"], :retval=>"@"
    attach_method :countWordsInString, :args=>2, :names=>[:language], :types=>["@", "@"], :retval=>"q"
    attach_method :dismissCorrectionIndicatorForView, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :forgetWord, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :guessesForWord, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :guessesForWordRange, :args=>4, :names=>[:inString, :language, :inSpellDocumentWithTag], :types=>["{_NSRange=QQ}", "@", "@", "q"], :retval=>"@"
    attach_method :hasLearnedWord, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
    attach_method :ignoreWord, :args=>2, :names=>[:inSpellDocumentWithTag], :types=>["@", "q"], :retval=>"v"
    attach_method :ignoredWordsInSpellDocumentWithTag, :args=>1, :names=>[], :types=>["q"], :retval=>"@"
    attach_singular_method :isAutomaticSpellingCorrectionEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_singular_method :isAutomaticTextReplacementEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :language, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :languageForWordRange, :args=>3, :names=>[:inString, :orthography], :types=>["{_NSRange=QQ}", "@", "@"], :retval=>"@"
    attach_method :learnWord, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :menuForResult, :args=>5, :names=>[:string, :options, :atLocation, :inView], :types=>["@", "@", "@", "{CGPoint=dd}", "@"], :retval=>"@"
    attach_method :recordResponse, :args=>5, :names=>[:toCorrection, :forWord, :language, :inSpellDocumentWithTag], :types=>["q", "@", "@", "@", "q"], :retval=>"v"
    attach_method :requestCheckingOfString, :args=>6, :names=>[:range, :types, :options, :inSpellDocumentWithTag, :completionHandler], :types=>["@", "{_NSRange=QQ}", "Q", "@", "q", "@?"], :retval=>"q"
    attach_method :setAccessoryView, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setAutomaticallyIdentifiesLanguages, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setIgnoredWords, :args=>2, :names=>[:inSpellDocumentWithTag], :types=>["@", "q"], :retval=>"v"
    attach_method :setLanguage, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
    attach_method :setSubstitutionsPanelAccessoryViewController, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setWordFieldStringValue, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_singular_method :sharedSpellChecker, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :sharedSpellCheckerExists, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :showCorrectionIndicatorOfType, :args=>6, :names=>[:primaryString, :alternativeStrings, :forStringInRect, :view, :completionHandler], :types=>["q", "@", "@", "{CGRect={CGPoint=dd}{CGSize=dd}}", "@", "@?"], :retval=>"v"
    attach_method :spellingPanel, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :substitutionsPanel, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :substitutionsPanelAccessoryViewController, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :uniqueSpellDocumentTag, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :unlearnWord, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :updatePanels, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :updateSpellingPanelWithGrammarString, :args=>2, :names=>[:detail], :types=>["@", "@"], :retval=>"v"
    attach_method :updateSpellingPanelWithMisspelledWord, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :userPreferredLanguages, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :userQuotesArrayForLanguage, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :userReplacementsDictionary, :args=>0, :names=>[], :types=>[], :retval=>"@"
  end
end
