Getting a view's size?

2009-10-18 Thread patrick
But in my view, if I output the size (.width and .height) from [self frame] or [self bounds], I get 0 x 12400. I wrote a screen saver before, and [self bounds] returns the screen size, so I'm a little puzzled by this behaviour. Any help would be greatly appre

Re: Getting a view's size?

2009-10-18 Thread patrick
Thank you! That was exactly the problem. :) Patrick On Sun, Oct 18, 2009 at 10:44 PM, patrick wrote: > Thank you! That was exactly the problem. :) > > Patrick > > On Sun, Oct 18, 2009 at 10:39 PM, Kyle Sluder wrote: >> On Sun, Oct 18, 2009 at 10:31 PM, patrick wrote: >

Re: Can't log in to Developer Centre

2012-03-09 Thread Patrick
Pretty sure that'd be devprogr...@apple.com. On Fri, Mar 9, 2012 at 2:51 PM, Peter Hudson wrote: > I can't log in to my Dev Centre account. > Does anyone know who to email about this ? > > Peter > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.co

Re: QuickLook CGSReenableUpdate Message

2016-09-14 Thread Patrick Cusack
Did you ever solve this issue? I filed a DTS with apple which they returned to me as a bug. Patrick Sent from my iPhone > On Jan 9, 2015, at 10:25 AM, cocoa-dev-requ...@lists.apple.com wrote: > > Message: 11 > Date: Fri, 09 Jan 2015 11:25:51 -0700 > From: Richard Charles

Re: About the Bundle creator OS Type code

2015-02-03 Thread Patrick Benton
interesting. apparently creator codes were respected up to OS X 10.6 http://en.wikipedia.org/wiki/Creator_code (although depreciated) but it looks like it no longer is used. (unless people still run OS X 10.5 or lower??) On Sep 19, 2014, at 3:54 AM, Graham Cox wrote: > > On 19 Sep 2014, at

WKWebView +

2015-02-13 Thread patrick machielse
rk correctly with file s? There must be a way, this seems quite basic. patrick -- Patrick Machielse Hieper Software http://www.hieper.nl i...@hieper.nl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moder

Re: Alternative Location of Cocoa ID3 Framework??

2010-04-07 Thread patrick machielse
7;s covered by a usable license (lgpl), supports more tags than just ID3, and there's a development mailing list. What more do you want? patrick -- Patrick Machielse Hieper Software http://www.hieper.nl i...@hieper.nl ___ Cocoa-dev mailing list

Re: Alternative Location of Cocoa ID3 Framework??

2010-04-07 Thread patrick machielse
Op 7 apr 2010, om 18:33 heeft Jens Alfke het volgende geschreven: > On Apr 7, 2010, at 1:54 AM, patrick machielse wrote: > >> Don't use that, it is no longer up to date. > > Yeah; after running into some bugs, and looking through the source code, I > decided I was

IB Plugin Container View and child management

2010-05-03 Thread Patrick Mau
nd remove the just-added instance, but that leads to a nice "assertion failure" in IB. Is there any way for a object to refuse itself to be dropped in certain locations? Thanks a lot Patrick ___ Cocoa-dev mailing list (Cocoa-dev@list

Framework linking errors

2010-05-15 Thread Patrick Rutkowski
ect? I'm awfully tempted to do so. -Patrick ___ 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/Unsubsc

Re: Framework linking errors

2010-05-15 Thread Patrick Rutkowski
want. If I link my framework dynamically against OpenSSL, then I force the clients of my framework to use the dynamic version of OpenSSL, which I also don't want. (correct me if I'm wrong on either of those points) -Patrick On May 15, 2010, at 11:29 PM, Patrick Rutkowski wrote: &g

NSXMLParser initWIthData - Encoding?

2010-05-21 Thread Patrick Rutkowski
/apple_ref/occ/instm/NSXMLParser/initWithData: I'm still pretty new to XML though, does the encoding always have to be UTF-8, or perhaps always UTF-16? Either way, which encoding does initWithData expect to get? Does it perhaps detect which encoding is being used, based on the data you giv

Re: NSXMLParser initWIthData - Encoding?

