Re: Insetting a UIWebView while a keyboard is on screen

2014-05-28 Thread Nick Zitzmann
can know when not to move the view? The AppKit has the -[NSApplication currentEvent] property, but I can't find any UIKit equivalent. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Insetting a UIWebView while a keyboard is on screen

2014-05-27 Thread Nick Zitzmann
? Nick Zitzmann http://www.chronosnet.com/ ___ 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: Audio in WebView stop when close NSWindow

2013-08-23 Thread Nick Zitzmann
server. I haven't tried it, but based on my previous experience with IKImageBrowserView, the WebView ought to carry on as if nothing happened… Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Connect to Server on LAN over WiFI

2013-07-31 Thread Nick Zitzmann
On Jul 31, 2013, at 11:35 AM, koko k...@highrolls.net wrote: I just need some direction here. Given a server on a LAN how do I connect to the server, i.e what iOS API do I use? What kind of server? What protocol does the server use? What are you trying to accomplish? Nick Zitzmann http

Re: Unrecognized selector -[UIFont fontName]?

2013-07-15 Thread Nick Zitzmann
and CTFontRef are toll-free bridged, I don't see any official documentation stating that UIFont and CTFontRef are toll-free bridged, so I'm pretty sure the answer is no. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev

NSTableView/NSOutlineView view-based group rows/items span the whole column?

2013-06-22 Thread Nick Zitzmann
view-based outline views can do a few more things than cell-based views, but the existing cell-based view displays a different cell (not text cells) in each column on group item rows, so this feature seems like a pretty big regression if it can't be disabled. Nick Zitzmann http

Re: Staying on integrated GPU while using NSOpenGLView

2013-06-12 Thread Nick Zitzmann
internally, and uses NSOpenGLPixelFormat to set up its pixel format. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: Staying on integrated GPU while using NSOpenGLView

2013-06-11 Thread Nick Zitzmann
switch-over from happening. Since it's undocumented, the usual disclaimers apply: use it at your own risk, it may break in the future, and all that. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Nib image caching

2013-05-28 Thread Nick Zitzmann
On May 28, 2013, at 4:25 PM, James West j...@clvr.im wrote: Does anyone know if nibs cache images or not inside of UIImageView? They don't. IIRC early versions of OS X allowed this, but it was taken out pretty quickly. Nick Zitzmann http://www.chronosnet.com

Re: Detect whether UIRefreshControl can be used

2013-05-08 Thread Nick Zitzmann
exists inside the method's own class. I doubt that's your intention, especially since set-methods typically take an argument, and if the method takes an argument, then you would need to use setRefreshControl: instead. Nick Zitzmann http://www.chronosnet.com

Re: Trouble linking libcommonCrypto in iOS 6.1

2013-05-06 Thread Nick Zitzmann
trying to accomplish? You normally do not need to link a target directly to libcommonCrypto; it is part of libSystem, the standard C library, and therefore gets automatically linked to the target unless you manually turned that off. Nick Zitzmann http://www.chronosnet.com

Re: Trouble linking libcommonCrypto in iOS 6.1

2013-05-06 Thread Nick Zitzmann
, is not part of iOS, and is deprecated on OS X (but is still widely used because it has several functions that are currently not available in CommonCrypto or the Security framework). Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing

Re: LSGetApplicationForURL() failed Error -10814

2013-04-29 Thread Nick Zitzmann
for LSGetApplicationForURL() says: If no application suitable for opening the item is found in the Launch Services database, the function will return the result code kLSApplicationNotFoundErr. kLSApplicationNotFoundError is error -10814. Nick Zitzmann http://www.chronosnet.com

Re: sandboxd deny hid-control weirdness

2013-04-25 Thread Nick Zitzmann
is striking down. This is normal, and there is no workaround because Apple refuses to allow sandboxed apps to send HID events. In the past, using Ink also blocked sandboxed apps from receiving mouse-up events, though I think that bug has been fixed by now. Nick Zitzmann http://www.chronosnet.com

Re: Clang File not found - in cocoa app

2013-04-20 Thread Nick Zitzmann
On Apr 18, 2013, at 1:51 AM, Christ Levesque iapplechocol...@me.com wrote: I used clang in my cocoa app but it doesn't find Clang/Index.h. The error is File not found. I linked to clang but again it doesn't find it. Anybody knows what's the problem. What are you trying to accomplish? Nick

