CoteData pagination

2008-06-23 Thread Ian
iences to share, etc etc, with manipulating very large data sets in CoreData? Yours, extremely grateful for any advice, Ian ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. C

CoreData pagination [was: CoteData pagination]

2008-06-23 Thread Ian
LOL - CoreData, not CoteData, you knew what I meant I'm sure! On 24 Jun 2008, at 01:11, Ian wrote: Hi all, I know this has been asked before... I've been searching and searching and RTFMing so I've seen the paper-trail of askees over the years... Anyway, is there a

Re: CoreData pagination

2008-06-24 Thread Ian
s obvious I'm sure but great thanks are due for your suggestions and advice - I may not be a CoreData newbie but I certainly am rank amateur! Thanks again to all, Ian ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Implementing NSOutlineView autosaveExpandedItems with CoreData

2008-06-30 Thread Ian
bofhcam.org/co-larters/distributing-clue/index.html) I've seen lots in the usual places (lists.apple.com, cocoabuilder.com et al) about this but no actual solutions shout out at me. Perhaps I'm not looking hard enough. (most likely). Many TIA Ian

Re: Implementing NSOutlineView autosaveExpandedItems with CoreData

2008-06-30 Thread Ian
On 1 Jul 2008, at 04:41, Andy Kim wrote: Hi Ian, I've got a CoreData object graph with an outline view showing instances of an NSManagedObject subclass called "Group". The Group class has the standard to-one relation 'parent' and to- many 'children'. Th

Re: Implementing NSOutlineView autosaveExpandedItems with CoreData

2008-07-02 Thread Ian
y you have it working in a similar way - what does your itemForPersistentObject method return? Many thanks Ian Here's what I do: - (id)outlineView:(NSOutlineView *)ov itemForPersistentObject: (id)object { return [[gAppDelegate library] groupWithUID:object]; // This fetches the grou

Nesting IKImageBrowser GroupStyles

2008-07-09 Thread Ian
silence on Google and the list archives I'm not expecting a flood of answers but if the people responsible for this cool IKImageBrowserView behavior are listening then at least this post will serve to let them know someone is using and appreciating t

Re: Nesting IKImageBrowser GroupStyles

2008-07-09 Thread Ian
On 10 Jul 2008, at 00:49, thomas goossens wrote: Hi Ian, On Jul 10, 2008, at 1:07 AM, Ian wrote: The grouping feature of IKImageBrowserView seems to be one of the least documented but most powerful features I've seen in a while. It is possible to add one or more bezel groups ins

Core Data migration from xml to sqlite

2009-09-02 Thread Ian Kennedy
an empty sqlite store: http://pastie.textmate.org/602152 Thanks for any help, Ian ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at coco

EXC_BAD_ACCESS in a Core Data application