2010-05-21 Thread Patrick Rutkowski
to omit information about the format of binary data, then you're just a moron. I'm not saying that you're a moron for accidentally forgetting to document it, but if you want to say (as you seem to be doing) that it's OK to consciously leave it out, then you're just a

Re: NSXMLParser initWIthData - Encoding?

2010-05-21 Thread Patrick Rutkowski
I really hope you're joking. Do you really not see that it's completely non-obvious if it's supposed to be UTF-8 or UTF-16? -Patrick On May 21, 2010, at 1:31 PM, Gary L. Wade wrote: > The name of the class makes it pretty obvious to everyone that the data is > XML. >

Re: NSXMLParser initWIthData - Encoding?

2010-05-21 Thread Patrick Rutkowski
On May 21, 2010, at 1:31 PM, Kyle Sluder wrote: > On Fri, May 21, 2010 at 10:23 AM, Patrick Rutkowski > wrote: >> Milder tone? No thanks. > > Awfully strong words from someone who waltzes onto a mailing list, > lambastes the documentation, and admits in the very next sent

Re: NSXMLParser initWIthData - Encoding?

2010-05-21 Thread Patrick Rutkowski
On May 21, 2010, at 1:29 PM, David Duncan wrote: > On May 21, 2010, at 10:23 AM, Patrick Rutkowski wrote: > >> Any API that accepts binary data needs to give at least a hint as to what >> format the binary data should be. Saying that just it accepts "data" is &

Underlining text

2011-08-12 Thread patrick machielse
is there a better way to draw underlines? Thanks, patrick -- Patrick Machielse Hieper Software http://www.hieper.nl i...@hieper.nl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. C

Re: Launching 10.5 app on 10.4

2011-10-18 Thread Patrick Cusack
Ok, so it will warn the user? I had an experience where the application wouldn't launch and no alert panel would open. Thanks, patrick On Oct 18, 2011, at 11:39 AM, Tim Schröder wrote: > I don't think there is one. If the build settings are correct, OS X won't > star

AXUIElementPostKeyboardEvent - not sending key presses to Safari/TextEdit in Lion

2011-11-17 Thread Patrick Robertson
Hi all, I've upgraded to Lion, and my app which sends simulated keyboard presses to various apps to activate a service cannot send these keyboard presses to Safari or TextEdit. The keyboard presses are still sent correctly to Xcode, Finder and Mail. I have also confirmed that they still work fine

CoreData and Threading

2011-11-18 Thread patrick machielse
nto the background thread context. Is there a solution for my use case? I could probably try to extend a solution with locking, but it will be error prone… Thanks, patrick -- Patrick Machielse Hieper Software http://www.hieper.nl i...@hieper.nl ___ Cocoa

Re: CoreData and Threading

2011-11-20 Thread patrick machielse
is used 'read only'. The information must flow from the main context to the background context. All examples seem to assume editing in the background and updating the main context. patrick -- Patrick Machielse Hieper Software http://www.hieper.nl i...@hieper.nl

Re: CoreData and Threading

2011-11-20 Thread patrick machielse
-managed-object) from my persistent document which contains just the info I need to access (read-only) from the audio thread. I could use the 'NSManagedObjectContextObjectsDidChangeNotification' notification to update or refresh this representation. I think / hope this is a workable sol

Re: AXUIElementPostKeyboardEvent - not sending key presses to Safari/TextEdit in Lion

2012-02-17 Thread Patrick Robertson
AXUIElementPostKeyboardEvent anymore. Do people consider this to be reasonable/make sense? Somehow, I don't see how it's justifiable for a Sandboxed app to display this behaviour, and causes serious usability problems. On 24 November 2011 10:25, Bill Cheeseman wrote: > > On Nov 23, 2011, at

Re: AXUIElementPostKeyboardEvent - not sending key presses to Safari/TextEdit in Lion

2012-02-17 Thread Patrick Robertson
m our applications. Thanks for your reply Nick, it's nice to know that I'm not the only one. On 17 February 2012 18:27, Nick Zitzmann wrote: > > On Feb 16, 2012, at 1:22 AM, Patrick Robertson wrote: > > > As a follow up, it appears that in 10.7.3 Apple have included a further >

