• 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: No longer use NSLog() in Xcode 4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No longer use NSLog() in Xcode 4?


  • Subject: Re: No longer use NSLog() in Xcode 4?
  • From: Scott Ribe <email@hidden>
  • Date: Thu, 15 Sep 2011 14:55:41 -0600

On Sep 15, 2011, at 2:34 PM, Jerry Krinock wrote:

> Bang.  Just do a ⇧⌘F, copy that 13476 to the search field, and in seconds the problem is staring me in the face.
>
> __FILE__ would be useful if it didn't print out the whole damned full path.

Interesting, never thought of that. I prefer the file path & function name myself, but that's just me.

> Unfortunately, I remember learning once that Xcode's regex does not parse newlines, and just confirmed that still seems to be the case.  So the \n on the end breaks it, and without it, I'm left with a blank line.

Some regex syntaxes won't parse past a line end unless you use a special flag or modifier. I really don't use Xcode regex, so I can't say more, except perhaps for this you could just do it outside Xcode.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: No longer use NSLog() in Xcode 4?
      • From: Gerd Knops <email@hidden>
References: 
 >Re: No longer use NSLog() in Xcode 4? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: No longer use NSLog() in Xcode 4?
  • Next by Date: Re: No longer use NSLog() in Xcode 4?
  • Previous by thread: Re: No longer use NSLog() in Xcode 4?
  • Next by thread: Re: No longer use NSLog() in Xcode 4?
  • Index(es):
    • Date
    • Thread