2009-09-04 Thread Ian Piper
n any cans of worms, a Core Data application like this seems like a sensible place to use GC. Is that right? Any illumination will be joyfully received. Ian. -- ianpi...@mac.com 07590 685840 | 01926 811383 ___ Cocoa-dev mailing list (Cocoa-de

Extract plain text content from a Text View

2009-10-16 Thread Ian Piper
way. Thanks, Ian. -- ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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

Re: Extract plain text content from a Text View

2009-10-16 Thread Ian Piper
eld but I can't figure out what they are! The Text View is simply used as a place for the user to put any rich text and or images. Is there a way either to search or to get all of the plain text out from such a Text View? It's probably a simplistic question and I rathe

Re: Extract plain text content from a Text View

2009-10-16 Thread Ian Piper
On 17 Oct 2009, at 00:46, Charles Srstka wrote: On Oct 16, 2009, at 5:42 PM, Ian Piper wrote: The Text View is simply used as a place for the user to put any rich text and or images. Is there a way either to search or to get all of the plain text out from such a Text View? It's proba

Re: Extract plain text content from a Text View

2009-10-16 Thread Ian Piper
On 17 Oct 2009, at 05:18, Jens Alfke wrote: On Oct 16, 2009, at 3:42 PM, Ian Piper wrote: The Text View is simply used as a place for the user to put any rich text and or images. Is there a way either to search or to get all of the plain text out from such a Text View? It's proba

Calculating a total from a collection of numeric attributes

2009-10-17 Thread Ian Piper
documentation? Thanks, Ian. -- ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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

Re: Calculating a total from a collection of numeric attributes

2009-10-18 Thread Ian Piper
On 18 Oct 2009, at 15:45, I. Savant wrote: On Oct 17, 2009, at 7:40 PM, Ian Piper wrote: I have a Core Data entity that has an attribute called charge (stored as a float). So I am storing a number of records each of which has a charge. I simply want to be able to show a running total of

Problem writing unit tests - "Incompatible types in initialization"

2009-10-25 Thread Ian Piper
t have bashed my head against it to the point where I have the phrase "Incompatible types" in reverse burned onto my forehead. Google was not my friend on this occasion. Can anyone guide me out of this black hole? Thanks, Ian. -- ___

Re: Problem writing unit tests - "Incompatible types in initialization"

2009-10-25 Thread Ian Piper
On 25 Oct 2009, at 20:13, Dave DeLong wrote: On Oct 25, 2009, at 2:08 PM, Ian Piper wrote: It also has a method called convertCToF that ... returns the converted temperature, also as a float. NSNumber *newTemperatureInF = [testConverter convertCToF]; // This is where I get the error

Getting a handle on inf

2009-10-26 Thread Ian Piper
t ¿√Ωpˇ So I am guessing that when I get a float displayed as "inf" this is not the string it seems to be. Also, it looks like the string value of whatever is coming back is not something that I can use. Can anyone suggest how I might handle a test case like this? Thanks, Ian

Re: Getting a handle on inf

2009-10-26 Thread Ian Piper
On 26 Oct 2009, at 18:45, Greg Parker wrote: On Oct 26, 2009, at 11:26 AM, Ian Piper wrote: So I am guessing that when I get a float displayed as "inf" this is not the string it seems to be. Also, it looks like the string value of whatever is coming back is not something that I ca

Re: Getting a handle on inf

2009-10-26 Thread Ian Piper
On 26 Oct 2009, at 19:46, Ken Thomases wrote: You want STAssertEqualObjects, here. You want to compare for equal value, not identity, which is what STAssertEquals does. Greg, Ken, Thanks, that is what I was looking for. Great help, thank you. Ian

Handling calculations with many decimal places

2009-11-03 Thread Ian Piper
first 50 or so decimal places. Is this a limitation of long double that I am running into here? Should I be using NSDecimal instead to do this kind of calculation? If so, can anyone point me at a good example of its use as I am struggling with how to use it? Thanks, Ian

Re: Handling calculations with many decimal places

2009-11-03 Thread Ian Piper
On 3 Nov 2009, at 21:22, Greg Guerin wrote: Ian Piper wrote: I want to be able to display potentially a large number of decimal places in the result (hundreds at least). Explanation and many links to libs: http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic Any lib written in C

AHGoToPage function

2009-11-07 Thread Ian Piper
I'm clearly misunderstanding something - any guidance would be appreciated. Thanks, Ian. -- Build results errors Build DailyJournal of project DailyJournal with configuration Debug CompileC build/DailyJournal.build/Debug/DailyJournal.build/Objects- norma

Re: AHGoToPage function

2009-11-07 Thread Ian Piper
On 8 Nov 2009, at 01:47, Ian Piper wrote: Hi all, I hope someone can illuminate me. Erm, I just illuminated myself. First, I was typing AHGoToPage, not AHGotoPage (though I think my version looks nicer). Second, I hadn't added the Carbon Framework. Now that I have done both, it

Adding a vertical scrollbar to a multiline textfield

2009-11-10 Thread Ian Piper
s the best way to do this? Ian. -- ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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

EXC_BAD_ACCESS mystery

2009-11-10 Thread Ian Piper
- no code or other changes. It's a mystery and I wonder if anyone can advise how I can get to the root cause. Ian. -- ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Re: EXC_BAD_ACCESS mystery

2009-11-10 Thread Ian Piper
To Jens and Ryan, Thanks for the pointers - very helpful. Ian. -- ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at

Example of categorized lists in a Mail-type interface

2009-11-15 Thread Ian Piper
not looking for a complete solution, obviously, but some pointers or examples to use as a starting point. Thanks for any guidance you can offer. Regards, Ian. -- ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques

Re: Example of categorized lists in a Mail-type interface

2009-11-15 Thread Ian Piper
On 16 Nov 2009, at 01:09, Rob Keniger wrote: > > On 16/11/2009, at 4:38 AM, Ian Piper wrote: > >> I would appreciate it if someone could point me at an example that I could >> use as the basis for building a categorized list similar to the mail folders >> displa

How do you use an Application ID for an iPhone application

2009-11-24 Thread Ian Piper
mean that I have to explicitly put the real name of my app (IPNeatApp in the bogus example above) into the bundle identifier rather than ${PRODUCT_NAME:rfc1034identifier}? Any illumination gratefully received. Ian. -- ___ Cocoa-dev mailing list

Re: How do you use an Application ID for an iPhone application

2009-11-24 Thread Ian Piper
Matthew, Thanks - that seems a bit clearer. I'm still not clear though what, if any, use I need to make of the Application ID. From your reply it appears that I don't use it as a prefix in the bundle identifier after all. Is that right? Ian. On 25 Nov 2009, at 04:18, Matthew Mas

Re: Introductions to OOP?

2011-09-02 Thread Ian Joyner
nt environments. Ian On 3 Sep 2011, at 09:04, koko wrote: > Just stay away from th e1986 Byte Magazine article describing OOP ... pretty > funny actually. > > -koko > > On Sep 2, 2011, at 11:04 AM, Jens Alfke wrote: > >> >> On Sep 1, 2011, at 9:26 PM, Julie

Re: ObjC's flat and all-exported namespace, help!

2011-11-08 Thread Ian Joyner
it looks like Windows! I'm sure Apple will come up with a better solution and things they have done over the last few years with Objective-C (and tagged pointers in Lion as we have just discussed in the Obj-C group) have been very nice and simplifying (even for a language based on C). We should n

Re: ObjC's flat and all-exported namespace, help!

2011-11-09 Thread Ian Joyner
On 9 Nov 2011, at 22:44, Andreas Grosam wrote: > > On Nov 9, 2011, at 12:11 PM, Karl Goiser wrote: > >> Your first option looks better to me! >> :-) >> >> All I’m saying is that Objective C is a very mature language now > Depending on your perspective, you can say this for many languages. But o

