Re: [iPhone] How to scroll to UITableView footer view

2010-05-02 Thread Scott Anguish
contentSize is the correct way to do this. It gives a ‘buffer zone’ at the top and bottom (and sides if you wish) on the scroll view. On May 1, 2010, at 11:04 PM, Luke the Hiesterman wrote: > UITableView is a subclass of UIScrollView. So, you can ask for its > contentSize and then call scrollR

Re: [iPhone] How to scroll to UITableView footer view

2010-05-02 Thread Scott Anguish
if by footer view, you mean content that is at the end of a table view, I suggest you read the UIScrollView Guide, specifically the issues regarding contentOffset. On May 2, 2010, at 11:14 AM, Scott Andrew wrote: > What about making the rect your view's actual bounds. Something like... > > C

Re: [modeator] Re: #macdev/#iphonedev ban, in need of sympathy

2010-05-02 Thread Scott Anguish
and this is what I get for posting at 2:30 on a Sunday night I’m of course the [Moderator] not modeator. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderator

[modeator] Re: #macdev/#iphonedev ban, in need of sympathy

2010-05-02 Thread Scott Anguish
Having re-read your note, and noticed the language that was pointed out, you have been moderated on this list. This is not the appropriate location for such language. On May 2, 2010, at 10:30 PM, Patrick M. Rutkowski wrote: > I just got kick/banned from #macdev and #iphondev. I was asking an >

[modeator] Re: #macdev/#iphonedev ban, in need of sympathy

2010-05-02 Thread Scott Anguish
Issues with IRC are not directly related to cocoa development and do not belong here. please take these issues elsewhere. On May 2, 2010, at 10:30 PM, Patrick M. Rutkowski wrote: > I just got kick/banned from #macdev and #iphondev. I was asking an > exceptionally complicated NSStream question

Re: Compress / Uncompress

2010-05-02 Thread Jens Alfke
On May 2, 2010, at 7:09 PM, k...@highrolls.net wrote: > I have done unzip and uncompress as NSTask but neither yields the result as > if the compressed directory was double-clicked in the Finder. The Finder creates a standard zip archive, so ‘unzip’ is the right task to run via NSTask. > Spec

Re: #macdev/#iphonedev ban, in need of sympathy

2010-05-02 Thread Gregory Casamento
I should also mention that the alternative on FreeNode for the iPhone development instead of #iphonedev is #iphone. My recommendation is to go there and to #macosxdev instead of #macdev if you want actual questions answered. I'm saying this from experience. :) GC On Sun, May 2, 2010 at 10:54 PM

NSPrintOperation Fails to Auto-Paginate?

2010-05-02 Thread DairyKnight
Hi all, I've been working on a tool to print an NSView to a PDF file. I followed Apple's documentation but couldn't get the auto-pagination work. The resulting PDF file is always long and one-page. Hope someone with relevant experience could help me. My code is as follows: MyCustomView *curView

Re: #macdev/#iphonedev ban, in need of sympathy

2010-05-02 Thread Gregory Casamento
Patrick, There are alternative channels on FreeNode to discuss Mac/iPhone development. You might give #macosxdev a shot since it seems to have developers in it who know what they're doing and are relatively nice. GC On Sun, May 2, 2010 at 10:45 PM, Patrick M. Rutkowski wrote: > Sorry, this is

Re: #macdev/#iphonedev ban, in need of sympathy

2010-05-02 Thread Dave DeLong
They're separate in the sense that this mailing list is hosted and moderated by Apple, and #macdev and #iphone are not. However, I wouldn't be surprised if there's quite a bit of crossover between this community and the IRC community. If you're interested, you may also consider checking out Sta

Re: #macdev/#iphonedev ban, in need of sympathy

2010-05-02 Thread Patrick M. Rutkowski
Sorry, this is all just really frustrating, and I guess I was running under the false assumption that #macdev/#iphone and the mailing lists are the same user community :-/ My apologies for the language. Your right, I shouldn't have posted this to the list at all. -Patrick On Sun, May 2, 2010 at

Re: #macdev/#iphonedev ban, in need of sympathy

2010-05-02 Thread Barry Skidmore
I'd ban you just for your language personally. The run on sentences and half thought out bad logic aside. Sent from my iPhone On May 2, 2010, at 7:30 PM, "Patrick M. Rutkowski" wrote: I just got kick/banned from #macdev and #iphondev. I was asking an exceptionally complicated NSStream q

Re: #macdev/#iphonedev ban, in need of sympathy

2010-05-02 Thread Dave DeLong
Hi Patrick, This mailing list is not the place for you to grind your axe. It's where we ask questions and provide answers. I'd also just like to point out that excessive profanity and abusive language is a ban-worthy offense, as outlined in the terms and conditions you agreed to when signing