Adding HTML data to the general pasteboard

2011-05-27 Thread Patrick Robertson
Dear all, I currently have an application which pastes objects from a given list of saved objects (basically strings) to wherever the mouse if focused. What I'm looking to do is paste these objects in RT format into various text editors. Most notably - URL strings (e.g. http://example.com) such th

Re: Adding HTML data to the general pasteboard

2011-05-27 Thread Patrick Robertson
g into RTF and HTML? On 27 May 2011 16:43, Patrick Robertson wrote: > Dear all, > > I currently have an application which pastes objects from a given list of > saved objects (basically strings) to wherever the mouse if focused. > What I'm looking to do is paste these objects in

Re: finder eject images

2011-07-04 Thread Patrick Robertson
Lots of system icons are stored in /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ EjectMediaIcon.icns is in there :) On 4 July 2011 20:21, Lee Ann Rucker wrote: > Unicode "eject symbol" 23CF, possibly in Apple Symbols font: ⏏ > > - Original Message - > From: "Tony Ro

Re: finder eject images

2011-07-05 Thread Patrick Robertson
> Yes, but we're supposed to use them in-place, not copy them into our apps. I wasn't suggesting that be done. Here's the code I use in my apps: - (NSImage *)sysIconNamed:(NSString *)name { NSString *path = [[NSBundle bundleWithPath: @"/System/Library/CoreServices/CoreTypes.bundle"] pathForResou

Re: finder eject images

2011-07-05 Thread Patrick Robertson
ter suggestions, feel free to let me know! For those hoping to use the CoreTypes.bundle ICNS, I have not seen any of them disappear or change name in over 8 years with OS updates. No changes is Lion either as far as I can tell. On 5 July 2011 15:20, Kyle Sluder wrote: > On Jul 5, 2011, at 5:20 AM, P

Toggle an object (image) when Command key is pressed: flagsChanged?

2011-07-26 Thread Patrick Robertson
Hi all, I'm wanting to toggle an object between its default and 'alternate' state (the object is made up of an image and some text) when the user hits the command (⌘) key. An obvious example is in Xcode 3.2 where if you press ⌥ the 'Build and Run' icon and text changes to 'Build and Debug' (or vic

Re: Document-based application issue

2009-12-30 Thread Patrick Mau
Hallo Mac Lancer I have recently developed my first Cocoa Aplication creating custom ducumen bundles. What I did was to not only registering the document types but also export the file types in case they are not yet registered. This was my first app that supports a quicklook plugin for previes an

Re: Custom NSFormatter classes

2010-01-03 Thread Patrick Mau
attached formatter that you setup in IB, passing it a property of Foo. All the best, Patrick On Jan 3, 2010, at 1:47 , Henri Häkkinen wrote: > Hello. > > I have an array of custom Foo objects which I would need to display in an > NSTableView object. I implement t

Re: Custom NSFormatter classes

2010-01-04 Thread Patrick Mau
ustom view subclass to handle actions and so on. You could use a custom Controller as your FilesOwner and bind actions there in IB. I hope you get the idea. Patrick PS: I don't mind answering, but my quick hacks will not necessarily improve your coding ;) Please read a lot of docum

Displaying animated content in iPhone app

2010-01-28 Thread patrick machielse
ode available). So, what are the current options for displaying movie like content in your app and have a decent control over playback and display? Thanks for any insight you can provide, patrick -- Patrick Machielse Hieper Software http://www.hieper.nl i...@hieper.nl ___

Re: Displaying animated content in iPhone app

2010-01-30 Thread patrick machielse
Op 28 jan 2010, om 18:35 heeft David Duncan het volgende geschreven: > On Jan 28, 2010, at 6:22 AM, patrick machielse wrote: > >> - I've seen mentioned that movie playback inside a view is not currently >> supported in the frameworks. I've also not found support for

Re: updating NSView on separate thread

2010-01-31 Thread Patrick Cusack
processing. Is this your understanding as well? patrick On Jan 31, 2010, at 4:58 PM, Kyle Sluder wrote: > On Sun, Jan 31, 2010 at 4:19 PM, wrote: >> I have overlaid a transparent window over my NSDocument's main window. My >> intent is to draw textual notifications to it,

