I have skipped it because it is unnecessary code. Do you want me to implement it anyway ?


Le 20 sept. 2013 à 16:38, declaresub <notifications@github.com> a écrit :

> In macoslib/Cocoa/NSFileManager.rbbas:
> 
> > @@ -0,0 +1,254 @@
> > +#tag Class
> > +Class NSFileManager
> > +Inherits NSObject
> > +	#tag Method, Flags = &h0
> > +		Function ContentsAtPath(path as String) As NSData
> > +		  //# Reads the contents of the file located at ''path''.
> > +		  
> > +		  #if TargetMacOS
> > +		    declare function contentsAtPath lib FoundationLib selector "contentsAtPath:" (id as Ptr, path as CFStringRef) as Ptr
> > +		    declare function stringByExpandingTildeInPath lib CocoaLib selector "stringByExpandingTildeInPath" (path as CFStringRef) as CFStringRef
> > +		    
> > +		    dim p as Ptr = contentsAtPath( self, path )
> > +		    
> > +		    if p<>nil then
> There should be an Else block in which Nil is returned.
> 
> —
> Reply to this email directly or view it on GitHub.
>