Re: ObjC's flat and all-exported namespace, help!

2011-11-10 Thread Ian Joyner
On 10 Nov 2011, at 21:13, Karl Goiser wrote: > > On 10/11/2011, at 12:04 PM, Ian Joyner wrote: > >> It's the old I have a hammer so everything looks like a nail, but in C++'s >> case it's I have a programming language, so everything gets put in that. We

Re: ObjC's flat and all-exported namespace, help!

2011-11-10 Thread Ian Joyner
On 10 Nov 2011, at 21:22, Andreas Grosam wrote: > > On Nov 10, 2011, at 2:04 AM, Ian Joyner wrote: > > > So, in other words, you prefer "polymorphic runtime resolved" symbols over > "compile-time resolved symbols" (like in C++). Not saying that at all,

Re: Locks

2011-12-09 Thread Ian Joyner
You are probably looking for something like Dahm locks (invented by Dave Dahm on the Burroughs B5000 in the 1960s). Here is a long paper on locks including this origin: http://pages.cs.wisc.edu/~remzi/OSFEP/threads-locks.pdf Here is an idea of the ALGOL define for acquire: DEFINE ACQUIRELOCK

Re: Locks

2011-12-10 Thread Ian Joyner
On 11 Dec 2011, at 01:50, Scott Ribe wrote: > On Dec 9, 2011, at 4:48 PM, Ian Joyner wrote: > >> You are probably looking for something like Dahm locks (invented by Dave >> Dahm on the Burroughs B5000 in the 1960s). Here is a long paper on locks >> including

Re: Xcode - An Apple Embarrassment