#macdev/#iphonedev ban, in need of sympathy

2010-05-02 Thread Patrick M. Rutkowski
I just got kick/banned from #macdev and #iphondev. I was asking an exceptionally complicated NSStream question in #iphonedev, and though I got a lot of pseudo-answers, nobody really even understood the question to begin with; I hand't even gotten far enough in physically typing out the text explain

Compress / Uncompress

2010-05-02 Thread koko
If a director is compressed in the Finder, and added to an app's resources, and the app wants to copy the compressed director to a location and uncompress the directory what is the correct process. I have done unzip and uncompress as NSTask but neither yields the result as if the compresse

Re: advancementForGlyph problem

2010-05-02 Thread David F.
On Apr 30, 2010, at 10:37 AM, Dale Miller wrote: > For character measurements, if you are using the Cocoa text system, use the > font returned by the NSLayoutManager method "subtituteFontForFont:" in order > to get the screen font used by Cocoa text. However, experimentally, I found > that for

Re: advancementForGlyph problem

2010-05-02 Thread David F.
On Apr 30, 2010, at 7:20 AM, Graham Cox wrote: > > On 30/04/2010, at 9:08 PM, steven Hooley wrote: > >>> From your later response it seems like your question is really >> regarding drawing strikethroughs and underlines. If so, the strike >> through and underline are not part of the glyph or fon

Re: advancementForGlyph problem

2010-05-02 Thread David F.
On Apr 30, 2010, at 5:08 AM, steven Hooley wrote: >> The information I am getting back from advancementForGlyph doesn't >> seem to be correct. Here are the glyph bounds and advancement for >> the capital letter 'A' in Georgia 36pt: >> >> == A == >> bounds x: -0.720703 >> bounds y: 0.00 >> b

Prevent NSTableView deactivate when window active

2010-05-02 Thread Trygve Inda
The Finder is able to keep both a SourceView and a Table view active at the same time... Both highlight in the "active" mode as long as the window is active. The Table seems to always have the keyboard focus. How can I achieve the same thing in my app without resorting to custom drawing? Thanks,

Re: CoreData "in" predicate

2010-05-02 Thread Rick Mann
Thanks, everyone, for telling me about "self." On May 2, 2010, at 14:53:09, Frederick Reimer wrote: > Wrong assumption; you would actually use "SELF" in a format string, as it is > a reserved word. So @"SELF IN %@" > > I think... > > > Fred Reimer, CCIE 23812 CISSP 107125 > mailto:frei...@fr

Re: CoreData "in" predicate

2010-05-02 Thread Chris Hanson
On May 2, 2010, at 6:03 AM, Rick Mann wrote: > I saw that, I had hoped that by not specifying an attribute, it would mean > the object itself, not an attribute on the object. Predicates have the “self” keyword for that. — Chris ___ Cocoa-dev mail

Re: [iPhone] How to scroll to UITableView footer view

2010-05-02 Thread Scott Andrew
What about making the rect your view's actual bounds. Something like... CGRect footerBounds = [footerView bounds]; CGRect footerRectInTable = [tableView convertRect:footerBounds fromView:footerView]; [tableView scrollToRect:footerRectInTable animated:YES]; This should scroll to the footer view

Re: CoreData "in" predicate

2010-05-02 Thread Rick Mann
I saw that, I had hoped that by not specifying an attribute, it would mean the object itself, not an attribute on the object. On May 2, 2010, at 05:58:39, Frederick Reimer wrote: > The manuals for this give the following example: > > NSPredicate *inPredicate = > [NSPredicate predic

CoreData "in" predicate

2010-05-02 Thread Rick Mann
Hi. I have two entities: Mission and Favorite. Favorite has a single relation to Mission. I need to fetch all Mission objects that exist in Favorite. I'm using an NSFetchResultsController. I created an array with all the Mission objects found in the Favorite entity. Then I tried to create a pr

Re: Value Bindings in IB - Where's the documentation?

2010-05-02 Thread Ken Thomases
On May 2, 2010, at 5:14 AM, Brian Bruinewoud wrote: > I'm trying to find documentation about what the various bindings in IB > actually do. If I look at the documentation for NSArrayController (or any > controller) and NSPopUpButton (or any UI control) I don't find what I'm > looking for. http

Value Bindings in IB - Where's the documentation?

2010-05-02 Thread Brian Bruinewoud
Hi All, I'm trying to find documentation about what the various bindings in IB actually do. If I look at the documentation for NSArrayController (or any controller) and NSPopUpButton (or any UI control) I don't find what I'm looking for. In general, where is there a description of the various b