Re: Core Data grinds for 30 min saving SQLite. 10.6 Bug?

2013-04-15 Thread Nick Zitzmann
, it allocates up to twice the size of the managed object when updating or deleting (!) the object, so if you have an object that is a few hundred megabytes in size and the process is running in 32-bit mode, then it may not be able to update/delete the object. Nick Zitzmann http://www.chronosnet.com

Re: Core Data grinds for 30 min saving SQLite. 10.6 Bug?

2013-04-15 Thread Nick Zitzmann
what's going on…? That would require installing Xcode from the App Store. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: NSUserNotificationCenter: Spoofing the app name/icon?

2013-02-13 Thread Nick Zitzmann
On Feb 13, 2013, at 3:25 AM, jonat...@mugginsoft.com wrote: Is it not possible to use IPC to have the helper message the client app so that the client does the actual posting? The client might not be running at the time. Nick Zitzmann http://www.chronosnet.com

Re: NSImage leaks open file in 10.8.2?

2013-02-13 Thread Nick Zitzmann
in the method's documentation. If you need image files to be opened, read into memory, and then closed, then the first thing I would try is initializing them from unmapped NSData objects created using +dataWithContentsOfURL:options:error:. Nick Zitzmann http://www.chronosnet.com

NSUserNotificationCenter: Spoofing the app name/icon?

2013-02-12 Thread Nick Zitzmann
icon if at all possible. How do I do that? It should be possible because I suspect CalendarAgent is spoofing Calendar.app… Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

NSCalendar week-of-year calculations and week 1

2013-01-04 Thread Nick Zitzmann
) in the components, and I got the same incorrect results. Nick Zitzmann http://www.chronosnet.com/ ___ 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

Re: NSCalendar week-of-year calculations and week 1

2013-01-04 Thread Nick Zitzmann
there may be two week 1s in a year. Short answer: Use NSYearForWeekOfYearCalendarUnit. Thanks, Kyle and Greg. That was what I needed. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Font names

2012-12-21 Thread Nick Zitzmann
, but there is this: https://en.wikipedia.org/wiki/List_of_typefaces_included_with_OS_X Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: Font names

2012-12-21 Thread Nick Zitzmann
(it wasn't) or something similar. Nick Zitzmann http://www.chronosnet.com/ ___ 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

Making an automatic vertically expanding NSTokenField?

2012-12-19 Thread Nick Zitzmann
. But whenever I call it, it always returns zero size even though there are tokens in the field. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: URL Request from AppDelegate?

2012-12-12 Thread Nick Zitzmann
:] and see for yourself. Nick Zitzmann http://www.chronosnet.com/ ___ 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

Re: Remote control desktop from iPhone

2012-12-06 Thread Nick Zitzmann
/Bonjour guru. MYNetwork will get you half-way there: https://bitbucket.org/snej/mynetwork/wiki/Home Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Dangling reference to an invalid object

2012-12-03 Thread Nick Zitzmann
if you're getting this exception, you need to be more careful about using the -refreshObject:mergeChanges: method, because the code is most likely misusing it. One way to fix this is to never refresh an object that has a temporary object ID. Nick Zitzmann http://www.chronosnet.com

Re: Mysterious crash report

2012-11-14 Thread Nick Zitzmann
On Nov 14, 2012, at 2:26 PM, Graham Cox graham@bigpond.com wrote: We got this crash report associated with our app, which has us scratching our heads. It does not seem to be reproducible, but what does it mean 'API MISUSE'? Does your app use RR, GC, or ARC memory management? Nick

Re: Core Data user Info

2012-11-02 Thread Nick Zitzmann
. Sync Services was deprecated in favor of iCloud in Lion. Anyway, you can ignore these properties if your project doesn't use Sync Services. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Warning message using stringWithContentsOfFile:encoding:error:

2012-10-27 Thread Nick Zitzmann
to Rf_error? Nick Zitzmann http://www.chronosnet.com/ ___ 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

Re: Position of my item in the statusBar

2012-09-17 Thread Nick Zitzmann
, and then cycle through the app's windows to find a window with a contentView with a target that is identical to the status item's target, then that window is the status item's window. You should be able to get the status item's frame from that window. Nick Zitzmann http://www.chronosnet.com

Re: fragile ABI and PPC64