Re: updating NSView on separate thread

2010-01-31 Thread Patrick Cusack
ing a round peg in a square whole? Patrick On Jan 31, 2010, at 8:09 PM, Richard Penwell wrote: > An example would be thus: > > (excuse the psudo code) > > In some class NSSomeController > > > - (void)importData > { > do > { > do so

Re: updating NSView on separate thread

2010-02-01 Thread Patrick Cusack
mode that I can set on the main thread's NSRunLoop that allows my calls to be invoked? Patrick On Feb 1, 2010, at 9:34 AM, Corbin Dunn wrote: > > On Feb 1, 2010, at 8:57 AM, Jens Alfke wrote: > >> >> On Feb 1, 2010, at 7:20 AM, Kyle Sluder wrote: >> >>&

UIImageView animationImages problem

2010-03-08 Thread patrick machielse
I'm trying to run small, full screen, 1 second long animations using the UIImageView animationImages property. The animation consists of a maximum of 9 frames, running at 18 frames per second. UIImages are re-used in the image array to conserve memory. Each time an animation runs, a new set of i

Re: UIImageView animationImages problem

2010-03-10 Thread patrick machielse
Op 9 mrt 2010, om 21:21 heeft David Duncan het volgende geschreven: > In part this is decoding the image (if they haven't been previously decoded). > Are you using +imageNamed: or +imageWithContentsOfFile: to load the images? I'm using imageWithContentsOfFile:. Mainly this is because I need to m

NSComparisonResult and equality

2009-07-01 Thread Patrick Mau
ending and NSOrderSame if ([obj1 compare:obj2] < NSOrderDescending) { // code } instead of testing for both constants: // This makes both tests explicit if (([obj1 compare:obj2] == NSOrderAscending) || ([obj1 compare:obj2] == NSOrderSame)) { //

Re: NSSliderCell question

2009-07-23 Thread Patrick Cusack
well. Now when I press the command key, I query the current event using your idea for getting the current event, [NSApp currentEvent], in my oberve value method. This works sufficiently for my purposes. Patrick - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id) object c

NSCell and partial redraw

2010-08-31 Thread Patrick Mau
ontrolView" for the region and maintain it there? How do people implement NSCell subclasses when the goal is to minimize the redraw code needed when the cell is drawn? Thanks a lot Patrick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) P

Re: NSCell and partial redraw

2010-08-31 Thread Patrick Mau
Hallo Fritz Thanks a lot for your comments. I just have a few remarks to clarify what I meant. Please see below. On 31.08.2010, at 17:26, Fritz Anderson wrote: > On 31 Aug 2010, at 4:59 AM, Patrick Mau wrote: > >> Let's assume I have a custom NSView that will use to custom

NSTableView within NSScrollView in code

2010-11-10 Thread Patrick Mau
e indeed resizeable, contain a valid headerCell and dataCell. As I said, everything is fine, but the columns do not auto-resize. Thanks a lot, Patrick PS: I will created a sample project if anyone wants me to, but if you copy the NSView's code into a newly created project with a custom view, you ar

Re: NSTableView within NSScrollView in code

2010-11-10 Thread Patrick Mau
Hallo Kyle Thanks for your remarks, but that's not it (unfortunately, see below). On 10.11.2010, at 22:54, Kyle Sluder wrote: > On Wed, Nov 10, 2010 at 1:34 PM, Patrick Mau wrote: >> >> Hallo everyone >> >> When I embed an NSTableView in an NScrollView, everyt

Re: NSTableView within NSScrollView in code

2010-11-11 Thread Patrick Mau
me:NSViewFrameDidChangeNotification object:[scrollView contentView]]; Strange thing, it does NOT work, allthough the contentView is in fact posting these notifications. I checked this by simply implementing the first snippet. Cheers and thanks for reading. Patrick On 11.11.2010, at 05:11, Jerry

Re: OutlineView with big text editor

2010-11-27 Thread Patrick Mau
geWidth; r.size.width -= imageWidth; [super editWithFrame:r inView:controlView editor:textObj delegate:anObject event:theEvent]; } Patrick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comm

Fast Enumeration and temporary objects/autoreleasing

2012-04-16 Thread Patrick Robertson
Hi all, I've searched the web, but can't seem to find any concrete information on how fast enumeration loops manage temporarily created objects. Would anybody be able to shine some light on whether fast enumeration itself takes care of the objects it creates? So, for example in: for (id anObject

When to declare variables and the compiler's intelligence

2012-04-16 Thread Patrick Robertson
Another one on the underlying nature of the compiler and Objective-C for you here! I'm interested in how clever the compiler is at deciding where to create variables etc. in the code, and whether it's more efficient (OK, it'll be negligible) to declare variables only when they're needed for example

Re: Fast Enumeration and temporary objects/autoreleasing

2012-04-16 Thread Patrick Robertson
a reference to one of the objects in the thing you are enumerating. > > [ array objectAtIndex:i ] doesn't create temporaries either. > > > On Apr 16, 2012, at 5:42 PM, Patrick Robertson wrote: > > > Hi all, > > > > I've searched the web, but can't

Re: Fast Enumeration and temporary objects/autoreleasing

2012-04-17 Thread Patrick Robertson
> While you have had the question answered, the fact you asked it shows a misunderstanding about memory management. Next time in my reply I will be clear to state that a) I have realised my mistake b) I have learnt from it to to save you some time writing your response ;-) I do appreciate your hel

