Re: printing Utf8
hi- On Oct 31, 2012, at 10:41 AM, "Gerriet M. Denkmann" wrote: > NSString *s = @"ร่วมรส"; Not supported. The compiler should be issuing a warning. You need to escape the characters using a UTF encoding. thanks!- -lance ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Cocoa/Xcode/Graph Tutorial Movie
hi- Some people might find this Xcode/Cocoa movie interesting: http://www.vvidget.org/develop/movies/maclinegraph.mov thanks!- -lance ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Modal Dialog from sheet
hi- On Aug 21, 2012, at 7:28 AM, Graham Cox wrote: > What's the correct way to nest a modal dialog within a document-modal sheet? > > BTW, before there are howls of protest from the UI police, there is > precedence for this - in the Save Panel, when it needs to prompt whether to > replace a file or not. I'm trying to do something similar. https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Sheets/Tasks/UsingCascadingSheets.html That Save Panel behavior has been a long-standing exception (violation?). Maybe this restriction has been removed, but I am not aware of such a statement in the docs. thanks!- -lance ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: updates for retina
hi- On Jun 15, 2012, at 10:21 AM, Roland King wrote: > I understand apps needing 2x artwork piece, that makes sense. Why does that make sense? If your tool icon needs to be 32x32 pixels then make a TIFF/PNG 64x64 (or 128x128 or 256x256) and let NSImage do the rest. for icns, add all representations (as is required anyways). ... maybe I'm somewhat ignorant - but not having a retina display to play with yet is a handicap. thanks!- -lance ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Document Window Ignoring Size Settings
hi- On May 30, 2012, at 1:52 PM, Gordon Apple wrote: > How can I stop this annoying behavior and always get the correct > specified size, and on the main screen? Maybe in the Xcode (IB) Window's Attributes inspector uncheck "Restorable". thanks!- -lance ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Getting the best frame rate for NSView drawing
hi- On Mar 29, 2012, at 7:49 AM, jonat...@mugginsoft.com wrote: > Like graham I am surprised that the NSImage cache approach is slower than > fill/stroke. ... look at the call stack. On the Mac fill most likely calls opengl in the end as "Quartz GL" has gotten pretty good. ... not true on the iPhone/iPad although we have an open bug report on that. thanks!- -lance ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: What are the best macros to use to know when compiling is for Mac OS X v.s. iOS?
hi- On Dec 30, 2011, at 1:16 PM, Conrad Shultz wrote: > http://developer.apple.com/library/mac/#documentation/developertools/conceptual/cross_development/Using/using.html So... __MAC_OS_X_VERSION_MAX_ALLOWED is better than: TARGET_OS_IPHONE ?? ... ack! ack! thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
What are the best macros to use to know when compiling is for Mac OS X v.s. iOS?
hi- What are the best macros to use to know when compiling is for Mac OS X v.s. iOS? thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Calling a Cocoa library from C
hi- On Nov 11, 2011, at 8:49 PM, Nathan Sims wrote: > I'm unclear on how to architect this. Can a C function invoke Objc methods? yes, however you should note that: Cocoa is not Objective-C and technically you can not call Cocoa from C and expect the right thing to be done, unless ... ... if you want to use Cocoa from C then you need to learn how to start (run) its run loop in order to make asynchronous processing happen, including notifications, etc. as Cocoa is heavily dependent upon run loops for processing under the hood, while Objective-C is just a language that doesn't do anything. But, yeah, if you just want to make a few Obj-C calls then no problem. thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Xcode 4.2/iPhone/graphing app development movie
hi- We just placed a Xcode 4.2/iPhone/graphing app development movie at: http://www.vvidget.org/develop that might be of interest. Any comments, please email me! thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
What is last number at end of crash log line?
hi- What does the 98 at the end of this line mean:? 8 com.apple.CoreFoundation0x7fff90662d32 -[NSMutableArray removeObjectsInRange:] + 98 … all the tech notes I can find explains everything else, but neglects describing that last number (as if it is not there) … thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: No more .ibplugins in Xcode 4, so now what...?
hi- I think it is like a computer ... if you need one now then "what you see is what you got" ... and down the road if you need something else then at that time "what you see is what you got". ... if you don't need a computer then no worries :-) thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Read-Write Lock is Available?
hi- On May 12, 2011, at 1:44 PM, Bing Li wrote: > I am writing concurrent code. I get used to the read-write lock on other > development environment. However, according to the Threading Programming > Guide from apple.com, Cocoa does not support the read-write lock? We can use > it with POSIX threads? Is that true? have you looked at the mutex variable, or NSLock? Also, the darwin mail list may be better for you. Are your threads in a single process or not? ... that can make a difference in the answer ... thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: BSD TCP Programming on iPad
hi- On Apr 27, 2011, at 12:25 PM, Bing Li wrote: > Therefore, I hope I could use TCP to design the protocol directly instead of > using HTTP. > > However, I have NOT got sufficient materials to program TCP on iPad. It is just BSD sockets ... get the book. It is: UNIX Network Programming by Richard Stevens We turned an iPhone into a custom HTTP web server that we made from scratch (using BSD sockets and TCP/IP) and it worked! ... so it is possible, especially if you like to roll your own. thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: IB Plugins & XCode 4
hi- On Mar 6, 2011, at 12:04 PM, Macdev wrote: > > ___ > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/lbland%40vvi.com > > This email sent to lbl...@vvi.com well, at least you did not violate a possible NDA with Apple. thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Drawers on windows...
hi- When drawers first came out they were all the rage. Then they went out of favor by some, so much so I thought they would be depreciated. But, it seems like drawers are sticking around. But, on the other hand, drawers seem to come and then go on a few apps without returning. What is the take on drawers? Are they *blessed* [for Lion, I suppose]? or is the disapproving eye upon them [again]? thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Recursive file remove
On Aug 14, 2010, at 2:28 PM, Tom Jones wrote: > Thanks, this helps a lot. What I'm looking to "remove" is my temp directory > where I'm downloading files un-compressing them etc. Just good house keeping. > > > I must admit having not been doing this long, and after Kyle's remark on > "collected consulting fees" I'm surprised that there isn't a task as part of > NSFileManager to remove items recursively like > "removeItemAtPath:recursive:error:" for example. I mean Mac OS X is over 10 > years old. :-) hi- If you are not too picky then you can use system("rm -rf /tmp/mystuff"); thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: CocoaEcho
hi- Never looked at CocoaEcho before, but here it goes ... On Jun 14, 2010, at 2:22 AM, B. Mitchell Loebel wrote: > 1. CocoaEcho has two main() functions. How come X-Code doesn't complain? Because EchoServer (target) is the server process and CocoaEchoClient (target) is the client process? ie: it builds two separate binaries. > > 2. How can I create a daemon to run in the background which will persist > across machine boots? /LaunchAgents > > 3. How can I kill the daemon if I choose to do that? from Terminal: kill -9 pid thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
1/2 billion logs to Console, how to get rid of them?
hi- I made a programing mistake (or something made a mistake) and now I have a computer with 1/2 billion log lines to Console. I: echo "" > /var/log/system.log but the Console app still sees the log lines in the DATABASE SEARCHES node of its log tree. Is there a way to flush the log that the Console app sees? ... the answer would be useful to any Cocoa developer that has the same issue :-) thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Removing quit button from dock menu
hi- On Feb 23, 2010, at 10:02 AM, Paul Sanders wrote: > However, to answer the question, one can subclass NSApplication, override > [NSApplication terminate] and not call super. That doesn't get rid of the > menu item, but it does prevent it from quitting the app. And I guess you > might beep, too. 2 ideas: - Have the app put up a modal panel explaining that the app can only be quit from the Activity Monitor (or CLI). Or, better: Why redirect to the Activity Monitor? Why not use a delegate notification to ask the user if they really want to terminate? Why force a user to go to the Activity Monitor? - Consider writing a UI-less service without a dock (and main menu) entry and pop up UI elements as needed. thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Time to drop PowerPC support?
On Jan 15, 2010, at 12:18 AM, Dominic Blais wrote: > Thank you for these responses! I think we will roll out with PowerPC but > EOL support for it within 6 months of the next major Apple OS release. hi- VVI stopped releasing for PPC when SL came out, but still have persistent stores between PPC and Intel and have Leopard/ PPC implementations. If your server side has binary persistent stores then you might consider not releasing on PPC because you may be beholden to supporting persistent stores between platforms for a long time (forever?). Many times server side uses db stores which can be converted to other types of stores, but there is always a concern about that and persistent stores. Our own server code uses binary persistent stores and db stores and the server maintenance is more complex than a desktop app and admins are use to issues like that. ... but the binary persistent stores we have are pretty maintenance free because they are designed to be multi platform. ... all IMHO. thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Tutorial on writing a Cocoa/Mac app.
hi- We placed a manual with 4 tutorials in it at: http://www.peervisual.com/manuals/VvidgetCode Including one showing how to build a Cocoa/Mac app from scratch. It might be useful to those that want a description of Cocoa programming from ground zero to full deployment. thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Setting NSWindow titlebar height
On Jan 4, 2010, at 7:59 AM, Jeremy Pereira wrote: >> I have a window that looks like this right now: >> >> http://img22.imageshack.us/img22/2953/screenshot20100103at123.png >> >> I've removed the titlebar buttons and everything > > Why? How does the user make the Window go away/hide without the title bar > buttons? > > Perhaps I'm being unfair since I don't know what this window is for, but it > seems like a huge waste of time and energy to try to do difficult things that > break the Apple human interface guidelines. > >> , however there is still that space at the top where the titlebar usually >> is. Is there a way to remove that space (in other words, a way to set the >> height of the title bar?). Moving up the NSToolbar would work too, is that >> possible? hi- Use NSBorderlessWindowMask and make your own UI elements (the resize handle) and event handling. There are plenty of examples of weird windows. See: /Applications/Stickes I can think of lots of examples that should use stylistic windows beyond the boring normal type. thanks!- -lance___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: CocoaBuilder is back
hi- On Dec 29, 2009, at 8:25 AM, Andy Lee wrote: > I haven't seen an announcement on the list, so I thought I'd mention that > CocoaBuilder is back up, with some very nice improvements. > > Congratulations and a million thanks to Bertrand Mansion! I have to second that! I always liked CocoaBuilder. thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSArchiver Deprecation
hi- On Dec 18, 2009, at 8:30 AM, Richard Somers wrote: > In the class reference and header file for NSArchiver and NSUnarchiver there > is not a single mention of depreciation for these two classes. The only place > that discusses depreciation is in the Archives and Serializations Programming > Guide for Cocoa. > > It would appear that there are still legitimate needs for the archiver. I > think I have one. (It is extremely straight forward archive certain data > types using NSArchiver and put it into Core Data.) > > How safe is it to use NSArchiver in a project? It is probably as safe to use it now as it was to use it before. That means you will be responsible for version control and other things that might make serialized binary archives incompatible. It may be safe in the future too because if it was not then that would break a lot of binaries that have no chance of being recompiled anytime soon. It would also disable applications from being able to upgrade their documents from the old format to the new format as there would be no way to read the old format and then write the new format. But, really. Why use a fragile and unappreciated API when you can use the more modern but a little less efficient key value encoder and decoder. p.s.- If you use certain plugins then where you used NSArchiver before you can not use NSArchiver now so NSArchiver IS obsolete for some uses. thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Problem with missing symbol
On Dec 10, 2009, at 1:15 PM, Emmanuel Pinault wrote: > How would you suggest I get the Frame information from the window then? hi- Don't know what you're up to, but this NSWindow method: +frameRectForContentRect:styleMask: has been around for a long time. also, this one: - frameRectForContentRect:(NSRect)windowContent thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSURLConnection Problem Inside QuickLook Generator
On Dec 9, 2009, at 3:11 AM, Dalmazio Brisinda wrote: > Alright, well, we may have to reevaluate an alternate approach to this > instead of via a QuickLook generator. It seems there are other issues over an > above sandboxing which are more problematic. > > Does anyone know if a version of the QuickLook framework with debugging > symbols is available? I've already checked the debugging frameworks available > on the Apple developer site for 10.6.2, but, alas, no version with debugging > symbols is included there. > > Perhaps I'm asking for too much. Would be nice though... hi- have you tried: /usr/bin/qlmanage man qlmanage yet? also ... you will send your message to more quicklook minds on the quicklook mail list and not the cocoa list. You can put NSLog() statements in your QL plugin to see the flow (on the console). As mentioned, execution is not serial because the Finder does strange things, not exactly right in my opinion, but I don't have the Finder code so I can't figure out exactly what is up. thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSURLConnection Problem Inside QuickLook Generator
hi- On Dec 8, 2009, at 11:48 AM, David Duncan wrote: > My understanding is Quicklook plugins are not allowed to make network > connections due to sandbox restrictions. We ran into this same problem when QL plugins were first included with the OS. thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
MacResearch Tutorial on beginning a Cocoa/iPhone app.
hi- Occasionally I see a trouble-getting-started post on this list. There is a great Cocoa/Xcode/iPhone tutorial on MacResearch: Using VVI for Graphing on iPhone http://www.macresearch.org/using-vvi-graphing-iphone Explaining in precise detail how to make a simple iPhone app. I may be a bit partial to the writing style though :-) thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Where are the interface builder components?
On Nov 14, 2009, at 8:40 PM, Dave DeLong wrote: > There are a bunch of freely available frameworks that have UI elements like > that, such as BWToolkit, BGHudAppKit, AmberFramework, iLife Controls, > HMBlkAppKit, and more. > > Here's a decent list: http://cocoaheads.byu.edu/resources/user-interface hi- Cool! Whoever did the web layout for that site is a genius! Here is another IB plugin: http://www.vvidget.org/code/description You can read a plug about it at: http://www.vvi.com/news/2009/1112vvidget.html thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: iPhone CLLocation Accuracy?
On Nov 11, 2009, at 4:42 PM, Chunk 1978 wrote: > how accurate is CLLocation's kCLLocationAccuracyBest? about a meter > or more? or is it hyper accurate as in centimeters? anyone know? hi- I'd say about 10 meters to one mile. BTW: here's an app you can use: http://www.vvi.com/apps/spot to plot your location on a continuous basis. Its free on the app store. thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Cocoa Sounds
hi- On Nov 9, 2009, at 12:58 PM, Chunk 1978 wrote: one thing i've always had an issue with is sound lag, which always (yet only) happens during a first sound. after the initial lag, sounds will play on time. at first i though it was my code, but recently i've noticed that it happens in Calculator. if you open Calculator, then choose Speech > Speak Button Pressed, you'll notice a lag when you first press a button. how is it possible to avoid this? are there other 3rd frameworks for sound that would be more ideal to use other than what's available in cocoa? It happens in our Cocoa apps. It also happens with the Apple Mail app. Click "Get Mail" and after Activity stops and 4 seconds later there is the beep. This is on Mac OS X 10.6.1 and the latest and fully loaded MacBook Pro computers. So, I think the lag is simply what you get. ... the good news is that other people have the problem. The bad news is: since reading this post (and the one a few days ago) every time I check my mail I now notice that the sound really lags! thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Vvidget article on MacResearch
hi- A little OT, but for Cocoa/IB development, just a quick FYI: http://www.macresearch.org/vvidget-fixes-invasive-property-new- deployment-options Vvidget Fixes Invasive Property With New Deployment Options for people that might be interested. Also, FYI: cd /Developer/Library/Frameworks/InterfaceBuilderKit.framework/ Versions/A lipo -info InterfaceBuilderKit Architectures in the fat file: InterfaceBuilderKit are: i386 ppc7400 A bit of a rocky road maybe, but not too much :-) thanks!- -lance (VVI) ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
NSPopUpButton style question ... "Push" v.s. "Round Textured"
hi- The default NSPopUpButton button style is Push. But, I'm getting board of it and it looks old-style. I think the button style of Round Textured is more "modern". Now I see that Xcode 3.0 -> 3.1 changes the PUB button style to Round Textured (I think)! Looks yummy! Is "Round Textured" PUB the way to go for new apps? (I think so, but I can't figure out what is "standard" for "modern"). thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: iPhone SDK and sms.db file
On Jul 8, 2008, at 10:29 AM, [EMAIL PROTECTED] wrote: I hope this is the right mailing list, because I couldn't find anything iPhone-related. Oh, the humanity of it all! I'm busting at the seams waiting for Xcode 3.1 et. al. to come out of NDA, and out of beta! Mainly because I want (need?) the Xcode 3.1 toolset (an obviously iPhone SDK non-beta). But, also because I won't have to watch Scott moderate these emails. :-) thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Struct, Object, or Dictionary?
hi- If you have to bind your entities to anything then you might try a Core Data representation. If you have multiple entities and need to store in a list then a dictionary or class would be best as NSArray, etc. takes ids and there is no easy store for multiple structs, unless you role your own. The Core Data would be New-Cocoa-Cool IMHO. thanks!- -lance On Jul 1, 2008, at 1:53 PM, Bridger Maxwell wrote: Hey, I have been debating using one method over another for a while now, and I would like to know what the Cocoa way of doing things is. I need to group a set of data together to use as one entity. In one program I was representing a puzzle as four strings and a BOOL. My first thought would be to represent these as a struct. However, the strings within the struct would have to be memory managed, so I guess that would mean writing my own methods to retain, release, autorelease, etc. the struct. My second option in this case is to declare an object that would contain all of those data members as ivars, and the memory management would be taken care of. However, it doesn't seem right to make an object that only has data and no methods. My third option would be to store all of the data in dictionary pairs. This doesn't seem as reliable as the last methods though, because there is no guarantee that the dictionary would contain all the necessary name/value pairs. What is the "correct" way to do this in Cocoa? Thank You, Bridger Maxwell ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/lbland%40vvi.com This email sent to [EMAIL PROTECTED] ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Cocoa can be used to execute arbitrary (privileged) code !
hi- There are better ways to do this, but I'm not commenting. :-) thanks!- -lance On Jun 19, 2008, at 10:22 AM, Jerry LeVan wrote: Last night while browsing Slashdot I found this: http://it.slashdot.org/it/08/06/18/1919224.shtml It gives a simple command that can be used to basically execute code as root. osascript -e 'tell app "ARDAgent" to do shell script "whoami"' The above will print "root" and replacing "whoami" will other commands will cause the commands to be executed as root. Looks like a job for NSTask... This is certainly easier than using the Authentication protocols :) The "root" problem is that the ARDAgent executable is suid'ed to root! I was surprised than none of the common mac sites has picked up on this... ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Database Visualization For All Cocoa Applications
hi- This movie: http://www.vvi.com/movies/database might be of interest to the list, showing a custom IB plugin and db access within IB, etc. thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
[OT] DAQ Plot and Vvidget Workshop At University Of Pittsburgh
hi- For those in the Pittsburgh area and not at WWDC: DAQ Plot and Vvidget Workshop At University Of Pittsburgh See: http://www.vvi.com/workshops/2008/0612pitt.html Cocoa developer questions welcome! thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: SQL
On May 6, 2008, at 2:44 AM, vinitha ks wrote: I'm trying to do some database applications using cocoaMySql framework.This is my first database application. could connect with the database,and accesses the table of particular databases.But i couldn't access Fields.Is there any help or documentation available for using cocoaMysql?I didn't get the idea from the code itself.How can i access the fields?I think in that example tableSource class have loadTable function.How we can processes the queries? hi- You can always go direct ODBC to MySQL. We built a 64-bit connector for Leopard as part of our download: http://www.peervisual.com/VvidgetUser10.5.4.dmg.zip which interfaces with a Cocoa application. thanks!- -lance VVI ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Charting API?
On Feb 27, 2008, at 2:14 PM, Chris Schmitt wrote: I want to add some simple bar graphs and pie charts to my project. Is there an apple api for charting or do you need to use a 3rd party product? hi- You can use Vvidget Code (http://www.vvi.com/products/vvidgetcode) which now has an IB 3.0 palette and a four-way framework for Leopard (http://www.vvi.com/news/2008/0215vvidget.html) . thanks!- -lance ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]