2012-08-20 Thread Nick Zitzmann
in a security update. It was for reasons like these that we decided to drop PPC64 support in our GUI apps, and require Snow Leopard for the X86-64 builds. I never noticed any problems in the 64-bit non-GUI frameworks, e.g. Foundation or CoreFoundation. Nick Zitzmann http://www.chronosnet.com

Re: 32-bit on 10.8

2012-08-09 Thread Nick Zitzmann
the hold-up? I ported a rather large code base to 64-bit in a day or two, and the only hard part was porting some code that used the Sequence Grabber over to the newer QTCapture classes. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing

Re: Debugging -setNeedsDisplayInRect:

2012-08-06 Thread Nick Zitzmann
On Jul 27, 2012, at 10:36 AM, Curt Clifton curt.clif...@mac.com wrote: On Jul 27, 2012, at 8:55 AM, Nick Zitzmann n...@chronosnet.com wrote: But I need to be able to see **all** invocations of the method from **all** NSViews to catch the culprit, because I have a rather complicated view

Re: Debugging -setNeedsDisplayInRect:

2012-07-27 Thread Nick Zitzmann
On Jul 27, 2012, at 2:35 AM, Markus Spoettl ms_li...@shiftoption.com wrote: On 7/27/12 5:10 AM, Nick Zitzmann wrote: I've got a view that, according to Quartz Debug, is invalidating a large and unnecessary portion of the view when certain user events happen. The problem is, I have no idea

Debugging -setNeedsDisplayInRect:

2012-07-26 Thread Nick Zitzmann
on the stack, but how do I break on a variable buried within the stack? Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: saving images

2012-07-21 Thread Nick Zitzmann
the URL using NSData, and use the NSData to initialize the image. Then you can just save the NSData to storage. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: saving images

2012-07-21 Thread Nick Zitzmann
On Jul 21, 2012, at 10:41 AM, H. Miersch wrote: On 21. Jul 2012, at 17:37, Nick Zitzmann wrote: On Jul 21, 2012, at 10:03 AM, H. Miersch wrote: i just started a new ios project where i want to download images using NSimage's initwithcontentsofURL: method. now i also want to write

Re: Adding Properties to NKIssue?

2012-07-02 Thread Nick Zitzmann
have to write the corresponding accessor method(s) yourself. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: sandbox question about copying from bundle

2012-06-22 Thread Nick Zitzmann
. Nick Zitzmann http://www.chronosnet.com/ ___ 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

Re: How to get SDK 10.5 on XCode 4?

2012-06-05 Thread Nick Zitzmann
compiler bugs are quite rare. Nick Zitzmann http://www.chronosnet.com/ ___ 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

Re: How to get SDK 10.5 on XCode 4?

2012-06-04 Thread Nick Zitzmann
can I get the 10.5 SDK? You can't. And is it even possible to use it with the new GCC. I'm not using XCode for development and rather use the command line tools directly. What new GCC? Xcode 4 dropped GCC in favor of LLVM. Nick Zitzmann http://www.chronosnet.com

Re: How to get SDK 10.5 on XCode 4?

2012-06-04 Thread Nick Zitzmann
On Jun 4, 2012, at 5:26 PM, Michael Hall wrote: What new GCC? Xcode 4 dropped GCC in favor of LLVM. gcc -version i686-apple-darwin11-llvm-gcc-4.2: no input files That's not GCC; that's LLVM-GCC, or LLVM with a GCC front-end. The real GCC was dropped from Xcode 4. Nick Zitzmann http

Re: NSXMLParser thread safe?

2012-06-01 Thread Nick Zitzmann
either the pthread or NSThread APIs. Nick Zitzmann http://www.chronosnet.com/ ___ 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: Sandboxing. WTF?

2012-05-30 Thread Nick Zitzmann
run in the sandbox. Apps that rely on NSWorkspace for much of their functionality also can't run in the sandbox. And the list goes on... Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Sandbox console messages

2012-05-21 Thread Nick Zitzmann
an app. Whether it will be accepted or rejected depends on whether or not it complies with the review guidelines, which are posted on ADC. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: crashes loading saved file

2012-05-09 Thread Nick Zitzmann
, then you might need to manually run the collector more often. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: Save panel showing as a blank sheet

2012-04-27 Thread Nick Zitzmann
are running the save panel from the main thread, right? And you're sure of that, right? Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: Declaring Variables - Setting to nil VS Not Setting?