ARC apps - loading non-ARC bundles

2012-05-18 Thread Patrick Robertson
Hi all, I'm (finally) looking at converting my non-ARC (Mac OS X) app over to ARC, but also have quite a few external plugins/bundles which can be loaded into the main app on runtime. My question is - can my ARC app load non-ARC bundles, or is this not possible. My guess is that it's the similar

Re: ARC apps - loading non-ARC bundles

2012-05-18 Thread Patrick Robertson
omething I have to keep in mind when testing the ARC app for the first time. Cheers, On 18 May 2012 17:37, David Duncan wrote: > On May 18, 2012, at 7:39 AM, Patrick Robertson wrote: > > > I'm (finally) looking at converting my non-ARC (Mac OS X) app over to > ARC, > > b

Fwd: Tool for creating application icon

2012-06-07 Thread Patrick Robertson
> I’m definitely not an icon designer myself, but it’s my understanding that people generally just use Photoshop, or, if your budget is tight, one of its less-expensive equivalents such as Pixelmator. All you need is a set of images in an alpha-containing format like .png, scaled to different sizes

Re: Proper place to post on 10.8 SDK?

2012-06-11 Thread Patrick Cusack
ent from my iPhone.) > > -- > Conrad Shultz > > On Jun 11, 2012, at 9:50, livinginlosange...@mac.com wrote: > >> Where could I post questions regarding the 10.8 SDK? Is that on the apple >> developer website? >> >> Patrick >> __

awakeFromSnapshotEvents: flags == 128?

2012-07-30 Thread patrick machielse
not caused by my override of awakeFromSnapshotEvents:. I'm trying to understand what is happening in the app / frameworks when flags == 128… patrick -- Patrick Machielse Hieper Software http://www.hieper.nl i...@hieper.nl ___ Cocoa-dev mail

Re: Editing multiple selections with bindings

2013-01-01 Thread Patrick Cusack
Sorry, I should specify that this is on OSX. resignFirstResponder tries to endEditing on the text you have typed and the commit the edits. I am trying to scrap the editing session and lose focus on the control as if no editing ever even started. I would like to ideally throw an NSRunAlert pan

Re: Editing multiple selections with bindings

2013-01-02 Thread Patrick Cusack
acceptsFirstResponder gets called more than once, and then the control passes focus onto the next control in the kew view loop. Really what I want to a accomplish is to discard the editing and resign focus from the control. Thanks, Patrick On Jan 2, 2013, at 6:41 AM, Keary Suska wrote: > On Jan 2, 2013,

Re: Editing multiple selections with bindings

2013-01-03 Thread Patrick Cusack
ut my control still has focus after calling discardEditing. Thoughts? Patrick On Jan 2, 2013, at 9:10 PM, Keary Suska wrote: > On Jan 2, 2013, at 7:29 PM, Patrick Cusack wrote: > >> Ok, I do have a delegate for my controls and am currently using >> control:textShouldEndE

