Re: If Array Controller is empty, how to populate pop-up list?

2010-01-14 Thread Rob Keniger
On 15/01/2010, at 4:24 PM, Jenny M wrote: > Like I mentioned previously - when I do that, it stays there even after an > object has been added, which is not what I'm aiming for. I only want it to > appear when empty. Ah, sorry, I didn't see that in your original post. -- Rob Keniger ___

Re: If Array Controller is empty, how to populate pop-up list?

2010-01-14 Thread Jenny M
Like I mentioned previously - when I do that, it stays there even after an object has been added, which is not what I'm aiming for. I only want it to appear when empty. In your content binding for the popup button in Interface Builder, check the > "Inserts Null Placeholder" checkbox and enter a v

Re: Time to drop PowerPC support?

2010-01-14 Thread Chris Idou
>Another factor to consider is that you will need to maintain PowerPC >hardware to test on. > >--Kyle Sluder I had a 50,000 line Cocoa program, and I thought about restricting it to Intel for that reason, but then I thought heck, I'll build it universal and throw it out there. Not a single bu

Re: Time to drop PowerPC support?

2010-01-14 Thread Dominic Blais
Thank you for these responses! I think we will roll out with PowerPC but EOL support for it within 6 months of the next major Apple OS release. As Bombax is for server operation, I think the hardware adoption is a little more conservative than with desktop users, but that 9% PPC population is a re

Re: Time to drop PowerPC support?

2010-01-14 Thread Kyle Sluder
We have announced that all new major releases of our software will require Snow Leopard (and therefore Intel processors). You can see our current usage statistics at http://update.omnigroup.com—choose Hardware from the popup list, and then choose CPU Type. Another factor to consider is that you wi

newbie question -views and MCV model

2010-01-14 Thread Martin Beroiz
Hello all, i have a very noob question about the MCV model to display a data file in a view. I'm trying to implement Model-Controller-View. So, so far I created a class called FilterBank that will contain all the data to be plotted plus a method to init from a file. Then I included one instanc

Confused about setting selection in NSBrowser

2010-01-14 Thread Chris Idou
I'm trying to set the selected item in an NSBrowser. I don't want to use setPath: because the items I'm storing in the browser are not unique, so therefore paths are not unique. I'm trying to use setIndexPath: but when I try the program throws an exception: HIToolbox: ignoring exception 'setS

Re: Time to drop PowerPC support?

2010-01-14 Thread Nick Zitzmann
On Jan 14, 2010, at 11:17 AM, Dominic Blais wrote: > So the big question I have for the group is whether it is important for new > Cocoa software that has a 10.5+ requirement to support PowerPC. We really > want to do the best by our users, both in the sense of supporting their > hardware and de

Re: If Array Controller is empty, how to populate pop-up list?

2010-01-14 Thread Rob Keniger
On 15/01/2010, at 1:18 PM, Jenny M wrote: > However, message #1 still stands - how do I implement a placeholder object > only when the array is empty?? In your content binding for the popup button in Interface Builder, check the "Inserts Null Placeholder" checkbox and enter a value in the "Nul

Help with Client/Server GameKit

2010-01-14 Thread John Gentilin
This may net be the right list but hopefully someone has seen this issue and can help me out... I have an IPhone app using GameKit, in client server mode. After I terminate the Client App a few times with the home button, it fails to connect to the server. The problem is, when I send the messa

Time to drop PowerPC support?

