Re: Definitive guide to custom modal presentation?

2019-02-01 Thread Jesse Armand
If you’re implementing a custom animation transition for your presentation, just follow this guide: https://developer.apple.com/library/archive/featuredarticles/ViewControllerPGforiPhoneOS/CustomizingtheTransitionAnimations.html The transition context object provides the container view that is i

Help - EXC_CRASH (SIGABRT)

2013-01-16 Thread Jesse Owens II
eatly appericated. Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x, 0x Crashed Thread: 0 Thanks, Jesse Piction_2013-01-14-210623_Steve-Jr-iPhone copy[2].crash Description: Binary data ___ Cocoa-dev mailing

Re: Grabbing at 60hz

2011-12-01 Thread jesse
Hi Alex! I'm not sure I understand the clarification; I'm looking to grab 60 frames per second, to track a fast moving object. (which I think of as 60hz). Does that make sense? Jesse On Dec 1, 2011, at 12:26 AM, Alex Zavatone wrote: > Hz od FPS? > > On Nov 30, 2011

Grabbing at 60hz

2011-11-30 Thread jesse
s)? -Other options: - If this particular camera isn't well behaved, are there any known-compatible cameras that can capture faster than 30hz? - Is there another API to look at in this case to get the camera data at higher frame rates? Thanks for any tips!! Jesse ___

Re: Simulate touch event with cordinate?

2011-04-03 Thread Jesse Armand
e gestures that these people have into touch events on the iOS. An iOS app for people without hands would still require the help of another person to operate the OS. On Sat, Apr 2, 2011 at 1:52 PM, Sherm Pendley wrote: > On Sat, Apr 2, 2011 at 7:29 AM, Jesse Armand wrote: >> >&g

Re: Simulate touch event with cordinate?

2011-04-02 Thread Jesse Armand
nd convert it somehow to a group of points or rects in the screen, with their paths of movement. Once you obtained this path, then you can do something with it. But, my word of advice: People don't read PDFs with the gestures of their face or head. It's just

Re: Core Data search optimization

2010-08-30 Thread Jesse Armand
Never mind, I found the solution in DerivedProperty example. On Mon, Aug 30, 2010 at 6:43 PM, Jesse Armand wrote: > Hello, > > I can't seem to find any discussion about this, but I have this > question after I watched session 137 of WWDC about core data > optimization. &g

Core Data search optimization

2010-08-30 Thread Jesse Armand
Hello, I can't seem to find any discussion about this, but I have this question after I watched session 137 of WWDC about core data optimization. So, Melissa Turner advise to use <= and < instead of BEGINSWITH, but how do I do that with predicate substitution variables or formatted predicate? Le

Re: cocoa-dev vs. Apple's dev forums?

2010-03-08 Thread Jesse Armand
ll not find it using > Google. > > Gerd > I have to say, I agree with this opinion. It seems like I'm one of the classic developers. Jesse Armand (http://jessearmand.com) ___ Cocoa-dev mailing list (

Re: Using AppleEvents to copy and past text from any application

2010-01-05 Thread Jesse Grosjean
enu not working right? Last, how would I go about sending Cmd-C/Cmd-V keystrokes directoy to another application? Thanks, Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the lis

Re: Using AppleEvents to copy and past text from any application

2010-01-05 Thread Jesse Grosjean
s for your response, made me think just a bit furthur I can probably work through this solution myself now. Jesse On Tue, Jan 5, 2010 at 11:02 AM, Jean-Daniel Dupas wrote: > > Le 5 janv. 2010 à 16:46, Jesse Grosjean a écrit : > > I'm developing a small open source app cal

Using AppleEvents to copy and past text from any application

2010-01-05 Thread Jesse Grosjean
nt to select all, and copy the text. And on the return trip I need help pasting in new text. Thanks, Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact th

NSHTTPCookieStorage to implement "Sign Out" functionality

2009-12-01 Thread Jesse Grosjean
st: - Could the problem be related to: http://www.macworld.com/article/143343/2009/10/safaricookieproblems.html Does anyone know how to consistently implement "log out" functionality in an app that interacts with a web service? Thanks, Jesse _

Re: What is the best way to call parent view controller methods from within child view controller?

2009-09-20 Thread Jesse Armand
On Sun, Sep 20, 2009 at 6:37 PM, Jesse Armand wrote: > You can create an ivar in class B that refer to class A instance. Set > that ivar, when class B instance is created. > So, you can call the methods in class A by using that instance, > without searching through the view contr

Re: What is the best way to call parent view controller methods from within child view controller?

2009-09-20 Thread Jesse Armand
. You should not refer to the navigation controller's parent. You should refer to the current view controller's parent. self.parentViewController.navigationItem.title = @"New Title" That's if the parentViewController is not nil. I never used this

