# generated by 'rake generate'
require 'cocoa/bindings/NSObject'
module Cocoa
  class NSUserDefaults < Cocoa::NSObject
    attach_method :URLForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :addSuiteNamed, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :arrayForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :boolForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
    attach_method :dataForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :dictionaryForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :dictionaryRepresentation, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :doubleForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"d"
    attach_method :floatForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"f"
    attach_method :init, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :initWithUser, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :integerForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"q"
    attach_method :objectForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :objectIsForcedForKey, [{:args=>1, :names=>[], :types=>["@"], :retval=>"B"}, {:args=>2, :names=>[:inDomain], :types=>["@", "@"], :retval=>"B"}]
    attach_method :persistentDomainForName, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :persistentDomainNames, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :registerDefaults, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :removeObjectForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :removePersistentDomainForName, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :removeSuiteNamed, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :removeVolatileDomainForName, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_singular_method :resetStandardUserDefaults, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :setBool, :args=>2, :names=>[:forKey], :types=>["B", "@"], :retval=>"v"
    attach_method :setDouble, :args=>2, :names=>[:forKey], :types=>["d", "@"], :retval=>"v"
    attach_method :setFloat, :args=>2, :names=>[:forKey], :types=>["f", "@"], :retval=>"v"
    attach_method :setInteger, :args=>2, :names=>[:forKey], :types=>["q", "@"], :retval=>"v"
    attach_method :setObject, :args=>2, :names=>[:forKey], :types=>["@", "@"], :retval=>"v"
    attach_method :setPersistentDomain, :args=>2, :names=>[:forName], :types=>["@", "@"], :retval=>"v"
    attach_method :setURL, :args=>2, :names=>[:forKey], :types=>["@", "@"], :retval=>"v"
    attach_method :setVolatileDomain, :args=>2, :names=>[:forName], :types=>["@", "@"], :retval=>"v"
    attach_singular_method :standardUserDefaults, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :stringArrayForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :stringForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :synchronize, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :volatileDomainForName, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :volatileDomainNames, :args=>0, :names=>[], :types=>[], :retval=>"@"
  end
end
