• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: File creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File creation


  • Subject: Re: File creation
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 28 Mar 2005 04:01:22 +0200


On 28.3.2005, at 3:39, Julien Palmas wrote:

Is there any simple way to create such a file with Obj-C or C ?

Any number of them: check fopen, create (man pages), NSFileManager (createFileAtPath:contents:attributes:), perhaps even NSFileWrapper.... Probably(?) the easiest one in your case might be


[@"" writeToFile:<file path> atomically:NO];
---
Ondra Čada
OCSoftware:     email@hidden               http://www.ocs.cz
private         email@hidden             http://www.ocs.cz/oc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >File creation (From: Julien Palmas <email@hidden>)

  • Prev by Date: Re: File creation
  • Next by Date: Re: NSDocument data-based primitives
  • Previous by thread: File creation
  • Next by thread: Re: File creation
  • Index(es):
    • Date
    • Thread