Re: Editing multiple selections with bindings

2013-01-04 Thread Patrick Cusack
On Jan 3, 2013, at 9:18 PM, Keary Suska wrote: > On Jan 3, 2013, at 3:53 PM, Patrick Cusack wrote: > >> Keary, >> >> I am checking whether or not the user is trying to edit multiple items in my >> delegate's - (BOOL)control:(NSControl *)control textShouldEnd

NSScrollView Problems

2013-02-02 Thread Patrick Cusack
cocoa-dev, you are my only hope. Thanks, Patrick ___ 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: NSScrollView Problems

2013-02-02 Thread Patrick Cusack
> In IB, you can either add a scroll view than add a custom view to it, or add > a custom view and then use 'Embed in Scrollview' to wrap it in the > scrollview. Both work fine for me. I have embedded a custom view inside an NSScrollView. I have set the NSScrollview to be NSViewWidthResizable,

Re: NSScrollView Problems

2013-02-02 Thread Patrick Cusack
You can see an example of the problem here: http://i45.tinypic.com/fu8bpz.png On Feb 2, 2013, at 8:06 PM, Graham Cox wrote: > > On 03/02/2013, at 1:59 PM, Patrick Cusack wrote: > >> Sorry, I have asked this before, but I am genuinely perplexed and need help. >> I

Re: Warning users when editing multiple items

2013-02-05 Thread Patrick Cusack
raham Cox wrote: > > On 06/02/2013, at 2:52 PM, Patrick Cusack wrote: > >> Currently, my users can tab into the first field, and now they have >> inadvertently erased all of the names of the selected rows. Its been a while >> since I visited this code and I explicitl

Re: Warning users when editing multiple items

2013-02-06 Thread Patrick Cusack
t on Enter only". I had it set to "Sent on End of Editing" which cause the control to clear out the value for all of the selected cues when I finished editing. Patrick On Feb 5, 2013, at 8:01 PM, Graham Cox wrote: > > On 06/02/2013, at 2:52 PM, Patrick Cusack wrote: > &

Re: Warning users when editing multiple items

2013-02-06 Thread Patrick Cusack
e to press return. Weird. Sent from my iPhone On Feb 6, 2013, at 10:32 AM, Flavio Donadio wrote: > Graham and Patrick, > > > iTunes does that on commit. If I try to, let's say, add/change/delete the > cover image for several tracks, I'm reminded that I'm doing it fo

Preventing the dictionary popup from appearing

2013-02-14 Thread patrick machielse
s feature off. Thanks, patrick -- Patrick Machielse Hieper Software http://www.hieper.nl i...@hieper.nl ___ 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: Can I determine who is calling a delegate

2013-04-26 Thread Patrick Cusack
No, its not. That's what is weird. On Apr 26, 2013, at 5:34 PM, Jens Alfke wrote: > > On Apr 26, 2013, at 5:18 PM, livinginlosange...@mac.com wrote: > >> Is there a way for me to find out what object is posting a >> -[NSNotificationCenter postNotificationName:object:userInfo:] that >> eventu

Re: ARC vs Manual Reference Counting

2013-09-08 Thread Patrick Cusack
question is "Why did Apple decide to introduce ARC at all?". I am not convinced that the conventions are any easier than the previous model of manual retain counts. Patrick On Sep 8, 2013, at 10:11 PM, Fritz Anderson wrote: > On Sun, Sep 8, 2013 at 11:41 PM, wrote: > Would anyone

Re: ARC vs Manual Reference Counting

2013-09-09 Thread Patrick Cusack
x27;t had much exposure to ARC yet. So I will be upgrading with Mavericks to ARC and AVFoundation. Thanks for all of the comments. Patrick On Sep 9, 2013, at 7:29 AM, Alex Zavatone wrote: > > On Sep 9, 2013, at 3:58 AM, Tom Davie wrote: > >> >> On 9 Sep 2013, at 09:44, Ky

Re: What is an id?

2008-05-22 Thread Patrick Burleson
a particular column/row combination. This allows for the returning of any object. I guess it depends on the caller, what will happen with that object. I hope that helps. Patrick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do no

