Re: UITouch's function locationInView not working with iOS4.2‏ (cont)

2010-11-03 Thread Robert Claeson
On 3 Nov 2010, at 15:24, Kyle Sluder wrote: > 2010/11/3 Angelica Grace Tanchico : >> Why is it that UITouch's function locationInView not working with iOS4.2? > > iOS 4.2 is still under NDA. > > Apple provides NDA discussion forums at http://devforums.apple.com. I'm actually not sure that we (

Re: NSDate without time portion

2010-01-05 Thread Robert Claeson
On 5 Jan 2010, at 20:59, mmalc Crawford wrote: > > On Jan 5, 2010, at 12:40 pm, Robert Claeson wrote: > >> (Greenwich, the "G" in GMT, is in North London) >> > Well, if we're being pedantic, South East of London, actually... > <http://maps.go

Re: NSDate without time portion

2010-01-05 Thread Robert Claeson
On 5 Jan 2010, at 20:33, Nick Zitzmann wrote: > > On Jan 5, 2010, at 1:23 PM, Quincey Morris wrote: > >> Firstly, you can't *in general* normalize to a specific time, because you >> can't in general know that the time exists on every date. > > Unless you use a specific time zone, and store th

Re: NSDate without time portion

2010-01-05 Thread Robert Claeson
On 5 Jan 2010, at 19:23, Chris Ridd wrote: > > On 4 Jan 2010, at 13:50, Quincey Morris wrote: > >> On Jan 4, 2010, at 02:26, Brian Bruinewoud wrote: >> >>> What's the best way to get an NSDate object for 'today' such that the time >>> is 00:00:00 (or any other constant). >>> I not interested

Re: [Job] Cocoa developer at Skype (Mac/iPhone)

2009-07-18 Thread Robert Claeson
I think that Apple listens too much to AT&T. One of my mobile operator in fact promote Skype and the two other ones allow Skype on their networks. Anyway, this is far off-topic for this list. On 18 Jul 2009, at 01:18, William Squires wrote: Not sure this'll get anywhere. IIRC, Apple expressl

Re: which temp dir to use?

2009-05-23 Thread Robert Claeson
On 23 May 2009, at 12:43, Nick Rogers wrote: Hi, NSTemporaryDirectory(), returns something like /var/temp/we/weOIDM +mck Whereas I want to store files at a place with a fixed path. So where should I save temp files? and how can I get that path programatically everytime? Use t

Re: Invoice program made in Objective c/Cocoa

2009-05-17 Thread Robert Claeson
On 17 May 2009, at 17:32, Andy Lee wrote: On May 17, 2009, at 11:42 AM, Andreas Grosam wrote: On May 16, 2009, at 5:09 PM, Michael Ash wrote: [...] Whining about how it doesn't support massive multi-user applications makes absolutely no sense. Now, I'm starting to wonder whether you had ever

Re: Invoice program made in Objective c/Cocoa

2009-05-15 Thread Robert Claeson
On 15 May 2009, at 16:16, Ilan Volow wrote: I'm working on a Cocoa-based ERP that uses PostgeSQL on the backend. Invoicing is among the things it does. Yes, it is possible to do write such a thing, though you will have to work out a preferred way to (un)persist your data objects to/from th

Re: Invoice program made in Objective c/Cocoa

2009-05-15 Thread Robert Claeson
On 15 May 2009, at 14:51, Scott Ribe wrote: In the end though, once you learn Cocoa and master your chosen database & access technology, you may find that although initial coding takes a little more time than 4D, that is far more than made up for in decreased debugging time from not worki

Re: NSString to bit pattern

2009-05-08 Thread Robert Claeson
On 8 May 2009, at 23:00, Andrew Farmer wrote: On 08 May 09, at 08:47, Greg Guerin wrote: A string is a sequence of characters. Retrieve each character, determine its bit-pattern, then append that pattern to an NSMutableString. Now you have to figure out how to turn a character into its

Re: NSButton referencing outlet won't work?

2009-02-07 Thread Robert Claeson
On 7 Feb 2009, at 20:04, Richard Bannister wrote: On 7 Feb 2009, at 20:02, cocoa-dev-requ...@lists.apple.com wrote: I'm sure this qualifies as a newbie question, but I've just spent an hour trying to figure something out and I'm stumped... And wouldn't you know, two minutes after asking th

Re: Cocoa and the need for a dynamic language

2009-01-19 Thread Robert Claeson
On 19 Jan 2009, at 15:41, Sean McBride wrote: On 1/17/09 9:51 PM, Erik Buck said: As far as I know, there is still no compiler in the world that completely implements the ANSI/ISO C++ standard which was ratified in 1998. If the standard hasn't been implemented in a decade, something is amiss

Re: Report writer for Cocoa?

2009-01-16 Thread Robert Claeson
On 16 Jan 2009, at 18:03, P Teeson wrote: On 16-Jan-09, at 11:48 AM, Robert Claeson wrote: On 16 Jan 2009, at 14:09, Jon C. Munson II wrote: I've been a DB developer for many years, albeit on the PC side. Report writing was usually part of the tools, or, something easily found else

Re: Report writer for Cocoa?

2009-01-16 Thread Robert Claeson
On 16 Jan 2009, at 14:09, Jon C. Munson II wrote: I've been a DB developer for many years, albeit on the PC side. Report writing was usually part of the tools, or, something easily found elsewhere in the PC world. Not so easily found on the Mac side though, hence my original question. A

Re: Mac Pro memory sizes

2009-01-11 Thread Robert Claeson
On 11 Jan 2009, at 21:44, julius wrote: About This Mac says that I have 2GB of internal memory. Is this 2GB of 64-bit words or 2GB of 8-bit bytes? 8 bits. Always 8 bits. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post adm

Re: Porting 'operator' to Obj-C

2008-09-26 Thread Robert Claeson
On 26 Sep 2008, at 17:03, Alex Finkel wrote: Hi there. I am in a process of porting some C++ code to ObjC. How to port the code bellow (operators). Thanks. snip - operator= is a normal assignment method that takes an NSArray as its argument. Something like the following (unte

Re: programatically quit a program

2008-08-28 Thread Robert Claeson
On 28 Aug 2008, at 22:38, Wayne Shao wrote: What is the correct way to quit a cocoa app? I could use C exit() but that would loose the chance to invoke the right callbacks for clean up. What is the call that would be equivalent to user explicitly selecting the Quit from the menu. I only

Re: [Moderator] Re: iphone SDK questions

2008-08-28 Thread Robert Claeson
On 28 Aug 2008, at 22:15, Eric Gorr wrote: On Aug 28, 2008, at 4:04 PM, Bob Sabiston wrote: On Aug 27, 2008, at 8:30 PM, CocoaDev Admins wrote: I've been given explicit instructions to enforce the non- disclosure agreement when moderating this list. So that's what I do. The admins in the

Re: Style Question

2008-06-28 Thread Robert Claeson
On 28 Jun 2008, at 06:30, Alex Wait wrote: I have noticed, coming from C++ and Visual Studio (at school), a couple style differences if (value) { //do something } insteasd of if (value) { //do something } Also since I am using this style, XCode doesn't tab in for me when I type {

Re: Anyone used btlsocket framework?

2008-05-10 Thread Robert Claeson
On 10 May 2008, at 21:11, Jens Alfke wrote: Anyone got a good socket framework to recommend? (I realize it's not that hard to roll your own with NSStreams, as shown in CocoaSockets, but a framework with a few more bells & whistles would be nice.) I haven't used it myself, but supposedly Om

Re: How do I embed a font in an app?

2008-04-04 Thread Robert Claeson
On 5 Apr 2008, at 00:37, Jens Alfke wrote: In my application's user interface I want to use some TrueType fonts which are not built into the OS. (Yes, they're free and their licenses allow this sort of use.) I thought I remembered a way to embed fonts in an application bundle, or to program

Re: Autorelease question

2008-04-03 Thread Robert Claeson
On 4 Apr 2008, at 02:03, Dmitry Markman wrote: Hi How can I tell that default autorelease pool exists? Dmitry The default autorelease pool is created in the .m file of a newly created project. If you have messed around too much with that file, you might have deleted it. The interesting

Re: Objective-C Instance Variable Names

2008-04-03 Thread Robert Claeson
On 3 Apr 2008, at 19:58, Rob Napier wrote: 2. Leading "m" makes you look like a C++ programmer and other ObjC programmers will laugh at you. You can take that for what it's worth, but it's worth keeping in mind if you're going to work on large projects with other programmers. "Other ObjC pr

Windows networking API

2008-03-25 Thread Robert Claeson
Is there an API/framework to interface with the SMB/Samba/Windows networking functionality of OS X? More specifically, I need to: * Find the Active Directory domain (or Windows workgroup name if not in an AD network) * Ensure that the OS X user is authenticated via AD (if available) As you