2012-03-01 Thread Ian Joyner
good, but runs under X11, and does not generate the best OS X applications. It would be nice to target languages apart from Objective-C to Xcode, but it is too much of a moving target. Ian On 2 Mar 2012, at 10:27, Gene Crucean wrote: > Man I don't know why there is soo much hate toward

Best practice example for a setup wizard?

2010-01-13 Thread Ian Piper
might be an example illustrating best practice. Can anyone point me at some documentation or examples that might help? Thanks, Ian. -- Ian Piper ianpi...@mac.com -- If I'd asked people what they wanted, they would have said faster horses (H

Re: Best practice example for a setup wizard?

2010-01-14 Thread Ian Piper
rase "best practice" again) for my program to authenticate the user that way? Regards, Ian. -- On 13 Jan 2010, at 22:54, Marcel Weiher wrote: > Hi Ian, > > well, in a sense the lack of examples *is* illustrating the best practices > concerning setup wizards :-) > &

Re: Carbon is C++?

2010-02-28 Thread Ian Joyner
to write in C++. Should you write any high-level applications in C++ - probably not. If you are just writing Cocoa apps - don't use it. Just stick to Objective-C. The idea of Objective-C++ is really to port things from other platforms more easily, or perhaps do cross-platform development.

Reading and writing rtf(d) files

2009-07-01 Thread Ian Piper
ne point me to an example that describes how I am supposed to tell my application that it should read and write rtf (or rtfd) files? Ian. -- ianpi...@mac.com 07590 685840 | 01926 811383 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please d

Reading and writing rtf(d) files

2009-07-02 Thread Ian Piper
bump bump :-) Ian. -- ianpi...@mac.com 07590 685840 | 01926 811383 Begin forwarded message: From: Ian Piper Date: 1 July 2009 3:53:52 pmBST To: Cocoa-dev@lists.apple.com Subject: Reading and writing rtf(d) files Hi all, I have a question about reading and writing file types. I have been

EXC_BAD_ACCESS on returning an int?

2009-07-04 Thread Ian Havelock
Hi All, I've just started to learn my way around Cocoa but I've come across an error message that I don't understand and googling hasn't really shed any light on the subject. I have defined a simple polygon class with 3 int's, called PolygonShape. When debugging I can see that I am setti

Implementing previous, next, first, last controls in Core Data applications

2009-07-12 Thread Ian Piper
, backward, first and last buttons. Thanks, Ian. -- ianpi...@mac.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Solved: Implementing previous, next, first, last controls in Core Data applications

2009-07-13 Thread Ian Piper
ntroller. and choose canSelectNext as the Controller Key. Then control-drag from the button to the controller in the main window and choose the selectNext: action. The process for Previous is similar. Anyway, I hope someone else finds this useful. Regards, Ian. -- ianpi...@mac.com 0759

Re: Ideas required on testing an application install

2009-07-19 Thread Ian Piper
es up with the question-mark-in-a-folder symbol. How do you get the SD card to act as a bootable drive? Ian. -- ianpi...@mac.com 07590 685840 | 01926 811383 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reque

Re: Ideas required on testing an application install

2009-07-19 Thread Ian Piper
On 19 Jul 2009, at 6:46pm, Andy Lee wrote: On Jul 19, 2009, at 7:45 AM, Ian Piper wrote: How do you get the SD card to act as a bootable drive? Did you try Google? A search for "boot sd card macbook" turned up this as the first hit: <http://arstechnica.com/apple/news/2009

Re: iOS: Monospaced fonts aren't?

2010-12-10 Thread Ian Joyner
On 11 Dec 2010, at 07:16, Murat Konar wrote: > Maybe CourierNewPS-BoldMT is not a monospaced font? It sounds like one of those rip-off fonts that have polluted the font space. Is plain Courier not available on iOS? I have some links about fonts from one of my pages (click the 'here' links): ht

Re: iOS: Monospaced fonts aren't?

2010-12-10 Thread Ian Joyner
On 11 Dec 2010, at 11:02, Phillip Mills wrote: > On 2010-12-10, at 5:38 PM, Ian Joyner wrote: > >> Is plain Courier not available on iOS? > > Courier is there but with the same problem. How about other monospaced fonts? Monaco is the only other common one I can think