2012-04-26 Thread Nick Zitzmann
. Never read from uninitialized memory unless you **really** know what you're doing. Thanks and pointers to docs are welcome. This is C programming language 101, so I'd recommend you read a good book on C programming, particularly one that deals with pointers. Nick Zitzmann http

Re: Webview cache location

2012-04-13 Thread Nick Zitzmann
]/Cache.db assuming it's not sandboxed. If it's sandboxed, then look in ~/Library/Containers/[your app bundle identifier here] to find its sandbox. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Webview cache location

2012-04-13 Thread Nick Zitzmann
into this cache, and who is writing / reading it? The Cache.db is I think managed by NSURLCache, which is used by NSURLConnection, which is used by WebView on OS X to handle HTTP requests. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list

Re: NSScrollView automatically changes scroller styles?

2012-03-30 Thread Nick Zitzmann
-setScrollerBehavior: to do nothing when called. My app doesn't place anything in the scroller areas. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

NSScrollView automatically changes scroller styles?

2012-03-27 Thread Nick Zitzmann
? I'm looking for a workaround now, but I was wondering if anyone has seen this before, and if so, then how did you work around it? I don't want the scroll view using the legacy style for any reason whatsoever. Nick Zitzmann http://www.chronosnet.com

Re: NSScrollView automatically changes scroller styles?

2012-03-27 Thread Nick Zitzmann
On Mar 27, 2012, at 2:09 PM, Nick Zitzmann wrote: I've searched around but didn't see anything relevant. Why would an NSScrollView suddenly change its scroller style behind the application's back during a resize? I still wish I knew why this was happening, but I did find a workaround

Re: Installing running Xcode

2012-03-21 Thread Nick Zitzmann
was intended for Panther, not Tiger. If you're still using Tiger, then you need to use Xcode 2.x. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: makeObjectsPerformSelector on a sub class

2012-03-21 Thread Nick Zitzmann
in Xcode and then choosing to break on exceptions. Nick Zitzmann http://www.chronosnet.com/ ___ 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

Re: Serial I/O over USB

2012-03-20 Thread Nick Zitzmann
built-in serial monitor, but that only prints the serial characters to the screen, and the data can't be saved. I want to graph the data in real time (that part isn't relevant to my question however). http://sourceforge.net/projects/amserial/ Nick Zitzmann http://www.chronosnet.com

Re: const correctness

2012-03-19 Thread Nick Zitzmann
indirectly). The only way to make a mutable array immutable is to make an immutable copy of the array. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: How is this an incorrect decrement of a reference count?

2012-03-19 Thread Nick Zitzmann
the nib manually. Nick Zitzmann http://www.chronosnet.com/ ___ 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

Re: Finding object array index when iterating through array

2012-03-08 Thread Nick Zitzmann
you must support Leopard or iOS 3, I'd recommend using -enumerateObjectsUsingBlock: instead, which will give you both the object and its index in the array. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: ivar access during -finalize

2012-03-08 Thread Nick Zitzmann
not a manually allocated class or data structure, then at least make sure whatever you're doing is thread-safe, because -finalize is always called on a background thread. +defaultManager is not thread-safe IIRC. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa

Re: Accessing array in thread safe way

2012-03-07 Thread Nick Zitzmann
trying to accomplish. Nick Zitzmann http://www.chronosnet.com/ ___ 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

Re: [Obj-C] if (self) vs. if (self != nil)

2012-02-24 Thread Nick Zitzmann
, the resulting pointer, called a null pointer, is guaranteed to compare unequal to a pointer to any object or function. I suppose some compilers can ignore the standard and do their own thing, but the compilers that come with Xcode are pretty good with standards compliance. Nick Zitzmann http

Re: Determining user's clock preference on iOS

2012-02-23 Thread Nick Zitzmann
a date into a string, so it's okay to just parse the format string returned by the date formatter (but not the results of feeding a date into it). Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

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

2012-02-17 Thread Nick Zitzmann
with the outside world for the same reason. They get temporary exceptions, but the temporary means they might be taken away... Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: CGContextSaveGState

2012-02-15 Thread Nick Zitzmann
are always pushed to/popped from a stack. Nick Zitzmann http://www.chronosnet.com/ ___ 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: how to redraw NSStatusItem in cocoa

