Re: Intermittent invisible NSWindow

2021-11-19 Thread davelist--- via Cocoa-dev
-dev%40esot >>>>> er itech.com >>>>> >>>>> This email sent to cocoa-...@esoteritech.com >>>> >>> >>> >>> --- >>> 2717 Harrison St >>> Evanston, IL 60201 >>> USA >>> >>

Re: Alerts in Xcode 11

2019-10-09 Thread davelist--- via Cocoa-dev
gt; } >>>>> >>>>> >>>>> -- Doug >>>>> >>>>> ___ >>>>> >>>>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >>>>> >>

Re: UIDocumentBrowserViewController and file package documents

2017-06-24 Thread davelist
FYI, I tested this on an iPad with iOS 11 beta 2 and opening an existing UIDocument works on the actual device - just not on the simulator. I updated my bug report with this information. Dave Reed > On Jun 21, 2017, at 5:08 PM, Jonathan Hull wrote: > > That part is really confusing me as we

Re: UIDocumentBrowserViewController and file package documents

2017-06-21 Thread davelist
I submitted a bug report: rdar://32912183 Based on the WWDC video, it appears Apple is recommending you put an empty document as a resource in your app and then choose the option to copy it. The other option would be to make a new document in a temporary directory your app can write to and the

Re: UIDocumentBrowserViewController and file package documents

2017-06-21 Thread davelist
> On Jun 20, 2017, at 5:29 PM, Kyle Sluder wrote: > > On Tue, Jun 20, 2017, at 03:40 PM, davel...@mac.com wrote: >> I'm trying out the new UIDocumentBrowserViewController in iOS 11 (using >> the iPad simulator). I can get it to create a new document (which is a >> file package) for my app, but t

UIDocumentBrowserViewController and file package documents

2017-06-20 Thread davelist
I'm trying out the new UIDocumentBrowserViewController in iOS 11 (using the iPad simulator). I can get it to create a new document (which is a file package) for my app, but tapping on the document in the UIDocumentBrowserViewController does not cause the delegate method documentBrowser(_ contro

Re: Help with Storyboard Problem

2017-06-19 Thread davelist
> On Jun 19, 2017, at 2:24 PM, Dave wrote: > > XCode 8.3.3. > > Hi All, > > I’m using storyboards on an iOS project and can’t seem to get it to work. > > I have two view controllers in the “Main.storyboard” file. The fist view > controller has one button on it, that when clicked, I want it t

Re: [OT] Question about writing documentation

2017-04-21 Thread davelist
> On Apr 21, 2017, at 5:33 AM, Dave wrote: > > Hi, > > I’m looking for a decent Application that runs on the Mac that will allow me > to create detailed diagrams of Objective-C Classes. Basically I have a > Network of inter-related Objects, the Network is represented by Array’s and > Diction

ReplayKit Bug