Re: How to get a message when RETURN is pressed in a NSTextField

2008-06-26 Thread Patrick Burleson
ction is sent not only for pressing enter but also > when the control looses firstResponder status. If I remember correctly, in IB you can set a NSTextField to only fire its action on "Enter" It's on the Info panel in the inspector for a NSTextField. May

Design Question: Where to observe using KVO?

2008-07-10 Thread Patrick Mau
on the application's data should be separate from the data hosting the appearance of the view. Thanks a lot for reading Patrick PS: I have been silently reading this list for a few weeks now, I really enjoy it! ___ Cocoa-dev mailing list (Cocoa-dev@l

Re: Design Question: Where to observe using KVO?

2008-07-10 Thread Patrick Mau
observed instance. I don't like that at all, but how would I be able to remove all observers when I have to clean them up later? Is there a better approach instead of observing every property of all array entries? Patrick ___ Cocoa-dev ma

Trigonometric Problem, Particularly tan() Function

2008-07-12 Thread Patrick Walker
For some reason, using standard trigonometric functions are not behaving as they should once you hit 90 degrees. I'm not importing another framework/library and assuming the ones I'm calling are the same ones found in the standby "math.h". The functions return correct values until you rea

Re: Trigonometric Problem, Particularly tan() Function

2008-07-12 Thread Patrick Walker
sure, you are aware those functions from math.h take arguments in radians, and not degrees, right? -- ivan On Jul 13, 2008, at 12:30 AM, Patrick Walker wrote: For some reason, using standard trigonometric functions are not behaving as they should once you hit 90 degrees. I'm not impo

Re: Design Question: Where to observe using KVO?

2008-07-13 Thread Patrick Mau
[NSValue valueWithNonretainedObject:object]; I didn't know that. I'm quite new to coocoa, but not to programming. Since the number of keypaths for each object is constant, I might decide using a custom bitmap object as the value part in the dictionary. That bitmap would indicat

Re: Trigonometric Problem, Particularly tan() Function

2008-07-13 Thread Patrick Walker
877334 itself. To me, that appears to be a rather strange value for a floating point number, esp. when cos(pi/2) is returning near-zero (an "e-08") number as well. Thanks for the replies. On 13-Jul-08, at 2:06 AM, Jens Alfke wrote: On 12 Jul '08, at 9:43 PM, Patrick Walk

Re: Blue lines (nice example app including quartz compositions)

2008-07-15 Thread Patrick Mau
iTunes current song information from within your program. The code is located here: http://borderless.vade.info/ I'd like to publicly thank the author for providing this. It contained very useful information that I was looking for. Regards, Patrick ___

NSConnection/proxy Issue (simplifed version)

2008-07-18 Thread Patrick Walker
Simple question that may or may not be programming related. I'm a mechanical engineering student so I'm trying to be as clear as I can here. This list entry may be a duplicate as the first attempt exceeded 25k in size. It seems NSConnection will return a proxy object but only when both

NSConnection Issue

2008-07-22 Thread Patrick Walker
I was wondering if anyone had any solutions to determine whether or not an NSConnection via NSSocketPorts are still valid without each end polling to see if it still connects? Right now, if the client tries to access the rootObject it hangs. While this may may only happen occasionally, I

Bizarre Xcode Behaviour

2008-07-28 Thread Patrick Walker
I've been working on an item and it worked all fine and dandy. Knowing things would soon go awry, I took a snapshot. I did a build after making an addition of another NSTextField label. Suddenly, each time the program was built or launched, I would get this: 2008-07-28 18:15:31.039 Server

Irritating Problem with NSString Method and File Paths

2008-08-03 Thread Patrick Walker
It seems that whenever I use Xcode to spawn the program, it is able to find the file but when spawning the program from Finder, it can never, ever find the file. I've been looking online and no one seems to have come across this before or maybe it's because it's so late that I'm not seeing

typedef, bindings, and Objective-C

2008-08-06 Thread patrick machielse
s, etc. work, obviously. -) -[Model respondsToSelector:@selector(text)] always returns YES, even when -[Model valueForKey:@"text"] fails. Should I have expected this? patrick -- Patrick Machielse Hieper Software http://www.hieper.nl [EMAIL PROTECTED] _

