Sha256: cabe682c44104e6beca14163bee8f8bff0860282ba3195131625c1357dddb156

Contents?: true

Size: 1.42 KB

Versions: 54

Compression:

Stored size: 1.42 KB

Contents

class NSString

  # This method will be removed in iOS 9
  def document
    SugarCube.log('Warning: SugarCube\'s String#document method has been deprecated in favor of String#document_path')
    self.document_path
  end

  # This method will be removed in iOS 9
  def cache
    SugarCube.log('Warning: SugarCube\'s String#cache method has been deprecated in favor of String#cache_path')
    self.cache_path
  end

  # This method will be removed in iOS 9
  def app_support
    SugarCube.log('Warning: SugarCube\'s String#app_support method has been deprecated in favor of String#app_support_path')
    self.app_support_path
  end

  # This method will be removed in iOS 9
  def temporary
    SugarCube.log('Warning: SugarCube\'s String#temporary method has been deprecated in favor of String#temporary_path')
    self.temporary_path
  end

  # This method will be removed in iOS 9
  def exists?
    SugarCube.log('Warning: SugarCube\'s String#exists? method has been deprecated in favor of String#file_exists?')
    self.file_exists?
  end

  # This method will be removed in iOS 9
  def remove!
    SugarCube.log('Warning: SugarCube\'s String#remove! method has been deprecated in favor of String#remove_file!')
    self.remove_file!
  end

  # This method will be removed in iOS 9
  def resource
    SugarCube.log('Warning: SugarCube\'s String#resource method has been deprecated in favor of String#resource_path')
    self.resource_path
  end

end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
sugarcube-3.0.4 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-3.0.3 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-3.0.2 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-3.0.1 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-3.0.0 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.12.3 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.12.2 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.12.1 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.12.0 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.11.1 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.11.0 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.10.0 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.9.1 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.8.2 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.8.1 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.8.0 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.7.1 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.7.0 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.6.0 lib/cocoa/sugarcube-files/nsstring_deprecated.rb
sugarcube-2.5.0 lib/cocoa/sugarcube-files/nsstring_deprecated.rb