Re: iOS: Monospaced fonts aren't?

2010-12-10 Thread Ian Joyner
ourier New comparison. While font issues aren't exactly specific to Cocoa, this is an issue that should be much more widely known about, especially among developers. But I also have the question about which fonts are officially sanctioned by Apple to use? Ian On 11 Dec 2010, at 09:38, Ian Joyner

Re: strategies for working w/ large amounts of text

2010-12-13 Thread Ian Joyner
L later. Once you have a model, this might help you see potential applications. Having said that, I believe we are at the beginning of rearranging many linear texts into more immediately and easily useful forms, particularly teaching texts. Ian ___

Re: Why so many public properties all up in my grizzle?

2012-03-16 Thread Ian Joyner
with properties. Ian On 17 Mar 2012, at 08:56, Conrad Shultz wrote: > On 3/16/12 2:00 PM, Brian Lambert wrote: >> This means that my UILabel called labelMyLabel is publicly available. >> Anyone who has access to an instance of MyViewController can do anything >> they want to w

Re: const correctness

2012-03-18 Thread Ian Joyner
h messes (JS in particular), language design, and subtly why C and C++ are poor languages. Oh, yeah, and why the web is such a mess (just bad ideas done quickly and a great perspective on the lasting effect of the browser wars). This series is well worth watching for the insights it has into our professi

Re: const correctness

2012-03-19 Thread Ian Joyner
-complete-series/ >> >> which is about far more than just Javascript. It is about why programmers >> are resistant to new ideas, how we usually end up with messes (JS in >> particular), language design, and subtly why C and C++ are poor languages. >> Oh, yeah, and why

Re: const correctness

2012-03-19 Thread Ian Joyner
On 20 Mar 2012, at 02:43, Nick Zitzmann wrote: > On Mar 19, 2012, at 5:51 AM, Ian Joyner wrote: > >> Actually NSArray. Note NSMutableArray inherits from NSArray because it adds >> extra functionality in methods that can change the object. You can assign an >> NSM

Re: const correctness

2012-03-19 Thread Ian Joyner
oa community, even though not directly Cocoa related, but his thinking is relevant to so many things and most of us have to be involved in the web in one way or the other. Thanks Ian P.S sounds like you still need to go and study up some material on the B5000 to see how a really elegant design of 50 y

Re: Displaying "Trebuchet MS" font

2013-05-13 Thread Ian Joyner
On 14 May 2013, at 04:37, Appa Rao Mulpuri wrote: > Any specific reason not to use "Trebuchet MS"? I faced some issues with the > few components (ilke Table Header cell, NS Button) text vertical center > alignment except that Look and feel wise its equivalent to "Lucida Grande". > And also bo

Re: Displaying "Trebuchet MS" font

2013-05-15 Thread Ian Joyner
good resource sites making such recommendations please pass them on. The many books on typography I have don't actually make this very clear. Ian On 15 May 2013, at 05:46, Jens Alfke wrote: > > On May 13, 2013, at 6:43 PM, Ian Joyner wrote: > >> Yes there is now a confusi

Re: NSMapTable with C strings as keys