Re: Building a 64-bit Preferences Pane

2009-09-18 Thread Jesse Armand
You can't open SimplePrefPane preferences because >         it doesn't work on an Intel-based Mac. > That is a horribly failure message.  Please file a bug via > http://bugreporter.apple.com/. > > Satoshi > > >> >> Jesse Armand >> --

Re: Building a 64-bit Preferences Pane

2009-09-18 Thread Jesse Armand
I just realized that the dev forums for Mac is only available for Select or Premier member of ADC, not the online member. Do you mind to share the solution ? Jesse Armand (http://jessearmand.com) 2009/4/30 慧 松本 : > Thanks!! > > My problem was

Re: Mac Mini or iMac for Cocoa Development?

2009-09-13 Thread Jesse Armand
phics processing or hardcore games. Jesse Armand (http://jessearmand.com) On Mon, Sep 14, 2009 at 2:53 AM, Michael Rogers wrote: > Hi, All: > > I've been given a short deadline for choosing between a Mac Mini or iMac for > Cocoa developm

Re: Cocoa-dev Digest, Vol 6, Issue 1304

2009-09-12 Thread Jesse Armand
Read the data into NSDate object, and compare it with timeIntervalSinceDate: method. This way, you'll get the time interval in seconds and then convert it to unit of days. Jesse Armand (http://jessearmand.com) On Sat, Sep 12, 2009 at 6:

The correct NSPredicate format for one-to-many relationship in Core Data

2009-07-25 Thread Jesse Armand
'", and it caused an objc_exception_throw in: [NSSQLGenerator generateSQLStatementForFetchRequest:ignoreInheritance:countOnly:] What seems to be the problem ? Anybody can advise me on the correct predicate format ? Jesse Armand --

Re: memory allocation different in simulator and on the iPhone

2009-07-24 Thread Jesse Armand
Try to use image allocation methods besides imageNamed Jesse Armand (http://jessearmand.com) On Fri, Jul 24, 2009 at 9:07 AM, Dragos Ionel wrote: > Hi, > I am working on a animal encyclopedia on iPhone. One of the pages displays > one photo of

Re: iPhone List? - few questions

2009-07-24 Thread Jesse Armand
he/she do without the secure device that's registered to your bank account ? Jesse Armand (http://jessearmand.com) On Fri, Jul 24, 2009 at 8:12 AM, Roland King wrote: > Well you can't register to listen to SMSes, that hook just doesn'

Re: iPhone List? - few questions

2009-07-23 Thread Jesse Armand
's no need to use the carrier-specific features in the iPhone. You can observe CitiMobile for US, see how do they do it, it's just like an internet banking, no need for SMS. In my opinion, iPhone apps shouldn't depend too much on carrier specific fea

Re: iPhone List? - few questions

2009-07-23 Thread Jesse Armand
d the text into the server, and the server will forward the message through sms. Jesse Armand (http://jessearmand.com) On Thu, Jul 23, 2009 at 2:43 PM, Gustavo Pizano wrote: > Nop you didn\'t miss understood the question, I will have a look at t

Re: Display the elements of array in a tablview ?

2009-07-07 Thread Jesse Armand
I'm not even familiar with Bindings, is it convenient to use ? I did an intensive development with Cocoa starting with Cocoa Touch, so I'm used to using the equivalent UITableViewDataSource to populate table views. Jesse Armand (http://jesse

Re: How to share Cocoa classes?

2009-07-06 Thread Jesse Armand
> > Nevertheless, I'd appreciate it highly, if you'll guide me through the XCode > project settings adjustment, as it sounds foggy for me, how to make static > library to rebuild itself when main project is built. What particular > settings should I add to the main project? Add the target of the p

Re: Subject: Re: How to share Cocoa classes?

2009-07-06 Thread Jesse Armand
> > Is this option applicable to library project settings or to a project where > this library is called from? > Since the linking is done on the project that's including the library, so this should be done on the project that's using the library. > > Could you please give an example of particula

Re: How to share Cocoa classes?

2009-07-06 Thread Jesse Armand
_load to the "Other Linker Flags" in the build configuration. To be able to use #import , you need to add a header search path, that refers to that global directory (or system directory, if you prefer) in your project settings. Jesse Armand ---

Re: Send files from iphone

2009-07-04 Thread Jesse Armand
bviously exists on iPhone OS. Jesse Armand (http://jessearmand.com) On Sat, Jul 4, 2009 at 6:58 PM, Peter Mulholland wrote: > Hello Development, > > Saturday, July 4, 2009, 3:20:45 AM, you wrote: > >> I need to be able to upload the

Re: iPhone UIWebView height?

2009-03-14 Thread Jesse Armand
This is also what I'm looking for. I want to create a UIWebView with a frame size that will adjust itself according to the contents of the HTML string, or even more simpler an image. Anybody have any experiences with this ? Jesse Armand

Re: garbage collection is ON NSCFDictionary crash

2009-02-06 Thread Jesse Grosjean
t/Contents/MacOS/Sonix SN9C102p WebCam Removing that fixed the problem for me in at least one case. Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderator

Re: garbage collection is ON NSCFDictionary crash

2009-02-03 Thread Jesse Grosjean
al work and figure out how to reproduce the darn thing. Thanks for your thoughts and ideas. I'll post again if I can figure out how to reproduce it. Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: garbage collection is ON NSCFDictionary crash

2009-02-03 Thread Jesse Grosjean
> GC support in Sparkle is pretty new, and I remember seeing some GC- > related bugs last time I browsed the source. Jesse, are you using > recent Sparkle code? I am using the GC supported version of Sparkle, but I haven't updated for a month or so. I'll look into

garbage collection is ON NSCFDictionary crash

2009-02-03 Thread Jesse Grosjean
e crash is always in Thread1 and NSCFDictionary is always printed near the top of the crash report. Does anyone have any idea of what could be causing this. Or can you suggest some steps that I could take to track it down? Thanks, Jesse ___ Cocoa-dev mailing l

RE: Dynamic Sdef support - anyone had any luck? (Andy Klepack)

2009-02-02 Thread Jesse Grosjean
for "handleGetSDEFEvent". It's been a while since I looked over that code, but it seems to be working OK for my apps. Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: [NSTextView complete:] popup menu delay before hiding

2008-12-05 Thread Jesse Grosjean
#x27;m assuming that there is a bug when garbage collection is on... the popup only shows for a few seconds until it gets collected. I'll report this to app, in the meantime does anyone know how to work around this problem? Jesse ___ Cocoa-dev

[NSTextView complete:] popup menu delay before hiding

2008-12-03 Thread Jesse Grosjean
hings up so that the completions list hides after a few seconds. Does anyone know how to make sure that NSTextViews popup menu of completions stays visible until the user presses a new key? Thanks, Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple

Re: AudioQueueServices Tutorial?

2008-09-17 Thread Jesse Armand
Well that's the issue most people is having, especially on iPhone SDK. But I think for Mac Desktop, the Apple docs is sufficient. Jesse Armand (http://jessearm.blogspot.com) On Wed, Sep 17, 2008 at 3:22 PM, Muhammad Ishaq <[EMAIL PROTECTED

Re: Parse form values from HTTP POST

2008-08-21 Thread Jesse Grosjean
} } return results; } And for more future reference this code isn't really complete, it's assuming UTF8, and doesn't handle multipart posts, but it works for my needs. Thanks again. Jesse ___ Cocoa

Re: Parse form values from HTTP POST

2008-08-20 Thread Jesse Grosjean
re. Anyway I'll start on my own implementation, but if someone can point me to an existing solution for decoding x-www-form-urlencoded that would make my day :) Thanks, Jesse http://developer.apple.com/samplecode/CocoaSOAP/listing7.html On Wed, Aug 20, 2008 at 1:54 PM, Jesse Grosje

Parse form values from HTTP POST

2008-08-20 Thread Jesse Grosjean
ry of keys and values. Is there an API that can do this, or any example code around? Thanks for any help. Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: How to include a .c file in a loadable bundle?

2008-08-13 Thread Jesse Grosjean
Perhaps a precompiled headers problem? See <http://www.cocoabuilder.com/archive/message/cocoa/2007/12/19/195207 > Ken, Thanks, that seems to have been the problem. Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do no

How to include a .c file in a loadable bundle?

2008-08-13 Thread Jesse Grosjean
hat project. 3. Add new Carbon C file to the application. Compile. It works. 4. Add new Carbon C file to the bundle. Compile. And I get 1495 errors starting with: Building target “MyBundle” of project “TestApp” with configuration “Debug” — (1495 errors) cd /Users/jesse/Desktop/Test

NSError and [NSTextStorage readFromURL:options:documentAttributes:error:]

2008-07-10 Thread Jesse Grosjean
NSURL *url = [NSURL fileURLWithPath:@"/Users/jesse/Desktop/test.zip"]; NSTextStorage *storage = [[NSTextStorage alloc] init]; NSError *myError = nil; if (![storage readFromURL:url options:nil documentAttributes:nil error:&myError]) {

NSInvalidArgumentException', reason: '*** -[NSCFArray insertObject:atIndex:]: attempt to insert nil

2008-07-06 Thread Jesse Armand
is problem, even though I thought this could be happening because I'd done something wrong related to CFRunLoop. I have searched everywhere for this, but none of it points me to guide on how to trace the errors related to this message. -- Jesse Armand b

Re: NSPredicate for a ANY match based on two properties at once

2008-06-20 Thread Jesse Grosjean
$x.value = %@)[EMAIL PROTECTED] != 0)", @"aNameToMatch", @"aValueToMatch"]; Wow, that's it! Somehow I missed the whole SUBQUERY possibility. Thank you very much! Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: NSPredicate for a ANY match based on two properties at once

2008-06-20 Thread Jesse Grosjean
predicates aren't forced to match against the same tag. So if the potential matching entry has multiple tags this query will match if any of those tags match the tag name, and if any of the tags values match the tag name, but there's no constraint that a the

NSPredicate for a ANY match based on two properties at once

2008-06-20 Thread Jesse Grosjean
e all just being run in memory, with my own custom model objects (not using Core Data). If there is no way to do this in a format string, is there some way to do it by directly constructing a predicate object? Thanks, Jesse ___ Cocoa-dev mailing li

Spaces bug when [NSTextView complete:] called?

2008-06-19 Thread Jesse Grosjean
erent spaces. Pretty quickly you'll get into an odd situation where as soon as you try to complete you'll be changed to a different space. Has anyone else noticed this? Does anyone know of a workaround? Thanks, Jesse ___ Cocoa-dev mailing

Re: disappearing NSSpellingStateAttributeName

2008-06-19 Thread Jesse Grosjean
Martin, I haven't fixed it yet, but that seems likely to be the problem. Thank you! Jesse On Jun 18, 2008, at 5:41 PM, Martin Wierschin wrote: Does anyone know what causes the _clearTemporaryAttributesForCharacterRange method to get called... and have theories on why it's be

disappearing NSSpellingStateAttributeName

2008-06-18 Thread Jesse Grosjean
I have an NSTextView. Check spelling as you type is enabled. If I misspell a word it is correctly underlined with a red line immediately after I type the word followed by a whitespace. But then the underline is removed when I begin typing a new word. I'm guessing this is related to some thi

Re: adding a delegate to a class

2008-06-10 Thread Jesse Armand
d)showText:(NSString*)text { // Insert your code } @end If you have any questions, just ask, and please read Apple Docs, since it's already quite complete in explaining these. Regards, Jesse --

Re: some questions about creating image thumbnails

2008-04-10 Thread Jesse Grosjean
Ben and others thank you. Through that link I found CGImageSourceCreateThumbnailAtIndex, which looks like it might be just what I need. Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

some questions about creating image thumbnails

2008-04-09 Thread Jesse Grosjean
g the original image into the smaller image, and writing them out as above. Is there a smarter way? I've heard (or maybe imagined) that some image file formats will already embed their own thumbnails. Is that a better way to do things... what image formats supp

Re: CoreAnimation with and manual animation...

2008-04-01 Thread Jesse Grosjean
copy]) { [each step]; // calculate and assign self new position } [CATransaction commit]; I've also looked at the physics engine stuff, looks like great fun, but this project is actually super simple so I probably won't bother with including a physics engine for n

CoreAnimation with and manual animation...

2008-04-01 Thread Jesse Grosjean
just not understanding? At the moment I haven't done much programming, just reading through the docs and trying to figure the best way to approach the problem. I guess the my question really is, what's the best way to animate a layer who's velocity is

Re: programatically show NSSegmentedCell menu?

2008-03-27 Thread Jesse Grosjean
Bob, Thanks, but that only seems to select the cell. I want to temporarily highlight the cell, and show the menu, as if the user has clicked on it. Anyway looking into synthesizing the mouse event now. Jesse On Mar 27, 2008, at 4:32 PM, Bob Clark wrote: On Mar 27, 2008, at 1:21 PM, Jesse

programatically show NSSegmentedCell menu?

2008-03-27 Thread Jesse Grosjean
he middle cell. Is there a way to do a "targeted" performClick on a NSSegmentedControl? That's targeted to a specific cell? Thanks, Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mode

NSTextStorage subclassing questions

2008-03-24 Thread Jesse Grosjean
any example code (or hints) on how to make a NSTextStorage subclass fix attributes lazily. I've tried turning it one, and adding [self ensureAttributesAreFixedInRange:NSMakeRange(index, 0)] to the attributesAtIndex:effectiveRange: method, but my app soon crashes after

Re: [Mini Announce] Leopard style tabs that need your help

2008-03-21 Thread Jesse Grosjean
mework, I think it's great and have used it in my products. But it's just more then I really need, and my 80% solution seems so close to what I exactly want... except of course for the always pesky remaining 20%! Jesse ___ Cocoa-dev mailing

[Mini Announce] Leopard style tabs that need your help

2008-03-20 Thread Jesse Grosjean
erests you please read this post on my blog for the download link and for some more info on where I need help. In particular help using image masks. http://hogbaysoftware.com/forums/hog_bay_software/topics/681__For_Programmers_Leopard_style_tabs Tha