2017-04-18 Thread davelist
Are there any Apple iOS ReplayKit engineers on the list? I submitted a bug report (with sample project that demonstrates the bug) where ReplayKit does not start recording sometimes (generally the first call to RPScreenRecorder.shared().startRecording(handler:) does not start the recording in th

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-30 Thread davelist
> On Mar 23, 2017, at 8:01 PM, davel...@mac.com wrote: > > >> On Mar 23, 2017, at 12:24 PM, David Duncan wrote: >> >> I just want to remind everyone I’m *not* a file system’s engineer – I’m just >> trying to help Dave (and anyone else caught in this) make sure their app can >> find their f

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-23 Thread davelist
> On Mar 23, 2017, at 12:24 PM, David Duncan wrote: > > I just want to remind everyone I’m *not* a file system’s engineer – I’m just > trying to help Dave (and anyone else caught in this) make sure their app can > find their files. > >> On Mar 23, 2017, at 1:53 AM, Alastair Houghton >> wrot

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-22 Thread davelist
> On Mar 22, 2017, at 2:00 PM, David Duncan wrote: > >> >> On Mar 22, 2017, at 4:15 AM, davel...@mac.com wrote: >> >>> >>> On Mar 22, 2017, at 5:05 AM, Alastair Houghton >>> wrote: >>> >>> On 21 Mar 2017, at 20:49, Quincey Morris >>> wrote: On Mar 20, 2017, at 14:23 , davel...

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-22 Thread davelist
> On Mar 22, 2017, at 5:05 AM, Alastair Houghton > wrote: > > On 21 Mar 2017, at 20:49, Quincey Morris > wrote: >> >> On Mar 20, 2017, at 14:23 , davel...@mac.com wrote: >>> >>> "iOS HFS Normalized UNICODE names , APFS now treats all file[ name]s as a >>> bag of bytes on iOS . We are reque

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-21 Thread davelist
> On Mar 21, 2017, at 8:33 AM, Jean-Daniel wrote: > > >> Le 21 mars 2017 à 12:03, davel...@mac.com a écrit : >> >>> >>> On Mar 21, 2017, at 1:06 AM, Jens Alfke wrote: >>> >>> On Mar 20, 2017, at 2:23 PM, davel...@mac.com wrote: NSURL *url = [[self courseDirectory] URLByAppe

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-21 Thread davelist
> On Mar 21, 2017, at 1:06 AM, Jens Alfke wrote: > > >> On Mar 20, 2017, at 2:23 PM, davel...@mac.com wrote: >> >> NSURL *url = [[self courseDirectory] URLByAppendingPathComponent:name]; > > There’s nothing wrong with that call; it’s the canonical way to add a path > component to a URL, file

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-20 Thread davelist
Unicode 2.x, or >>> processes that don't decompose versus ones that do, then the filename bytes >>> will be different. >>> >>> - Peter E >>> >>> >>> >>> ___ >>> >>&

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-12 Thread davelist
>> >> 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/U

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-11 Thread davelist
> On Mar 9, 2017, at 7:31 AM, Chris Ridd wrote: > > >> On 8 Mar 2017, at 22:56, Peter Edberg wrote: >> >>> >>> On Mar 8, 2017, at 1:44 PM, David Reed wrote: >>> >>> Thanks Peter. >>> >>> I am going to try to find time in the next few days to file a bug report. >>> I'll obviously include

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-08 Thread davelist
> On Mar 8, 2017, at 4:35 PM, Peter Edberg wrote: > > >> On Mar 8, 2017, at 12:00 PM, cocoa-dev-requ...@lists.apple.com wrote: >> >> >> My app has the option to zip up the directories UIManagedDocument creates >> and email it (so users can back up their data or share it with others). The

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-07 Thread davelist
> On Mar 7, 2017, at 1:19 PM, Alastair Houghton > wrote: > > On 7 Mar 2017, at 12:47, Jean-Daniel wrote: >> >> Did you try to use NSString -fileSystemRepresentation instead of UTF-8, or >> even better, use URL. While using UTF-8 for path worked well on HFS+, It was >> never guaranteed to wo

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-07 Thread davelist
> On Mar 7, 2017, at 9:55 AM, davel...@mac.com wrote: > > >> On Mar 7, 2017, at 7:47 AM, Jean-Daniel wrote: >> >> >>> Le 6 mars 2017 à 14:28, davel...@mac.com a écrit : >>> >>> I have an iOS app (Attendance2) written in Objective-C. One of my users >>> upgraded to the public 10.3 iOS beta a

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-07 Thread davelist
> On Mar 7, 2017, at 7:47 AM, Jean-Daniel wrote: > > >> Le 6 mars 2017 à 14:28, davel...@mac.com a écrit : >> >> I have an iOS app (Attendance2) written in Objective-C. One of my users >> upgraded to the public 10.3 iOS beta and reported he could no longer open >> his documents (I have a sub

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-06 Thread davelist
> On Mar 6, 2017, at 5:10 PM, David Duncan wrote: > >> >> On Mar 6, 2017, at 2:05 PM, davel...@mac.com wrote: >> >>> >>> On Mar 6, 2017, at 12:37 PM, Chris Ridd wrote: >>> >>> On 6 Mar 2017, at 13:28, davel...@mac.com wrote: I have an iOS app (Attendance2) written in Object

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-06 Thread davelist
> On Mar 6, 2017, at 12:37 PM, Chris Ridd wrote: > > >> On 6 Mar 2017, at 13:28, davel...@mac.com wrote: >> >> I have an iOS app (Attendance2) written in Objective-C. One of my users >> upgraded to the public 10.3 iOS beta and reported he could no longer open >> his documents (I have a subcl

Unicode filenames with Apple File System and UIManagedDocument

2017-03-06 Thread davelist
I have an iOS app (Attendance2) written in Objective-C. One of my users upgraded to the public 10.3 iOS beta and reported he could no longer open his documents (I have a subclass of UIManagedDocument so they are Core Data files stored in the package/directory format that UIManagedDocument uses).

Re: making a video from still frames that don't change that often plus audio

2017-01-15 Thread davelist
> On Jan 15, 2017, at 3:12 PM, Quincey Morris > wrote: > > On Jan 15, 2017, at 09:22 , davel...@mac.com wrote: >> >> I have an iOS presentation app >> (https://itunes.apple.com/app/redraw/id1114820588?mt=8) that I currently >> make videos from by AirPlaying it to my Mac and using Screenflow

Re: making a video from still frames that don't change that often plus audio

2017-01-15 Thread davelist
I misunderstood the 8 minute limitation - I thought it would interrupt you after 8 minutes of continuous recording, but trying it, I was able to record over 8 minutes without the dialog appearing. The problem I still see is that it only records the main screen. I want it to record what I'm showi

making a video from still frames that don't change that often plus audio

2017-01-15 Thread davelist
I have an iOS presentation app (https://itunes.apple.com/app/redraw/id1114820588?mt=8) that I currently make videos from by AirPlaying it to my Mac and using Screenflow on the Mac to show the iPad screen and record my audio from a microphone (and then edit). I'd like to build this functionality

Re: UIDocument with NSFileWrapper

2016-03-22 Thread davelist
I don't claim this is the one right way, but I think it makes sense based on the little bit of documentation there is for NSFIleWrapper and it seems to work. My situation is complicated because my document consists of multiple files. UIDocument is pretty simple if you only need a single data fi

Re: UIDocument with NSFileWrapper

2016-03-21 Thread davelist
> On Mar 21, 2016, at 2:08 AM, Quincey Morris > wrote: > > On Mar 19, 2016, at 18:54 , davel...@mac.com wrote: >> >> What I’m having trouble understanding is how I store the images (whose >> filenames will vary from document to document) with NSFileWrapper. In my top >> level directory do I

Re: UIDocument with NSFileWrapper

2016-03-19 Thread davelist
> On Mar 19, 2016, at 8:01 PM, Quincey Morris > wrote: > > On Mar 19, 2016, at 14:23 , davel...@mac.com wrote: >> >> My thought is to have a dictionary mapping each image filename to a >> NSFileWrapper > > You already have one, basically. The top level wrapper for a package is a > directory

Re: UIDocument with NSFileWrapper

2016-03-19 Thread davelist
> On Mar 19, 2016, at 1:48 PM, Quincey Morris > wrote: > > On Mar 19, 2016, at 10:18 , davel...@mac.com wrote: >> >> The downside I see for my app is that UIDocument writes out the data to a >> temporary location and then moves it to the new location so I think my app >> will constantly be w

UIDocument with NSFileWrapper

2016-03-19 Thread davelist
I’m creating a document-based iPad app that I will want to persist the data (either using NSCoding or JSON or XML) along with auxiliary files that may be added, but won’t be modified much, if at all (i.e., image or PDF files the app displays but doesn’t modify). I have prior iOS experience writi

Re: What version of OpenGL bundled in El Capitan?

2015-08-14 Thread davelist
> On Aug 13, 2015, at 10:48 AM, Laurent Daudelin > wrote: > > I've been googling all over the place. The only references I find are the > ones that say Metal is going to replace OpenGL. But I know that OpenGL is > still bundled. I haven't got around to install El Capitan on my system (I > only

Re: NSPrivateQueueConcurrencyType working outside of performBlock

2015-07-28 Thread davelist
> On Jul 28, 2015, at 10:14 AM, Trygve Inda wrote: > >>> >>> On 28 Jul 2015, at 9:12 pm, Trygve Inda wrote: >>> >>> I gather that when using NSPrivateQueueConcurrencyType, all operations (a >>> fetch for example) have to be done within a performBlock call. >>> >> >> ... >> >>> Then later,

Re: NSPrivateQueueConcurrencyType working outside of performBlock

2015-07-28 Thread davelist
> On Jul 28, 2015, at 10:01 AM, Roland King wrote: > > >> On 28 Jul 2015, at 9:12 pm, Trygve Inda wrote: >> >> I gather that when using NSPrivateQueueConcurrencyType, all operations (a >> fetch for example) have to be done within a performBlock call. >> > > ... > >> Then later, this contex

Re: Core Data sync between iOS and Mac apps

2015-05-12 Thread davelist
CloudKit does seem to be Apple’s answer going forward (which makes me suspect Core Data sync will not improve) but CloudKit requires internet access for the app to work at all which I don’t want to require. I’m not sure I understand your concerns about Dropbox. The app is single user so when t

Re: Core Data sync between iOS and Mac apps

2015-05-10 Thread davelist
Thanks MIchael. That's what I was afraid of (i.e., that Apple doesn't make this straightforward). I first looked at BSManagedDocument 2-3 years ago but never got around to trying it for my original app as I kept hoping Apple would have an official solution to this problem. Also thanks to Jens

Core Data sync between iOS and Mac apps

2015-05-05 Thread davelist
I'm looking into options for building an iOS and Mac app that can sync/share Core Data between them. I'm well aware of the issues with Core Data iCloud syncing in iOS 5 and 6 and that it is supposedly better so I'm willing to try it. The apps can have deployment targets of iOS 8 and greater and

Re: core data lightweight migration woes

2013-06-18 Thread davelist
Are you 100% certain you set the "Versioned Core Data Model" "current" setting to the latest model in the inspector pane on the right side of Xcode. Have you tried doing a clean and rebuilding? I think I once had an issue where it didn't seem to start using the new model until I did a clean bui

Re: -[NSManagedObjectContext performBlock:] concurrent or serial?

2013-06-13 Thread davelist
On May 31, 2013, at 7:40 PM, Rick Mann wrote: > Hi. If I issue a bunch of -performBlock: calls on a particular Managed Object > Context, will they execute serially or concurrently? > > Thanks, > > -- > Rick I'm assuming serially and I would like to know too so I was hoping someone would pr

Re: QR code reader/generator SDK

2013-02-07 Thread davelist
On Feb 7, 2013, at 12:45 PM, Jens Alfke wrote: > > On Feb 7, 2013, at 4:02 AM, Uli Kusterer wrote: > >> Just a short reminder: That code is LGPL, so don't just compile it into your >> application, only link against it as a dylib/framework, and be sure to >> include the requisite license fil

Re: Getting notified of any change to a specific NSManagedObject?

2012-11-16 Thread davelist
On Nov 15, 2012, at 8:22 PM, Rick Mann wrote: > > On Nov 15, 2012, at 17:04 , Kyle Sluder wrote: > >> Override -didChangeValueForKey:? > > Apparently we are strongly discouraged from overriding those methods. :-) > > -- > Rick Is this documented? What would be wrong with overriding it, cal

Re: Self contained command line tool

2012-10-12 Thread davelist
t; ~~ Please use my website's contact form on www.genecrucean.com for any > personal emails. Thanks. I may not get them at this address. ~~ > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do

Re: NSOperationQueue and for-loop

2012-10-02 Thread davelist
On Oct 2, 2012, at 8:43 PM, Koen van der Drift wrote: > > On Oct 2, 2012, at 6:19 PM, Koen van der Drift > wrote: > >> >> On Oct 2, 2012, at 6:07 PM, davel...@mac.com wrote: >> >>> I can't speak to the other examples since I haven't seen them, but the >>> __block specifier is necessary i

Re: NSOperationQueue and for-loop

2012-10-02 Thread davelist
On Oct 2, 2012, at 5:49 PM, Koen van der Drift wrote: > Hi, > > When looking how to implement an NSOperationQueue with a loop, I found > several examples that have the following structure: > > NSInteger i; > >for ( i = 0; i < 1000; i++ ) { >[queue addOpera

Re: iOS:targeting iOS3 through iOS6

2012-09-22 Thread davelist
On Sep 21, 2012, at 11:31 PM, Rick Mann wrote: > > On Sep 21, 2012, at 12:29 , Igor Elland wrote: > >>> 1. Is this correct? If not, how do I target old and new devices? > > No. Set the deployment target to 3.0. You'll have to take care not to use any > new APIs, though. Apple doesn't provid

Re: iOS 6 self-update from beta?

2012-09-19 Thread davelist
On Sep 19, 2012, at 4:25 PM, Rick Mann wrote: > My iPad says I have 10A5376e. > > On Sep 19, 2012, at 13:00 , davel...@mac.com wrote: > >> >> On Sep 19, 2012, at 1:59 PM, Rick Mann wrote: >> >>> Am I supposed to be able to update my iOS 6 beta iPad over the air with the >>> release today?

Re: CoreData UIManagedDocument saving/closing questions

2012-08-30 Thread davelist
g about closing the file if the app is later terminated? > > Thanks, > Dave > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact

Re: Sandboxing die.die.die

2012-08-30 Thread davelist
But you're tilting at windmills here. This is not an official support channel. File Radars. And yes, we've had enough arguing about the effectiveness of doing that. You've spent far more time here and on the Xcode list complaining about losing fractions of a seconds waiting for animations to co

CoreData UIManagedDocument saving/closing questions

2012-08-28 Thread davelist
This is on iOS 5 and higher. I have an iOS app that can open separate data files (one open at a time) using a UIManagedDocument subclass. When I do a -saveToURL:forSaveOperation:completionHandler do I need to that inside a: [[UIApplication sharedApplication] beginBackgroundTaskWithExpirati

Re: Sharing a file between Mac and iOS

2012-07-19 Thread davelist
On Jul 19, 2012, at 12:52 PM, Jerry Krinock wrote: > > On 2012 Jul 19, at 08:22, Dennis wrote: > >> Unfortunately iCloud is not an option for me > > Dropbox :)) > > Seriously, Dropbox won't give you any crap. Read this, though, and then > research further to learn if the App Store rejection

Re: ARC not ready for primetime?

2012-03-26 Thread davelist
_ >> >> 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/Upd

copying objects between two Core Data persistent stores?

2012-01-06 Thread davelist
I'd like to copy items between two different UIManagedDocument persistent stores. What is the proper way to do this? Assuming I have a NSManagedObject subclass instance mo1 obtained from one UIManagedDocument, how do I properly copy the values from it to a newly inserted NSManagedObject subclas

need to use NSManagedContext performBlock for contexts with NSMainQueueConcurrencyType?

2012-01-02 Thread davelist
If I create a child context of type NSMainQueueConcurrencyType such as: context = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSMainQueueConcurrencyType]; [context setParentContext:mainContext]; do I need to call [context performBlock:^{ // some code }]; or can I just use th

predicates and sort descriptors for NSFetchRequest - documentation is a bit vague

2011-12-14 Thread davelist
I have a fetch request with sort descriptors that was sorting on a many-one relationship (i.e., I'm fetching Entity A which has a relationship to one entity B and I was trying to get back the array of A entities sorted on an attribute of B). This doesn't work using sort descriptors; however, if

Re: help trouble shooting...maybe with resume?

2011-08-23 Thread davelist
On Aug 23, 2011, at 11:00 AM, Jim Thomason wrote: > Gang, > > Unfortunately, this is a very vague question but I'm at a bit of a > loss and hoping someone could provide some general technique or > avenues to explore. > > Apple recently rejected a new app of mine, with this explanation: > > Whe

Re: printDocument: hangs on Lion?

2011-08-22 Thread davelist
tion: >> http://lists.apple.com/mailman/options/cocoa-dev/graham.cox%40bigpond.com >> >> This email sent to graham@bigpond.com > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not

Re: Creating a TCP server?

2011-07-26 Thread davelist
Here's some sample code (I'm not the author) https://bitbucket.org/snej/mynetwork/overview Dave On Jul 26, 2011, at 4:00 PM, Bing Li wrote: > Hi, Rick, > > If you are familiar with BSD socket, you can program with it to create a TCP > server. I have done that successfully. > > Thanks, > Bing

Re: Printing options

2011-07-21 Thread davelist
On Jul 19, 2011, at 3:25 PM, Amy Gibbs wrote: > Hi, > > I've read everything that says printing is easy...but I'm struggling with it! > > I have googled, but nothing quite seems to fit my situation, I just want a > single page. > > In my app I have customer orders, and I just want to print ou

Re: Progress Indicators Spin vs Bar

2011-06-20 Thread davelist
On Jun 20, 2011, at 11:43 PM, James Merkel wrote: > > > On Jun 20, 2011, at 7:23 PM, Conrad Shultz wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 6/20/11 3:54 PM, James Merkel wrote: >>> I'm opening all digital camera files in a folder (JPEG, TIF, etc), >>> extracting

@selector signature with two colons instead of actual message name

2011-05-03 Thread davelist
I create a sheet using the following: [alert beginSheetModalForWindow:[self windowForSheet] modalDelegate:self didEndSelector:@selector(noEmailAlertDidEnd::contextInfo:) contextInfo:NULL]; What looks strange to me is the @selector(noEmailAlertDidEnd::contextInfo:) that got created by Xcode's

Re: Mac App Store requirements

2011-04-10 Thread davelist
sts.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/cocoa-dev/tom.hohensee%40gmail.com >> >> This email sent to tom.hohen...@gmail.com > ___ > > Cocoa-dev mailing li

Re: specifying new document types that an app opens

2011-02-12 Thread davelist
On Feb 11, 2011, at 8:04 PM, davel...@mac.com wrote: > I'm working on a document-based app for the Mac App Store. The data file I'm > reading/writing is actual a Sqlite database file. I've been able to get it to > work with the following in my info.plist file (although for this email I've > us

specifying new document types that an app opens

2011-02-11 Thread davelist
I'm working on a document-based app for the Mac App Store. The data file I'm reading/writing is actual a Sqlite database file. I've been able to get it to work with the following in my info.plist file (although for this email I've used appname in place of the actual appname and file extension I'

Re: UIDatePicker displays incorrect day in UIDatePickerDateAndTime mode for zones 12+ hours ahead of defaultZone

2011-01-14 Thread davelist
;> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/cocoa-dev/goldsmit%40apple.com >> >> This email sent to golds...@apple.com > > ___

binding NSSearchField to an NSArrayController

2010-12-18 Thread davelist
I can't seem to get the NSSearchField bindings to work properly for searching items in an NSTableView (whose columns are bound to an NSArrayController). I have an NSArrayController and its array contains Student objects. Student has a property named last that is the last name and displays in a c

Re: Using bindings to lessen amount of code

2010-12-14 Thread davelist
On Dec 13, 2010, at 12:25 PM, Paul Johnson wrote: > I want to obtain the value at a particular row and column in a table. > > > I implemented the datasource protocol method > tableView:objectValueForTableVColumn:row: > > > In this method I return [[self.arrangedObjects valueForKey:@"symbol"]

Re: NSDocument app where the document is a SQLite file

2010-12-10 Thread davelist
On Dec 7, 2010, at 11:13 AM, davel...@mac.com wrote: > I've written a few small personal Mac apps and one iOS app and now am > attempting to write my first NSDocument-based Mac application. I would like > the document itself to be a SQLite file (with specific tables for my app - > not a generi

NSDocument app where the document is a SQLite file

2010-12-07 Thread davelist
I've written a few small personal Mac apps and one iOS app and now am attempting to write my first NSDocument-based Mac application. I would like the document itself to be a SQLite file (with specific tables for my app - not a generic SQLite file). I've been reading through the NSDocument docume

Re: Updating progress of UIProgressView. And Getting Better Saving Performance

2010-12-06 Thread davelist
On Dec 6, 2010, at 9:21 PM, Laurent Daudelin wrote: > On Dec 6, 2010, at 17:16, davel...@mac.com wrote: > >> On Dec 6, 2010, at 5:37 PM, Gustavo Pizano wrote: >> >>> Hello. >>> >>> My application is saving some data, and it takes a while to do it, it can >>> be 1 second to 10 sec around.. Im

Re: Updating progress of UIProgressView. And Getting Better Saving Performance

2010-12-06 Thread davelist
On Dec 6, 2010, at 5:37 PM, Gustavo Pizano wrote: > Hello. > > My application is saving some data, and it takes a while to do it, it can be > 1 second to 10 sec around.. Im doing some image processing, The thing is.. > > I send the saving operation in another thread using the NSThread + > de

Re: App Store code signing

2010-11-18 Thread davelist
On Nov 18, 2010, at 6:43 PM, Chris Idou wrote: > > > Is this the right forum to ask about the whole business of verifying > signatures > etc for apps in the app store for Mac? I've been trying to get the code to > work, > but I'm stumped. > You should probably use http://devforums.apple.

Re: how to deploy the sqlite file in my Cocoa application installation

2010-07-16 Thread davelist
On Jul 16, 2010, at 5:23 AM, Mike Abdullah wrote: > SQLite is not part of Cocoa, so this is the wrong list. You should either: > > 1) Find the SQLite docs/list > 2) Use Core Data instead > > On 16 Jul 2010, at 02:39, Wayne Shao wrote: > >> Hi, >> >> I am using sqlite in my cocoa application (

Re: Memory management on returning nil in init

2010-06-23 Thread davelist
On Jun 21, 2010, at 2:44 PM, Scott Anguish wrote: > The old style > >> if (self = [super init]) > > will cause a warnings with certain settings now and in the future. > Does this also apply to code such as: if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) should it

Re: Strange "autoreleased with no pool in place" message

2010-04-17 Thread davelist
On Apr 17, 2010, at 3:39 PM, Alexander Bokovikov wrote: > > On 18.04.2010, at 1:30, Jens Alfke wrote: > >> >> On Apr 17, 2010, at 12:18 PM, Alexander Bokovikov wrote: >> >>> *** _NSAutoreleaseNoPool(): Object 0x209fa0 of class NSCFString >>> autoreleased with no pool in place - just leaking

Re: Trouble forking my project

2010-03-25 Thread davelist
On Mar 25, 2010, at 11:12 AM, Sean McBride wrote: > On Wed, 24 Mar 2010 16:48:49 -0700, Dave Carrigan said: > >> Create a branch for your feature, do all the work on that branch, then >> merge it to the trunk when it's ready. Put your released product in a >> different branch and do your bugfixe

Re: SQLite mime type?

2009-12-29 Thread davelist
On Dec 29, 2009, at 11:56 AM, Paul Archibald wrote: > I am using SQLite in my iPhone app. and i want to be able to email the > database file. I see that attaching it to a message is pretty > straightforward, but the addAttachmentData method requires a mime type, and I > don't know what that s

Re: How to debug over-release of private Cocoa object?

2009-09-16 Thread davelist
On Sep 15, 2009, at 11:17 PM, Graham Cox wrote: (Incidentally, I see in Snow Leopard that all such crashes get sent to Apple - there is no 'Cancel' button any more on the crash reports. Hope they are finding this entertaining - especially as it's increasingly looking like their bug ;-)

Re: Inducing a crash?

2009-03-09 Thread davelist
On Mar 9, 2009, at 6:05 PM, Rick Mann wrote: I want to test how well our background agent is restarted. I'd like to programmatically induce a crash. What's a good way to do so? TIA, -- Rick I'm not certain if you mean crashing use a Cocoa method, but this should certainly cause a memory

Re: cocoa design for a database application

2009-01-11 Thread davelist
On Jan 11, 2009, at 1:35 PM, Quincey Morris wrote: On Jan 11, 2009, at 09:52, davel...@mac.com wrote: What I want to do is have a window that I can click on a button that says "new person" and I want it to open a window (from a separate nib file) with text fields for entering a first and l

cocoa design for a database application

2009-01-11 Thread davelist
I've developed some small Cocoa programs and now I'm looking to learn some of the more advanced topics (bindings, controllers, etc.). I'd like to create a Cocoa program that has multiple "document types" corresponding to tables in a database (i.e., I'll be able to open separate windows fo