2012-02-14 Thread Nick Zitzmann
call [statusItem.view setNeedsDisplay:YES]. What are you trying to accomplish? Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: Mouse up events ignored when sandboxing is turned on?

2012-01-03 Thread Nick Zitzmann
On Dec 30, 2011, at 12:49 PM, Nick Zitzmann wrote: The really strange thing is, this works as expected when sandboxing is turned off. It also works as expected if the window was active. But I can't ship the application with sandboxing on unless I can figure out how to fix or work around

Re: How to make a global contextual menu item

2011-12-30 Thread Nick Zitzmann
. Nick Zitzmann http://www.chronosnet.com/ ___ 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

Mouse up events ignored when sandboxing is turned on?

2011-12-30 Thread Nick Zitzmann
out how to fix or work around this. Has anyone seen this before, and if so, then how do I make this work? Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: How to add filter to capture video from the camera?

2011-12-28 Thread Nick Zitzmann
, and it will be included in the final video. Nick Zitzmann http://www.chronosnet.com/ ___ 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

Re: NSTableView - how to dynamically change the height of the elements?

2011-12-14 Thread Nick Zitzmann
to relayout itself completely from scratch. How can I do that? I have tried -setNeedsLayout:YES and -setNeedsDisplay:YES, but with no effect… Did you try -noteHeightOfRowsWithIndexesChanged: by any chance? Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa

Re: Filling gradient in NSTableHeaderView not working properly

2011-12-13 Thread Nick Zitzmann
, that is easy to do using NSBezierPath. Nick Zitzmann http://www.chronosnet.com/ ___ 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: byte orders question

2011-11-25 Thread Nick Zitzmann
here is just use the ntoh family of functions as you are doing above, because they will return the correct byte order for the host machine. IOW, they just return the number passed as arguments to them on big-endian CPUs, and they return a reversed byte order number on little-endian CPUs. Nick

Re: Exception when entering too big value in text field (with number formatter)

2011-10-21 Thread Nick Zitzmann
the AppKit, then it is a framework bug. Otherwise, your code most likely over-released something. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Launching 10.5 app on 10.4

2011-10-18 Thread Nick Zitzmann
, but nobody uses Cheetah or Puma anymore [2] since Leopard's 64-bit frameworks were very immature Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Deploy terminal app

2011-09-22 Thread Nick Zitzmann
with the developer tools)? Nick Zitzmann http://www.chronosnet.com/ ___ 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

Re: Launching an app with extended rights

2011-09-18 Thread Nick Zitzmann
with privileges; you cannot do that with NSTask. Nick Zitzmann http://www.chronosnet.com/ ___ 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: Proper handling of NSSavePanel and 'Do you want to replace it?' dialog

2011-09-16 Thread Nick Zitzmann
in its place. (You can see this for yourself by using the fs_usage tool.) And since TextEdit is the most Mac-like app I know, I believe the correct technique is option 2 deleting the existing directory if you get that error when trying to save. Nick Zitzmann http://www.chronosnet.com

Re: Size of a file on disk

2011-08-31 Thread Nick Zitzmann
://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSDictionary_Class/Reference/Reference.html#//apple_ref/doc/uid/2140-BABDHICI Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: NSWindow setFrame:display: ceiling behavior?

2011-08-27 Thread Nick Zitzmann
that will draw windows at non-whole number point sizes? No. What are you trying to accomplish? Is this behavior the same on higher-resolution devices? Maybe. Did you try it? You can see for yourself by running Quartz Debug and choosing UI resolution in the Window menu. Nick Zitzmann http

Re: NSCache objects not being collected under GC?

2011-08-19 Thread Nick Zitzmann
recycle the NSCache instances. Yes, they are finalized if the code calls -removeAllObjects instead of removing the dictionary. I guess that'll have to do for now. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev

NSCache objects not being collected under GC?

2011-08-18 Thread Nick Zitzmann
, the NSCache objects were rooted by a non-object memory address created before main() was called, a long time before the objects were made. Also, I noticed that objects in the cache would not identify the cache as their root. (Is that normal?) Nick Zitzmann http://www.chronosnet.com

[SOLVED] Re: Properly wrapping non-contiguous NSTextViews

2011-08-17 Thread Nick Zitzmann
]) *stop = YES; else [weDidTheseAlready addObject:rangeValue]; }]; [self endEditing]; } @end Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Properly wrapping non-contiguous NSTextViews

