performBatchUpdates: + removeObjectAtIndex: = EXC_BAD_ACCESS

2015-01-16 Thread Josh Avant
. ``` ...and running with MALLOC_PROTECT_BEFORE will also break on performBatchUpdates:. Could anyone offer any suggestions as to why this is happening? Any ideas how to mitigate this? Thanks in advanced for any help! -Josh ___ Cocoa-dev mailing list (Cocoa-dev

Re: Persistant reference to file that is not a path?

2011-08-25 Thread Josh Abernathy
Check out file reference URLs and bookmarks: http://developer.apple.com/library/mac/#documentation/FileManagement/Conceptual/FileSystemProgrammingGUide/AccessingFilesandDirectories/AccessingFilesandDirectories.html#//apple_ref/doc/uid/TP40010672-CH3-SW5 On Aug 25, 2011, at 11:37 PM, Ron

Re: [Lion] IBOutlets, strong or weak?

2011-08-08 Thread Josh Abernathy
According to the AppKit release notes: Note that Xcode 4.2 defaults to ARC when creating new projects, and in the WWDC seed release, as well as in the latest version available at the time 10.7 ships, generates outlet declarations that are strong. This is true for outlets generated in new

Re: Temporarily enabling layer backing for NSView

2011-05-18 Thread Josh Abernathy
Try doing the animation one runloop after calling -setWantsLayer:, kinda like this (typed in Mail): - (void)doAnimation { [parentView setWantsLayer:YES]; [self performSelector:@selector(noSeriouslyDoTheAnimation) withObject:nil afterDelay:0]; } - (void) noSeriouslyDoTheAnimation {

Re: Book Cocoa programming for Mac OS X Third Edition

2011-03-11 Thread Josh Caswell
a couple of deprecated or scheduled-for-deprecation methods. This presents no real problem, however; it just makes you dig into Apple's documentation more carefully (which I personally found to be a helpful learning feature in itself). It is an excellent book. -- Josh Caswell

Fwd: NSXMLParserDelegateAbortedParseError

2011-03-09 Thread Josh Caswell
object. -- Josh Caswell ___ 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: NSXMLParserDelegateAbortedParseError

2011-03-08 Thread Josh Caswell
must be between...) is used for an alert sheet as I described. I'm just wondering why, after my delegate aborts the parse, the parser changes the error code. -- Josh Caswell ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: NSXMLParserDelegateAbortedParseError

2011-03-08 Thread Josh Caswell
This error is the parser state, which since you explicitly aborted ?the parse, will be something like NSXMLParserDelegateAbortedParseError -512. Yes, as I said in my original post. The parser's delegate gets error 512, NSXMLParserDelegateAbortedParseError, in the delegate method

Fwd: NSXMLParserDelegateAbortedParseError

2011-03-08 Thread Josh Caswell
So you are not getting a parsing error, you're using the wrong mechanism. I think I see what you are saying. When my parser encounters an element called Error, I know that I don't need any more parsing done no matter what else is in the data, so it seemed sensible to have the delegate stop the

NSXMLParserDelegateAbortedParseError

2011-03-07 Thread Josh Caswell
This is a copy-paste of a question I asked on StackOverflow http://stackoverflow.com/questions/5132266/nsxmlparser-error-code-changes-after-abort, which hasn't gotten any answers. I'm still curious about it and hoped I might get a response on this list; apologies to anyone who is reading it twice

Re: Customised NSCell leaves dirty traces while scrolling

2010-11-24 Thread Josh Yu
Try overriding NSCell - drawWithFrame:inView: IIRC this is called before - drawInteriorWithFrame:InView: The default implementation of - drawWithFrame:inView: is perhaps the source of your unwanted drawing. Regards Jonathan Mitchell Thanks Jonathan for your reply. I've tried replacing

Customised NSCell leaves dirty traces while scrolling

2010-11-21 Thread Josh Yu
Hey guys I was implementing a customised NSCell into NSTableView and it leaves dirty traces while scrolling up bit by bit. The cell was subclassed from NSTextFieldCell, using drawInteriorWithFrame: and coordinates to locate and place elements inside (drawInRect for NSStrings whatever). The

Re: Re: Customised NSCell leaves dirty traces while scrolling

2010-11-21 Thread Josh Yu
Try overriding NSCell - drawWithFrame:inView: IIRC this is called before - drawInteriorWithFrame:InView: The default implementation of - drawWithFrame:inView: is perhaps the source of your unwanted drawing. Regards Jonathan Mitchell Thanks Jonathan for your reply. I've tried replacing

Re: Objective-C Garbage Collection problems

2010-03-09 Thread Josh de Lioncourt
OK, here is the part that I'm still sticking on. First, you wrote: On Mar 8, 2010, at 6:25 PM, Quincey Morris wrote: On Mar 8, 2010, at 16:01, Josh de Lioncourt wrote: Therefore, if the framework isn't coded for GC compatibility, it's likely going to be unusable at runtime in a GC app

Objective-C Garbage Collection problems

2010-03-08 Thread Josh de Lioncourt
there's anything wrong there either. Is there another build setting I need to change that I'm missing somewhere? Thanks guys. Josh ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Converting a Cocoa Application project to a document-based one

2010-03-04 Thread Josh de Lioncourt
. Thanks. Josh ___ 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

Using a Private Framework in Mac application

2010-02-16 Thread Josh Tucker
Hey guys, I'm creating an application that I'd like to interface with the iPhone using the MobileDevice.framework. Would someone please point me in the right direction to be able to use the MobileDevice.framework in my application. Thanks, Joshua Lee Tucker

UIWebView PDF Paging

2010-02-14 Thread Josh Tucker
I'm loading a PDF stored locally into a UIWebView. Is there any way that I can achieve paging? For example, I can hook up a UIButton to scroll to page 8 of the PDF in the UIWebView. Thanks, Joshua Lee Tucker ___ Cocoa-dev mailing list

Re: iCal-style NSTextFields

2010-01-13 Thread Josh Abernathy
field. Any help would be appreciated. On Jan 10, 2010, at 2:54 PM, Josh Abernathy wrote: If you're asking about the shadow, create a child window and move them to that when they're editing. On Jan 10, 2010, at 11:56 AM, Seth Willits wrote: On Jan 10, 2010, at 11:49 AM, Ulai Beekam

Re: iCal-style NSTextFields

2010-01-10 Thread Josh Abernathy
If you're asking about the shadow, create a child window and move them to that when they're editing. On Jan 10, 2010, at 11:56 AM, Seth Willits wrote: On Jan 10, 2010, at 11:49 AM, Ulai Beekam wrote: Go into iCal (in Snow Leopard) and create a new event and and then click outside that

Looking for Cocoa developer in NYC

2009-09-10 Thread Josh Distler
Hello. We are in need of a talented developer for a very exciting project application development project in NYC. A slightly more detailed description follows. Please contact joshdist...@mac.com if interested. Best. /Josh --- We are looking for a talented programmer to work closely

Re: IB Plugin help

2009-04-05 Thread josh hughes
stopped the crashing when reopening the .xib. I have the project working here and can send you a .zip if you like? Hope this helps. All the best, Josh On 5 Apr 2009, at 01:10, jmun...@his.com wrote: Sorry for going quiet like that! I got distracted! No problem! :) I think that the fact IB

Re: most suitable framework for network app communication?

2009-03-12 Thread Josh Hermsmeyer
Bill Dudney released code yesterday that may be just what you are looking for: Bonjour Network Server for iPhone Bill is the guy who wrote iPhone SDK Development. HTH, Josh Josh Hermsmeyer | President | Capozzi Winery | (707) 694-2481 | www.pinotblogger.com On Mar 11, 2009, at 12:15

RE: Question on threads running in my Foundation tool

2009-02-23 Thread Josh Freeman
:' method, sync begins ends in the 'daa2isoCredits' method). Cheers, Josh ___ 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

Re: Saving application data in ~/Library/Application Support/

2009-02-05 Thread Josh de Lioncourt
Windows, and if I could drop cross-platform necessities, I would. :) I've never seen anything that promoted the idea of storing non- standard data files in that folder. If there's a good argument for it, please enlighten me. Josh de Lioncourt Mac-cessibility: http://www.Lioncourt.com

Saving application data in ~/Library/Application Support/

2009-02-04 Thread Josh de Lioncourt
place to do this is in the ~/Library/Application Support/ directory. Is it safe/recommended to access this directory using the above format, or is there a more accepted shortcut designation for that particular dir? Josh de Lioncourt Mac-cessibility: http://www.Lioncourt.com Twitter: http

Re: maximum theoretical speedup with dual quad processors

2009-01-31 Thread Josh Abernathy
At the risk of stating the obvious: it seems like your limiting factor in speedup will depend a lot more on your algorithm design than NSInvocationQueue, the number of cores/processors, etc. In other words, this isn't really an Apple-specific question. It's a matter of parallel algorithm

Re: autocompletion window disappears

2009-01-20 Thread Josh Abernathy
I've also written my own completion mechanism. It's not too hard, just add a child window and list your results however makes sense for your application. A lot less ugly and a lot more appropriate than Apple's default, in my opinion. On Jan 20, 2009, at 10:28 AM, Ross Carter wrote: On

Re: How to launch window of the application on clicking of dock icon?

2008-12-09 Thread Josh Abernathy
In your app delegate, implement -applicationDidBecomeActive: to show your window. On Dec 9, 2008, at 12:02 PM, Arun wrote: Hi, I have created a simple application in cocoa. when it is ran, the main window appears and a default dock icon in the Dock. If i close the window, the dock icon

NSPredicateEditor and date comparisons

2008-12-07 Thread Josh Abernathy
find it anywhere in the documentation. Thanks, Josh ___ 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

Re: NSPredicateEditor and date comparisons

2008-12-07 Thread Josh Abernathy
to a string, which introduces more complications. NSPredicateEditor tends to just call objectValue on the gui component, so try calling that yourself on your NSDatePicker and see what happens. --- On Sun, 7/12/08, Josh Abernathy [EMAIL PROTECTED] wrote: From: Josh Abernathy [EMAIL PROTECTED

NSPredicateEditor and date comparisons

2008-12-06 Thread Josh Abernathy
find it anywhere in the documentation. Thanks, Josh ___ 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

Re: Putting an image on a CALayer

2008-10-21 Thread Josh Abernathy
Scott Stevenson uses an NSImage category with: - (CGImageRef)cgImage { // I'm open to better ideas. :) NSData* data = [self TIFFRepresentation]; return CreateCGImageFromData(data); } So create an NSImage and use that. On Oct 21, 2008, at 11:46 AM, DKJ wrote:

NSRulerView cusom hashMarks

2008-10-20 Thread josh hughes
in understanding what the documentation means by using a delegate to create the custom markers? Many thanx in advance. Josh ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Accessing memory of another application?

2008-08-12 Thread Josh
All, I'm trying to get started w/viewing/editing/interacting with the memory of another running application but I'm not where to get started. You could think of this as being a simple game trainer - which basically allows you to view and edit values in memory. Can anyone point me to where I

Re: Accessing memory of another application?

2008-08-12 Thread Josh
2008, at 17:04, Josh wrote: All, I'm trying to get started w/viewing/editing/interacting with the memory of another running application but I'm not where to get started. You could think of this as being a simple game trainer - which basically allows you to view and edit values in memory

Re: Accessing memory of another application?

2008-08-12 Thread Josh
to another application memory under some circumstances. None of them is related to Cocoa since there is no class named NSVirus. Amin On 12 Aug 2008, at 17:04, Josh wrote: All, I'm trying to get started w/viewing/editing/interacting with the memory of another running application but I'm

Re: Accessing memory of another application?

2008-08-12 Thread Josh
://en.wikipedia.org/wiki/Computer_virus ;-) Serious: There are techniques to get acccess to another application memory under some circumstances. None of them is related to Cocoa since there is no class named NSVirus. Amin On 12 Aug 2008, at 17:04, Josh wrote: All, I'm trying to get started w

Re: Accessing memory of another application?

2008-08-12 Thread Josh
, Clark Cox [EMAIL PROTECTED] wrote: On Tue, Aug 12, 2008 at 10:31 AM, Bill Cheeseman [EMAIL PROTECTED] wrote: on 2008-08-12 12:04 PM, Josh at [EMAIL PROTECTED] wrote: I'm trying to get started w/viewing/editing/interacting with the memory of another running application but I'm not where

Re: Accessing memory of another application?

2008-08-12 Thread Josh
I'm not creating both applications - The application I'm trying to access was written by someone else and has no developer documentation (it's a game) My application should read the memory of the game + change values/read offsets etc... Josh On Tue, Aug 12, 2008 at 2:07 PM, mm w [EMAIL

Re: Accessing memory of another application?

2008-08-12 Thread Josh
find some function offsets in the game. :-) On Tue, Aug 12, 2008 at 2:10 PM, David Duncan [EMAIL PROTECTED]wrote: On Aug 12, 2008, at 9:04 AM, Josh wrote: I'm trying to get started w/viewing/editing/interacting with the memory of another running application but I'm not where to get started

Rethinking my approach; rather overwhelmed.

2008-06-17 Thread Josh de Lioncourt
Objective C. Another option might be to locate some open source code I can draw understanding from for just these three tasks in Objective C. ...or maybe someone out there knows a better solution? Josh de Lioncourt Mac-cessibility: http://www.Lioncourt.com Twitter: http://twitter.com/Lioncourt

Re: Rethinking my approach; rather overwhelmed.

2008-06-17 Thread Josh de Lioncourt
like to take me under their wing for a few days off list and try to get me up to speed, I'd not object. LOL. Thanks again to all who have been very helpful so far. Josh de Lioncourt ...my other mail provider is an owl... On Jun 17, 2008, at 10:24 AM, Rush Manbert wrote: Hi Josh, Just

Re: Rethinking my approach; rather overwhelmed.

2008-06-17 Thread Josh de Lioncourt
an issue anyway. :) Thanks for this idea. I think this may be an excellent solution for me. Certainly worth looking into. Josh de Lioncourt Mac-cessibility: http://www.Lioncourt.com Twitter: http://twitter.com/Lioncourt Beauty was a savage garden, so why should it wound him that the most

Re: Rethinking my approach; rather overwhelmed.

2008-06-17 Thread Josh de Lioncourt
also developed for the web with PHP/HTML/JavaScript, etc. I hope this provides a better representation of what I hope to accomplish. Please ask if anything is unclear. Josh de Lioncourt Mac-cessibility: http://www.Lioncourt.com Twitter: http://twitter.com/Lioncourt The rich declare

Re: Rethinking my approach; rather overwhelmed.

2008-06-17 Thread Josh de Lioncourt
to accomplish the input through a non-platform specific API, potentially making my code even more portable between Windows and OS X. Is there any reason why I shouldn't consider OpenGL for input? Josh de Lioncourt Mac-cessibility: http://www.Lioncourt.com Twitter: http://twitter.com/Lioncourt

Cocoa, C++, Keyboard input and Timers

2008-06-16 Thread Josh de Lioncourt
be tremendously appreciated. And, any other advice regarding development of C++ that can be ported and maintained easily between both OS's would be very welcome. Thanks in advance. Josh de Lioncourt Mac-cessibility: http://www.Lioncourt.com Twitter: http://twitter.com/Lioncourt The rich declare

custom image unit not working when called from a Cocoa app

2008-05-10 Thread Josh Burnett
missing here? My filter works fine in Core Image Fun House, and I don't know how to proceed. Thanks for any pointers, Josh ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

most efficient way to string CIFilters together?

2008-05-03 Thread Josh Burnett
more efficient, or would it be essentially the same result? Thanks, Josh ___ 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