2010-01-14 Thread Dominic Blais
Hello. OS X 10.6 is the first version of OS X that doesn't support the PowerPC architecture (http://www.apple.com/macosx/specs.html). We're working on a Cocoa server-side web framework and server ( http://www.bombaxtic.com/bombax) and so far we've been making universal builds. We support OS X 10

Re: Tutorial on writing a Cocoa/Mac app.

2010-01-14 Thread Cameron @ Gmail
Thats excellent, thank you. On 14 Jan 2010, at 1:22 PM, lbland wrote: hi- We placed a manual with 4 tutorials in it at: http://www.peervisual.com/manuals/VvidgetCode Including one showing how to build a Cocoa/Mac app from scratch. It might be useful to those that want a description of Coc

Re: If Array Controller is empty, how to populate pop-up list?

2010-01-14 Thread Jenny M
Cancel Message #2 - I figured out how to change the selected object. I added one more binding - I bound the NSPopUpButton "Selected Index" to "ArrayController.selectionIndex". However, message #1 still stands - how do I implement a placeholder object only when the array is empty??

Re: NSDocument

2010-01-14 Thread Rob Keniger
On 15/01/2010, at 5:57 AM, David Blanton wrote: > I need awakeFromNib to be called for any instance on my NSDocument sublass. This isn't an answer to your question, but I believe generally you should be using the -windowControllerDidLoadNib: method of NSDocument instead of -awakeFromNib if yo

Re: NSDocument

2010-01-14 Thread Graham Cox
On 15/01/2010, at 10:16 AM, Matt Neuburg wrote: > Because I was totally wrong! Ignore me. The MyDocument is the file's owner > for the document nib, so it does have an instance in the nib, and > awakeFromNib is called when the nib opens for a document. m. Still slightly wrong. File's Owner is

Re: If Array Controller is empty, how to populate pop-up list?

2010-01-14 Thread Jenny M
Uhh, okay so there's another problem I discovered. Below the popupmenu, I have two text fields that are supposed to show two of the attributes of the selected object (in the array controller). But changing the selection in the popupmenu does NOT change the selected item in the array controller. How

Re: Bindings Problem

2010-01-14 Thread mmalc Crawford
On Jan 14, 2010, at 3:11 pm, Carter R. Harrison wrote: > In the addValueToSet: method I have the following code: > - (IBAction)addValueToSet:(id)sender > See

Re: NSDocument

2010-01-14 Thread Matt Neuburg
On or about 1/14/10 1:19 PM, thus spake "David Blanton" : > Thank you for commenting but now I am really confused. When a project Because I was totally wrong! Ignore me. The MyDocument is the file's owner for the document nib, so it does have an instance in the nib, and awakeFromNib is called wh

Bindings Problem

2010-01-14 Thread Carter R. Harrison
I'm sure what I'm trying to do is not that difficult but I've been pulling my hair out for a while now on this problem. I have an application whose model could be updated without the user directly doing anything. So bindings seems like the perfect fit b/c the interface will reflect these sorts

Re: NSDocument

2010-01-14 Thread Klaus Backert
On 14 Jan 2010, at 23:44, David Blanton wrote: Ok. So I diagnose that MyDocument.xib was somehow hosed. I deleted my main view which was embedded in a scroll view. Added a custom view set its class to my class MainView. Embedded MainView in a scroll view. Compiled and ran. And guess what,

Re: Changing FirstResponder with Inputmethod

2010-01-14 Thread imai asato
I found EXC_BAD_ACCESS error occurs when garbage collection is on only. But when when garbage collection is off, first letter is not send to NSTextField if InputMethod is on. For example, when typing '1' '2' '3' three keys when NSTextField is not first responder. If InputMethod is off, NSTextFie

Re: NSDocument

2010-01-14 Thread David Blanton
Ok. So I diagnose that MyDocument.xib was somehow hosed. I deleted my main view which was embedded in a scroll view. Added a custom view set its class to my class MainView. Embedded MainView in a scroll view. Compiled and ran. And guess what, awakeFromNib in MyDocument.m which is a sub class

Re: NSDocument

2010-01-14 Thread Klaus Backert
On 14 Jan 2010, at 22:51, David Blanton wrote: No. This is a vanilla document based app with two nibs, MainMenu and MyDocument as created by the project template. The document window is in MyDocument.xib. What is specified as the class of file's owner in the nib/xib file: (a subclass of

If Array Controller is empty, how to populate pop-up list?

2010-01-14 Thread Jenny M
Hi all, I have an Array Controller whose objects are displayed in an NSPopUpButton. I can add and remove objects, and they refresh automatically in the box as expected. However, what can I do if the array controller becomes empty? If I delete all the objects, or if the window starts up with an em

Re: NSDocument

2010-01-14 Thread David Blanton
No. This is a vanilla document based app with two nibs, MainMenu and MyDocument as created by the project template. The document window is in MyDocument.xib. On Jan 14, 2010, at 2:41 PM, Jeffrey Oleander wrote: On Thu, 2010/01/14, David Blanton wrote: From: David Blanton Subject: Re: NSD

Re: NSDocument

2010-01-14 Thread David Blanton
I do not have an object whose set to MyDocument. On Jan 14, 2010, at 2:34 PM, Charles Jenkins wrote: I'm a noob, but I'm gonna give my interpretation anyway and let the experts have a chance to correct my misunderstanding. I think Matt means that if you use IB to look at your MyDocument.nib

Re: NSDocument

2010-01-14 Thread Charles Jenkins
I'm a noob, but I'm gonna give my interpretation anyway and let the experts have a chance to correct my misunderstanding. I think Matt means that if you use IB to look at your MyDocument.nib (or .xib), in the window where you see File's Owner and other stuff, you should NOT see another NSObjec

Re: Dead iPhone Simulator :-(

2010-01-14 Thread Ricky Sharp
On Jan 14, 2010, at 3:27 PM, Michael Rogers wrote: > I'm running Mac OS X 10.6.2, and just installed the iPhone SDK 3.1.2. When I > launch anything in the simulator, it crashes, and I get a message complaining > about the Telephony state (which I believe is California :-) > > Jan 14 15:25:01

Re: Dead iPhone Simulator :-(

2010-01-14 Thread Kyle Sluder
1. Try wiping ~/Library/iPhone Simulator. 2. This mailing list is not a technical support hotline. 3. This mailing list is about Cocoa. Developer tools discussion belongs elsewhere, like xcode-users or the Developer Forums. --Kyle Sluder On Thu, Jan 14, 2010 at 1:27 PM, Michael Rogers wrote: > I

Re: IBLibraryObjectTemplate

2010-01-14 Thread David Blanton
Well here it is: <> and there is no way to delete it. Delete in the Edit menu is disabled, delete key does not do it ... How does one delete this ? -db On Jan 14, 2010, at 12:53 PM, Kevin Cathey wrote: The IBLibraryObjectTemplate is part of InterfaceBuilderKit, the framework used to crea

Dead iPhone Simulator :-(

2010-01-14 Thread Michael Rogers
I'm running Mac OS X 10.6.2, and just installed the iPhone SDK 3.1.2. When I launch anything in the simulator, it crashes, and I get a message complaining about the Telephony state (which I believe is California :-) Jan 14 15:25:01 michael-rogerss-macbook-pro SpringBoard[17946]: Unable to crea

Re: NSDocument

2010-01-14 Thread David Blanton
Only one nib (xib) that was created (MyDocument.xib) when the project was created form the document based app template. I am looking at the Open as Files Owner ... hmm not sure. Thanks. -db On Jan 14, 2010, at 1:27 PM, Quincey Morris wrote: On Jan 14, 2010, at 11:57, David Blanton wrote:

Re: NSDocument

2010-01-14 Thread David Blanton
Thank you for commenting but now I am really confused. When a project is created from the document based template it contains files MyDocument.h and MyDocument.m which define the interface and implementation for a class MyDocument that inherits from NSDocument. Whne built and and run if an

Re: NSDocument

2010-01-14 Thread Matt Neuburg
On Thu, 14 Jan 2010 12:57:57 -0700, David Blanton said: >When my document based app starts up the awakeFromNib method in my >NSDocument subclass is called. > >When I choose Open a new NSDocument is instanced but this does not >call awakeFromNib. > >Am I missing a setting? > >I need awakeFromNib to

Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !

2010-01-14 Thread Sean McBride
On 1/14/10 9:56 AM, rohan a said: >Should I then use kCFStringEncodingUTF8 in this case ? With NDAlias your function would look like: int CreateAlias(const char *target, const char *aliasname) { NSString* path = [NSFileManager stringWithFileSystemRepresentation:target length:strlen(target)];

Re: Cancelable NSBlockOperations

2010-01-14 Thread Michael Ash
On Thu, Jan 14, 2010 at 3:15 PM, Jamie Hardt wrote: > On Jan 14, 2010, at 12:07 PM, Nick Zitzmann wrote: > >> Sorry, forgot that block operations, unlike invocation operations, don't >> take arguments. (Guess which one I use more often?) Yes, I'd try what you're >> proposing. > > It was a good t

Re: NSArrayController Conceptual Problem

2010-01-14 Thread Quincey Morris
On Jan 14, 2010, at 12:10, Richard Somers wrote: > I have a Core Data document based application. In the data model there are > five entities. > > Currently I have a inspector panel with five NSArrayControllers, one for each > entity. The panel works well but currently all user interaction is c

Re: NSDocument

2010-01-14 Thread Quincey Morris
On Jan 14, 2010, at 11:57, David Blanton wrote: > When my document based app starts up the awakeFromNib method in my NSDocument > subclass is called. > > When I choose Open a new NSDocument is instanced but this does not call > awakeFromNib. > > Am I missing a setting? > > I need awakeFromNib

Re: Cancelable NSBlockOperations

2010-01-14 Thread Nick Zitzmann
On Jan 14, 2010, at 1:15 PM, Jamie Hardt wrote: > ...fails horribly. The debugger looks strange, I can't make sense of it. What fails horribly, creating the block or adding it? More details, please. Nick Zitzmann ___ Co

Re: Cancelable NSBlockOperations

2010-01-14 Thread Jamie Hardt
On Jan 14, 2010, at 12:07 PM, Nick Zitzmann wrote: > Sorry, forgot that block operations, unlike invocation operations, don't take > arguments. (Guess which one I use more often?) Yes, I'd try what you're > proposing. It was a good though, but doing something like this... NSBlockOperation *b =

NSArrayController Conceptual Problem

2010-01-14 Thread Richard Somers
I have a Core Data document based application. In the data model there are five entities. Currently I have a inspector panel with five NSArrayControllers, one for each entity. The panel works well but currently all user interaction is confined to the panel itself. The primary user interfa

Re: Cancelable NSBlockOperations

2010-01-14 Thread Nick Zitzmann
On Jan 14, 2010, at 1:02 PM, Jamie Hardt wrote: > The block that NSBlockOperation takes is (void)^(void), do you mean I have to > declare it outside of the block scope and let the block copy the reference > when it invokes? Sorry, forgot that block operations, unlike invocation operations, don

Re: Cancelable NSBlockOperations

2010-01-14 Thread Jamie Hardt
On Jan 14, 2010, at 11:59 AM, Nick Zitzmann wrote: > On Jan 14, 2010, at 12:30 PM, Jamie Hardt wrote: > >> How does one support -cancel in an NSBlockOperation? Testing [NSThread >> isCancelled] doesn't appear to work. > > The same way you do it with NSInvocationOperations - pass in the operat

Re: Cancelable NSBlockOperations

2010-01-14 Thread Nick Zitzmann
On Jan 14, 2010, at 12:30 PM, Jamie Hardt wrote: > How does one support -cancel in an NSBlockOperation? Testing [NSThread > isCancelled] doesn't appear to work. The same way you do it with NSInvocationOperations - pass in the operation as an argument to the block and check the object's cance

Re: Cancelable NSBlockOperations

2010-01-14 Thread Mike Abdullah
On 14 Jan 2010, at 19:30, Jamie Hardt wrote: > A quick question... > > How does one support -cancel in an NSBlockOperation? Testing [NSThread > isCancelled] doesn't appear to work. Because it's the block, not the thread that gets cancelled___ Coc

NSDocument

2010-01-14 Thread David Blanton
When my document based app starts up the awakeFromNib method in my NSDocument subclass is called. When I choose Open a new NSDocument is instanced but this does not call awakeFromNib. Am I missing a setting? I need awakeFromNib to be called for any instance on my NSDocument sublass. I

Job Posting: Senior Software Engineer, Apple Inc.

2010-01-14 Thread Joel Levin
http://jobs.apple.com/index.ajs?BID=1&method=mExternal.showJob&RID=42178&CurrentPage=1 Apple's Internet Technology System's has an immediate opening for Sr Software Engineer (iPhone Development). Our group's focus is on design and development of web and mobile solutions for all business areas. T

Re: IBLibraryObjectTemplate

2010-01-14 Thread Kevin Cathey
The IBLibraryObjectTemplate is part of InterfaceBuilderKit, the framework used to create plugins for Interface Builder. Each IBLibraryObjectTemplate corresponds to an entry that appears in the library at runtime. For more, see: http://developer.apple.com/mac/library/documentation/DeveloperTools/C

Re: Sending archived objects to a child process via NSPipe

2010-01-14 Thread Christian Ziegler
Ahh yeah, the buffer, totally forgot about that. Thanks for the tip, I'm sure I'll figure it out now. Cheers, Chris On 14.01.2010, at 20:23, "Stephen J. Butler" wrote: On Thu, Jan 14, 2010 at 1:11 PM, Christian Ziegler > wrote: Hi all! It is probably simple, but I can't figure it out

Re: NSArrayControllers not repopulating after NSPersistentDocument load

2010-01-14 Thread Quincey Morris
On Jan 13, 2010, at 16:12, Daniel Wambold wrote: > Nevertheless, I agree that the situation seems to suggest that the File > > Open ("load") method that is being invoked by the NSPersistentDocument is > creating a new managed object context that is not being attached to the > controller. Despit

Re: Snapshotting hidden UIViews

2010-01-14 Thread Matt Neuburg
On Thu, 14 Jan 2010 11:22:19 -0600, Michael Gardner said: >By the way, I tried the trick Matt suggested earlier in the thread, by obscuring my view behind another one instead of making it hidden. It didn't work. Yes, because that isn't what I said to do. And since you're on iPhone, what I sugges

Re: NSTableView column bindings and "deep" key paths

2010-01-14 Thread Quincey Morris
On Jan 14, 2010, at 08:47, Gerd Knops wrote: > I have a typical NSTableView setup where the column content is provided by an > NSArrayController. > > Now say a column is bound to arrayController.arrangedObjects key path a.b.c.d. > > In this scenario if "b" changes (even in a KVO-complient way),

Re: UITableView with cells of varying heights

2010-01-14 Thread Matt Neuburg
On Thu, 14 Jan 2010 09:46:06 -0500, "Eric E. Dolecki" said: >The result would be a UITableView with rows of varying >heights, perfectly framing each row's content. This is certainly possible, since I did in my TidBITS News app (free, so you can take a look at the result). Basically I'm simply cal

Cancelable NSBlockOperations

2010-01-14 Thread Jamie Hardt
A quick question... How does one support -cancel in an NSBlockOperation? Testing [NSThread isCancelled] doesn't appear to work. Jamie___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to t

Re: Sending archived objects to a child process via NSPipe

2010-01-14 Thread Stephen J. Butler
On Thu, Jan 14, 2010 at 1:11 PM, Christian Ziegler wrote: > Hi all! > > It is probably simple, but I can't figure it out atm. I  want to send an > archived object through an NSPipe to a child process. As long as there is > only a single object in the pipe at a given time the receiver can unarchi

Sending archived objects to a child process via NSPipe

2010-01-14 Thread Christian Ziegler
Hi all! It is probably simple, but I can't figure it out atm. I want to send an archived object through an NSPipe to a child process. As long as there is only a single object in the pipe at a given time the receiver can unarchive the object properly. However, once I send another object to the

Core Video CIFilters/ playback / compression suggestions?

2010-01-14 Thread Travis Kirton
Hi, We're working with Core Video to play back videos @ 1024 x 768 resolution. The videos are stacked on top of one another and revealed as a user draws over top of them. To achieve this "drawing into" the stack of videos, we're filtering using CIImage to create alpha masks over top of an indivi

Re: Almost! to the end

2010-01-14 Thread John Love
I tracked down NSException. Appscript posts a "NSRangeException" Exception which applies in my case. So, a simple @try .. @catch pair around each row does the trick. Thanks again and again .. John Love = On Jan 12, 10, at 10:33 AM, John Love wrote: > Thanks to many, many folk, I am at

IBLibraryObjectTemplate

2010-01-14 Thread David Blanton
This appeared automagically in my .xib. Can anyone tell me what this is and how it got there: -db 2010-01-14 11:50:44.021 Customize It[9646:813] Unknown class IBLibraryObjectTemplate in Interface Builder file. ___ Cocoa-dev mailing list (Cocoa-de

Re: iPhone: UITableView with cells of varying heights

2010-01-14 Thread Eric E. Dolecki
Sure thing: http://www.cimgf.com/2009/09/23/uitableviewcell-dynamic-height/ On Thu, Jan 14, 2010 at 1:06 PM, Jack Carbaugh wrote: > Could you share the tutorial with the group please .. that way if someone > else searches and finds this thread, they can continue to the tutorial. > > thanks! > ja

Re: Best practice example for a setup wizard?

2010-01-14 Thread Greg Guerin
Ian Piper wrote: OK, perhaps I need to rethink how this works. Given that the underlying purpose is to authenticate the user to allow access to an encrypted database, would it make more sense for me to use the user's Mac OS X account credentials? Is there a way (I hesitate to use the phra

Re: Snapshotting hidden UIViews

2010-01-14 Thread Paul Sanders
You could try making it not opaque (i.e. have isOpaque return NO). Then the view should get drawn, even if it is subsequently over-painted by another view positioned on top of it. That's how it works in Cocoa, at least. Calling setNeedsDisplay on the (common) parent view ought to do it but y

Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !

2010-01-14 Thread Shawn Erickson
Look at the following functions... /*** FileSystem path conversion functions ***/ /* Extract the contents of the string as a NULL-terminated 8-bit string appropriate for passing to POSIX APIs (for example, normalized for HFS+). The string is zero-terminated. false will be returned if the convers

Re: Snapshotting hidden UIViews

2010-01-14 Thread Michael Gardner
On Jan 13, 2010, at 10:30 PM, glenn andreas wrote: > On Jan 13, 2010, at 9:46 PM, Michael Gardner wrote: > >> On Jan 13, 2010, at 5:07 PM, glenn andreas wrote: >> >>> >>> On Jan 13, 2010, at 4:48 PM, Michael Gardner wrote: >>> I also tried calling -drawRect: on my hidden view (afte

NSTableView column bindings and "deep" key paths

2010-01-14 Thread Gerd Knops
I have a typical NSTableView setup where the column content is provided by an NSArrayController. Now say a column is bound to arrayController.arrangedObjects key path a.b.c.d. In this scenario if "b" changes (even in a KVO-complient way), it will still result in an NSInternalInconsistencyExcept

Re: iCal-style NSTextFields

2010-01-14 Thread Brad Gibbs
I've been working through this a bit more. To get bindings to work, I added the following to my custom textfield: if (!bindingsDict) { self.stringValue = newStringValue; } if (bindingsDict) { NSString *boundObject = [bindingsDict

Re: iPhone: UITableView with cells of varying heights

2010-01-14 Thread Eric E. Dolecki
I found a tutorial online just after I emailed this list. Thanks for the links! Eric On Thu, Jan 14, 2010 at 9:57 AM, Luke the Hiesterman wrote: > Hmm, those were supposed to be links at the end of the lines. > > > http://developer.apple.com/iphone/library/documentation/UIKit/Reference/NSString_

Re: iPhone: UITableView with cells of varying heights

2010-01-14 Thread Luke the Hiesterman
Hmm, those were supposed to be links at the end of the lines. http://developer.apple.com/iphone/library/documentation/UIKit/Reference/NSString_UIKit_Additions/Reference/Reference.html#//apple_ref/doc/uid/TP40006893-CH3-SW7 http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UI

Re: iPhone: UITableView with cells of varying heights

2010-01-14 Thread Luke the Hiesterman
Calculate label height with [NSString sizeWithFont:ForWidth:LineBreakMode:]. sizeWithFont:forWidth:lineBreakMode: Assign cell row heights with [UITableViewDelegate tableView:heightForRowAtIndexPath:] – tableView:heightForRowAtIndexPath: Luke On Jan 14, 2010, at 6:46 AM, Eric E. Dolecki wrote:

iPhone: UITableView with cells of varying heights

2010-01-14 Thread Eric E. Dolecki
I am pulling in an RSS feed, and each item has it's own summary of a varying amount of text. I am using a table and presently setting the height of each row the same to allow for the most text. This looks awful as some items have a lot of empty space for it's row. Is it possible to have a UILabel

Re: Problem printing offscreen PDFViews

2010-01-14 Thread Waldo Lee Sharvey
Tried that already, and it only lead to other weird stuff. Consider this: If PDFView obeyed all of the normal laws Cocoa printing, wouldn't PDFView's printWithInfo:autoRotate: be unnecessary? Not that this really matters anymore, since I ended up taking the long route and writing a custom NSView s

Re: Best practice example for a setup wizard?

2010-01-14 Thread Alastair Houghton
On 14 Jan 2010, at 13:53, Ian Piper wrote: > OK, perhaps I need to rethink how this works. Given that the underlying > purpose is to authenticate the user to allow access to an encrypted database, > would it make more sense for me to use the user's Mac OS X account > credentials? Is there a way

Re: Best practice example for a setup wizard?

2010-01-14 Thread Ian Piper
Thanks for all the replies. I am inclined to agree - the last thing I want is to build something that looks like a Windows application! And I get the issue of not bugging the user with a tedious setup process. The idea of having preset values that the user can change if he wants to is the way to

Re: Best practice example for a setup wizard?

2010-01-14 Thread Alastair Houghton
On 14 Jan 2010, at 12:37, Dave Keck wrote: > As long as we're following Apple's example, I say bombard the user > with ads and wizards until their eyes bleed. :) ...***Assistants***... Kind regards, Alastair. -- http://alastairs-place.net ___ Coc

RE: Analyzer in error?

2010-01-14 Thread Kirk Kerekes
AFAIK, yes. Please file a bug to add to the ones I have filed on this and similar behaviors. On Jan 13, 2010, at 9:49 PM, cocoa-dev-requ...@lists.apple.com wrote: > Message: 10 > Date: Thu, 14 Jan 2010 12:54:46 +1100 > From: Graham Cox > Subject: Analyzer in error? > To: Cocoa-Dev List > Mess

Re: Best practice example for a setup wizard?

2010-01-14 Thread Dave Keck
> 1. Creating an iCal account. This one sticks out because it is so > unnecessary and buggy that it makes me want to shoot my monitor every > time it appears. > 2. The Bluetooth mouse and keyboard detection ones. > 3. The Certificate Signing Request generator in Keychain Access.app. > 4. First-laun

Tutorial on writing a Cocoa/Mac app.

2010-01-14 Thread lbland
hi- We placed a manual with 4 tutorials in it at: http://www.peervisual.com/manuals/VvidgetCode Including one showing how to build a Cocoa/Mac app from scratch. It might be useful to those that want a description of Cocoa programming from ground zero to full deployment. thanks!- -lance

Re: Best practice example for a setup wizard?

2010-01-14 Thread Alastair Houghton
On 13 Jan 2010, at 23:19, PCWiz wrote: > If you really want to do a wizard, this might be a good starting point: > > http://www.cimgf.com/2008/03/03/core-animation-tutorial-wizard-dialog-with-transitions/ Remembering that **they aren't called "Wizards"**. That's Windows terminology. Mac OS X

Re: Analyzer in error?

2010-01-14 Thread Graham Cox
On 14/01/2010, at 1:09 PM, Greg Parker wrote: > Yes, the static analyzer is wrong here. > But your code sends the message to [self class] instead of NSData Thanks, makes sense. I can just as well use NSData here as [self class] - there's no particular reason to use [self class] here, except