2011-08-16 Thread Nick Zitzmann
On Aug 16, 2011, at 9:09 AM, Ross Carter wrote: On Aug 15, 2011, at 6:19 PM, Nick Zitzmann wrote: Of course, if there is a better way of using the Cocoa text system to layout multiple non-contiguous pages of text with margins, I'd like to hear about it. Maybe it'll even solve the problem

Re: Properly wrapping non-contiguous NSTextViews

2011-08-16 Thread Nick Zitzmann
On Aug 16, 2011, at 12:00 PM, Kyle Sluder wrote: On Tue, Aug 16, 2011 at 9:59 AM, Nick Zitzmann n...@chronosnet.com wrote: But how? I can't use a single NSTextView because this is for a view where each text view corresponds to a single page of text, and so AFAICT text containers and views

Re: Properly wrapping non-contiguous NSTextViews

2011-08-16 Thread Nick Zitzmann
something like [someController performSelector:@selector(checkForRemovablePages:) withObject:self afterDelay:0]. Thanks. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Revert Camera Image

2011-08-16 Thread Nick Zitzmann
#//apple_ref/doc/uid/TP40004572-CH3-DontLinkElementID_14 You have to implement that delegate method, and in the method, you can use a CoreImage filter to transform the image return the output. You probably want to use the CIAffineTransform filter. Nick Zitzmann http://www.chronosnet.com

Re: Properly wrapping non-contiguous NSTextViews

2011-08-15 Thread Nick Zitzmann
this from happening vertically through word wrapping. Nick Zitzmann http://www.chronosnet.com/ ___ 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

Re: Properly wrapping non-contiguous NSTextViews

2011-08-15 Thread Nick Zitzmann
, and gives them an initial size, but doesn't resize them. Nick Zitzmann http://www.chronosnet.com/ ___ 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

Re: recomendations for creating a beta with date to expire

2011-08-14 Thread Nick Zitzmann
doesn't need a network connection, such as your proposal, is a major inconvenience for a lot of people. Restrictive DRM inconveniences people, and really restrictive DRM drives people to piracy if the pirated edition is more convenient to use than the legit version. Nick Zitzmann http

Re: Properly wrapping non-contiguous NSTextViews

2011-08-13 Thread Nick Zitzmann
On Aug 13, 2011, at 7:41 AM, Ross Carter wrote: On Aug 12, 2011, at 6:23 PM, Nick Zitzmann wrote: I've got a problem that has been driving me nuts all day. I tried searching around and didn't see anything that helped. I have a series of non-contiguous NSTextViews (not to be confused

Properly wrapping non-contiguous NSTextViews

2011-08-12 Thread Nick Zitzmann
in a series of non-contiguous text views? Yes, I did make sure that the text container's size tracks the text view's size. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Drag and Drop to Finder, destination location

2011-08-11 Thread Nick Zitzmann
can get that information if it is not performing a file promise drag. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: Scanning images

2011-08-09 Thread Nick Zitzmann
. Besides, IKScannerDeviceView is far better than ICA. And TWAIN is the option of absolute last resort, and doesn't work correctly in 64-bit apps anyway because most TWAIN drivers are 32-bit only. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev

[SOLVED] Re: CoreData I/O error for database: no such table

2011-08-09 Thread Nick Zitzmann
relationship between database versions, and in the migrated database, the many-to-many table is not called Z_16PARENTS as I expected would happen after the migration. But I guess I shouldn't complain. Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa

CoreData I/O error for database: no such table

2011-08-04 Thread Nick Zitzmann
got to be a better way. But what is that way? I can't believe Xcode 4 would ship with such a regression in momc... Nick Zitzmann http://www.chronosnet.com/ [1] http://www.cocoabuilder.com/archive/cocoa/306002-core-data-o-error-no-such-column.html

Re: irc client with cocoa

2011-07-27 Thread Nick Zitzmann
On Jul 27, 2011, at 3:54 AM, David Remacle wrote: Hello, Is there a class or a small framework for irc client ? http://lmddgtfy.com/?q=irc%20client%20framework Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev

Re: NSWindowController window deprecated

2011-07-23 Thread Nick Zitzmann
] is not deprecated, but -[NSCachedImageRep window] was deprecated a while ago, so maybe the compiler confused the two… Nick Zitzmann http://www.chronosnet.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

  1   2   3   4   5   6   7   8   9   10   >