Cocoa and SOAP without WebServicesCore

2008-08-12 Thread patrick machielse
SOAP on OS X, or know of a good alternative? Thanks, patrick -- Patrick Machielse Hieper Software http://www.hieper.nl [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments t

Re: Cocoa and SOAP without WebServicesCore

2008-08-13 Thread patrick machielse
Op 13 aug 2008, om 10:33 heeft Thomas Engelmeier het volgende geschreven: Am 12.08.2008 um 22:26 schrieb patrick machielse: Now I find myself having to deploy to a platform where not even this feeble API is available. I've been investigating alternatives, and found the gSOAP li

Re: Cocoa and SOAP without WebServicesCore

2008-08-15 Thread patrick machielse
Op 15 aug 2008, om 01:07 heeft Rohan Lloyd het volgende geschreven: On 13 Aug 2008, at 6:26 AM, patrick machielse wrote: Does anyone have experiences with gSOAP on OS X, or know of a good alternative? A while back I was looking for a way to handle SOAP in Cocoa, and couldn't really

Problems running bannersample example project.

2008-08-25 Thread Patrick Neave
tried on a G3 running Tiger, here after going to the login window the machine just seems to hang with a blue screen and I never get to the login window. Anyone any ideas or suggestions? Thanks. Regards, Patrick ___ Cocoa-dev mailing list (Cocoa

Re: Problems running bannersample example project.

2008-08-25 Thread Patrick Neave
probably something I can live with. Regards, Patrick ___ 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.c

NameAndPassword Sample Code

2008-09-14 Thread Patrick Neave
of the nib loaded, which looks like a bug to me as "mPPasswordSecureTextField" is the field used for the list of users login nib. So I tried changing the fields, but still the same problem. Sorry for the long post, but I have been stuck on this for a while now and not sure how to pr

Re: NameAndPassword Sample Code

2008-09-15 Thread Patrick Neave
Jason, I haven't read this yet, so I'm not sure if it will be useful or not, but it may... assuming you have two computers that you can use, anyway. HTH, J http://developer.apple.com/technotes/tn2008/tn2108.html I hadn't seen that, thanks. Re

Re: Drawing an NSImage in a CALayer

2008-09-20 Thread Patrick Mau
Hi Matt I'm not involved in the discussion. I just wanted to thank you for the complete example, because I'm following this thread too. Regards, Patrick On 19.09.2008, at 19:48, Matt Long wrote: Hey Brad, I re-read my message and realized I was a bit condescending in my com

Re: lauchd and svnserve

2008-09-24 Thread Patrick Mau
I hope you don't mind sharing my plist. Please note the 'PathState', that avoids the mentioned mount issues. In addition, I use User/Group settings and decimal umask 23 ("027" octal). http://www.apple.com/DTDs/PropertyList-1.0.dtd "> Debug GroupName _svn

Re: Movable by window background AND custom NSView

2008-03-31 Thread patrick machielse
It baffled me too at first, but there is some logic to it. patrick ___ 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

Re: WebDav Client Libraries in Cocoa

2008-04-03 Thread Patrick Burleson
ctually linked against the subversion libraries. Patrick ___ 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/Unsubscrib

Toolbar Item In NSDocument accessing controller in MainMenu.nib

2008-04-03 Thread Patrick Burleson
sure there wasn't a "better" way of doing it. I'd really like a way for the Toolbar Item to hit the AppController directly to reduce the duplicated code. Any suggestions would be appreciated. Patrick ___ Cocoa-dev mailing list

[OT] Dallas Cocoa Meetup?

2008-04-07 Thread Patrick Burleson
Heads chapter setup. Patrick ___ 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 Subscri

Is There a File Comparison Control Available?

2008-05-05 Thread Patrick Altman
direction of a good place on getting started on such a custom control? Would I just composite a couple of NSTextView controls as a basis for the UI elements? Thanks, Patrick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Is There a File Comparison Control Available?

2008-05-05 Thread Patrick Altman
direction of a good place on getting started on such a custom control? Would I just composite a couple of NSTextView controls as a basis for the UI elements? -- Patrick Altman ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

  1   2   >