2013-05-29 Thread Ian Joyner
On 29 May 2013, at 14:14, Oleg Krupnov wrote: > While I generally agree that premature optimization is evil, That seems to come out of a belief that well-structured code is code that runs poorly (this belief came out of an IBM system of the 50s/60s that had really poorly running subroutine cal

Re: NSMapTable with C strings as keys

2013-05-30 Thread Ian Joyner
On 30 May 2013, at 12:33, Jens Alfke wrote: > > On May 29, 2013, at 6:30 PM, Ian Joyner wrote: > >> That seems to come out of a belief that well-structured code is code that >> runs poorly > > No, it’s a paraphrase of a famous quote by Don Knuth ("We should fo

Re: NSMapTable with C strings as keys

2013-05-30 Thread Ian Joyner
On 31 May 2013, at 01:43, Jens Alfke wrote: > > On May 30, 2013, at 3:52 AM, Ian Joyner wrote: > >> What I am trying to point out though is that there is a misapprehension that >> premature optimization means writing structured code early on so don't >> struct

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-23 Thread Ian Joyner
On 23 Jun 2013, at 13:32, "Reaves, Timothy" wrote: > What the docs state that is meaningless (although inaccurate); the > Objectice-C manual could very easily state that Objective-C is not a > programing language; it is. CoreData is a database. OK, what the Apple doc http://developer.apple.co

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-23 Thread Ian Joyner
Thanks for the reference to Codd's early paper. I'm researching the relational model now since I'm giving a course in distributed systems soon. In fact, I'm reading Codd's 1990 book "The Relational Model for Database Management Version 2". It is available as a pdf (although I have had the physic

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Ian Joyner
very much envisaged databases to be used by end users and not (just) by programmers. This was before Xerox PARC and Apple, and this is where SQL is a 'psychological' failure. On 24 Jun 2013, at 11:23, Ian Joyner wrote: > On 23 Jun 2013, at 13:32, "Reaves, Timothy" >

Re: Why is it wrong to have relationships without an inverse

2013-06-24 Thread Ian Joyner
On 24 Jun 2013, at 02:11, Gordon Apple wrote: > You mentioned MacApp. I was heavily involved in that for awhile and even > got into the credits. I don¹t know if you remember Bob Krause. When I was > running the developer sig at LA Mac Group, I had him down for a presentation > on his object da

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Ian Joyner
So I think, if I understand what Graham is suggesting, that in a relational DB design you would model this with three relations 1) Parent 2) children (which could be the same as parent) 3) active_children. If a child is active you insert it in the active_children set (relation is a particular ki

Re: Core Data Reverse Engineering KickStarter Project

2013-06-24 Thread Ian Joyner
On 23 Jun 2013, at 11:38, Michael Crawford wrote: >> To me, it's not that you'd have to write all the code from scratch that >> makes Core Data concerning, it's the fact that the format is undocumented. > >> If Apple published a complete specification for the format, I'd be willing >> to use C

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-29 Thread Ian Joyner
Was there ever a satisfactory answer to this? I'm not sure what the CD modelling answer is, but this seems to be related to relational modelling referential integrity or in plainer language - no dangling pointers - in db language a foreign key must have a primary key in another relation. For ex

Re: Will programmers new to Cocoa benefit from a Cocoa Design Patterns Book ?

2008-06-02 Thread Ian Robinson
When is it published? Ian __ Ian Robinson - Belfast - UK Soapbox - <http://www.canicula.com/wp> On 3 Jun 2008, at 00:05, Erik Buck <[EMAIL PROTECTED]> wrote: In answering some private email about the forthcoming "Cocoa Design Patterns" book, I made the following ob

Re: Have questions...

2008-06-13 Thread Ian Joyner
On 13/06/2008, at 2:09 PM, Rick Langschultz wrote: Am I aloud to ask where I can submit my iPhone programming questions to? Yes, much to loud! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator co

Re: Dot Syntax docs missing?

2008-07-19 Thread Ian Joyner
On 19/07/2008, at 11:36 PM, Michael Ash wrote: On Sat, Jul 19, 2008 at 1:14 AM, Rick Mann <[EMAIL PROTECTED]> wrote: On Jul 18, 2008, at 21:51:57, Jerry Krinock wrote: setEp1: should work. The colon is significant and is a part of the method name. In fact, I do have the colon in the ac

Two Questions About Parsing a String

2008-07-22 Thread Ian Jackson
simultaneously? i.e. how do I search for the characters without momentarily ignoring the strings or vice versa? This seems to be quite straightforward with fscanf, but it seems a bit odd going to C, when I'm trying to do this in Objective- C. Any help with either question would be mu

Re: Two Questions About Parsing a String

2008-07-22 Thread Ian Jackson
Thanks for your responses. Looks like stringWithContentsOfFile:encoding:error: does what I need. Jens, at least I know not to pursue the NSScanner thing any further in this case. Thanks, Ian. On 23/07/2008, at 3:39 AM, Jens Alfke wrote: On 22 Jul '08, at 2:09 AM, Ian Jackson

Re: Drawing a drop-shadow around a view

2008-07-25 Thread Ian Jackson
whether this takes care of everything or not. I think it does. Ian. P.S. if anyone recognises this code as theirs, then I apologise. SEDrawingClipView.m Description: Binary data On 25/07/2008, at 1:43 PM, Graham Cox wrote: I have a view embedded in a NSScrollView. When the view is sma

Re: Drawing a drop-shadow around a view

2008-07-25 Thread Ian Jackson
draw shadows. Ian. On 26/07/2008, at 7:36 AM, Jonathan Dann wrote: How odd I came across this yesterday on my travels! The site for this source is http://www.bergdesign.com/missing_cocoa_docs/nsclipview.html Jonathan www.espresso-served-here.com On 25 Jul 2008, at 11:13, Ian Jackson wrote:

Re: Cocoa Dev Style: Using Class versus Object Methods

2008-08-08 Thread Ian Joyner
es of attributes. Putting things on the stack is only an optimization which some OO languages let you do, if you know certain conditions will be met. Ian On 08/08/2008, at 3:08 AM, Lee, Frederick wrote: Greetings: I just came across a NSObject subclass written by someone, that contains a coup

Re: ObjC 2.0, properties, KVC, special _ hacks etc.

2008-08-22 Thread Ian Joyner
On 22/08/2008, at 12:59 PM, Thomas Engelmeier wrote: Am 22.08.2008 um 00:59 schrieb Dave MacLachlan: Also, are the _ in front of member variables for Apple only (so we don't stomp on each other with member var names) or are they using them for the readability reason mentioned above? There i

NSPersistentDocument Tutorial

2008-03-12 Thread Ian Jackson
uld be read from the Employee class? Thanks in advance, Ian. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Uns

Re: NSPersistentDocument Tutorial (SOLVED)

2008-03-13 Thread Ian Jackson
I assumed that fullNameAndID would be available among the choices presented in the bindings pane. That not being the case, I tried typing it in, and it worked. Yay! Ian. On 13/03/2008, at 1:20 AM, Adam P Jenkins wrote: On Mar 12, 2008, at 5:15 AM, Ian Jackson wrote: I was happily

NSTreeController & NSOutlineView bindings w/ Core Data

2008-03-17 Thread Ian Kennedy
thods I should add to map the children Any help would be much appreciated, I've been struggling with this for days. Thanks in advance, Ian Kennedy ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests o

xmldata: ContentTypeDeclaration *and* NodePrettyPrint?

2008-03-21 Thread Ian Kennedy
ions:NSXMLNodePrettyPrint]; Thanks in advance, Ian Kennedy -- nolite te bastardes carborundorum. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-

XML to RTF transformation via XSL

2008-03-22 Thread Ian Jackson
ng RTF output with bigger bolder text corresponding to etc. Ian. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple

Re: Core Data/IB questions

2008-03-27 Thread Ian Jackson
dead end. I can't see how to make the combobox choose the entry. The combo box doesn't have the same binding options as a popup menu. Any advice as to how to approach this would be great. Ian. On 27/03/2008, at 7:34 PM, Adam Gerson wrote: I think that internally when you create

Re: Core Data/IB questions

2008-03-28 Thread Ian Jackson
o be in the mountain biking club. However, I leapt into the mailing list too quickly, seeing a similar topic popup, so I need to go and give it more thought, and if I'm still stuck, I'll send another message. Thank you Ian. On 28/03/2008, at 5:11 AM, Adam Gerson wrote: Is what

Re: Untitled NSPersistentDocument has no persistent store

2008-04-02 Thread Ian Jackson
Have you done the tutorial? http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/NSPersistentDocumentTutorial.pdf You can add in the data as you like, and save when you've finished. Ian. On 2/04/2008, at 9:42 PM, Quincey Morris wrote: It appears that

to-Some Relationship (Core Data/IB questions)

2008-04-02 Thread Ian Jackson
have to become a kind of property of the entity which is choosing from the relationship. The point of this is to have a store of objects in the second entity, which can be picked from by objects of the second entity as needed. I'd appreciate any advice, thank

Re: Untitled NSPersistentDocument has no persistent store

2008-04-02 Thread Ian Jackson
Ah OK, I see. But I can't help. However the business of saving before you start happens with Garageband and iMovie. So on the plus side, it's not unheard of. On the downside, I agree it's a bit odd. Ian. On 2/04/2008, at 10:26 PM, Quincey Morris wrote: On Apr 2, 2008

Re: Bindings for NSComboBox?

2008-04-02 Thread Ian Jackson
Does this mean that you want to create a new object and add it to the array, by typing a new string into the combo box (and pressing enter)? My feeling is you'd need to write a bit of code yourself for that. Ian. On 1/04/2008, at 9:44 AM, David Springer wrote: All, I'm havi

Re: NSTableView - hiding columns

2008-04-11 Thread Ian Jackson
ow it. Ian. On 11/04/2008, at 10:28 PM, Valentin Dan wrote: The number of columns is dynamic as are the columns I need to hide ... it all depends on the settings & access rights of the user. ___ Valentin Dan, Software

Re: Uneditable NSTableView

2008-04-23 Thread Ian Jackson
Perhaps you have a good reason, but from your description, and being used to using Mail, I'd expect the lower part to display the content with a single click. Have you used setTarget: and setAction: to coordinate this double click event? Ian. On 23/04/2008, at 8:33 PM, Ewan Delanoy

Re: Carriage returns and NSXMLParser

2008-04-23 Thread Ian Jackson
th a space instead of the \n? Ian. On 23/04/2008, at 12:16 AM, Brad Peterson wrote: Hi, Have there been any recent changes to NSXMLParser with respect to carriage returns? I haven't noticed it previously, but I'm suddenly seeing a lot of cases where carriage returns embedded in

Re: Debugger at odds with reality? [SOLVED]

2008-04-27 Thread Ian Jackson
I've found that trashing the build folder is often a worthwhile step, and one other thing someone pointed out to me, is that you should do it when Xcode is not running. Otherwise it can still mysteriously remember some things that it's cached. Ian. On 27/04/2008, at 9:47 PM,

Re: Cocoa and the need for a dynamic language

2009-01-18 Thread Ian Joyner
On 18/01/2009, at 1:51 PM, Erik Buck wrote: Both Objective-C message sending and C++ virtual function calls commonly prevent in-lining because the _compiler_ can not determine which code will actually be called. If you use Objective-C message sending or C++ virtual member functions, you f

Job posting for Cocoa developer

2009-02-06 Thread Ian Marsh
nce a plus - Experience with business logic - Knowledge of x86 assembly Remuneration based on experience. All interested applications are invited to submit their C.V. and code samples to care...@xsilva.com Thanks! Ian Marsh Xsilva Systems ian.ma...@xsilv

Re: NSNull and @""

2008-10-10 Thread Ian Joyner
On 11/10/2008, at 9:33 AM, Seth Willits wrote: On Oct 10, 2008, at 3:20 PM, DKJ wrote: I've made an NSDictionary where the values are strings. Is there a difference between setting a value as [NSNull null] and setting it as @""? (I've been using the former.) Is there a difference? Definit

Re: NSNull and @""

2008-10-10 Thread Ian Joyner
On 11/10/2008, at 11:58 AM, Seth Willits wrote: On Oct 10, 2008, at 5:40 PM, Ian Joyner wrote: I'm just trying to work out what NSNull really is in the Cocoa context. Is it an object in Cocoa? As I said, yes. It's truly an object. (A singleton, as well.) Since NSNull may b

Re: NSNull and @""

2008-10-10 Thread Ian Joyner
On 11/10/2008, at 12:31 PM, Kyle Sluder wrote: On Fri, Oct 10, 2008 at 8:40 PM, Ian Joyner <[EMAIL PROTECTED]> wrote: I'm just trying to work out what NSNull really is in the Cocoa context. Is it an object in Cocoa? I think (from other environments) that it is a type signifying

  1   2   >