Re: printing Utf8

2012-10-31 Thread lbland
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 maili

Cocoa/Xcode/Graph Tutorial Movie

2012-09-06 Thread lbland
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

Re: Modal Dialog from sheet

2012-08-21 Thread lbland
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

Re: updates for retina

2012-06-15 Thread lbland
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 represent

Re: Document Window Ignoring Size Settings

2012-05-30 Thread lbland
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 ___

Re: Getting the best frame rate for NSView drawing

2012-03-29 Thread lbland
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

Re: What are the best macros to use to know when compiling is for Mac OS X v.s. iOS?

2011-12-30 Thread lbland
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 __

What are the best macros to use to know when compiling is for Mac OS X v.s. iOS?

2011-12-30 Thread lbland
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 a

Re: Calling a Cocoa library from C

2011-11-11 Thread lbland
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

Xcode 4.2/iPhone/graphing app development movie

2011-10-17 Thread lbland
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

What is last number at end of crash log line?

2011-09-12 Thread lbland
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!- -

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread lbland
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 __

Re: Read-Write Lock is Available?

2011-05-12 Thread lbland
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 thre

Re: BSD TCP Programming on iPad

2011-04-27 Thread lbland
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 Ric

Re: IB Plugins & XCode 4

2011-03-06 Thread lbland
ns(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 __

Drawers on windows...

2010-11-30 Thread lbland
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 tak

Re: Recursive file remove

2010-08-14 Thread lbland
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 > "colle

Re: CocoaEcho

2010-06-14 Thread lbland
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:

1/2 billion logs to Console, how to get rid of them?

2010-02-23 Thread lbland
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

Re: Removing quit button from dock menu

2010-02-23 Thread lbland
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 bee

Re: Time to drop PowerPC support?

2010-01-15 Thread lbland
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 P

Tutorial on writing a Cocoa/Mac app.

2010-01-14 Thread lbland
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

Re: Setting NSWindow titlebar height

2010-01-04 Thread lbland
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 t

Re: CocoaBuilder is back

2009-12-29 Thread lbland
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 CocoaBui

Re: NSArchiver Deprecation

2009-12-18 Thread lbland
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

Re: Problem with missing symbol

2009-12-10 Thread lbland
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: - frameRectForConte

Re: NSURLConnection Problem Inside QuickLook Generator

2009-12-09 Thread lbland
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

Re: NSURLConnection Problem Inside QuickLook Generator

2009-12-08 Thread lbland
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 _

MacResearch Tutorial on beginning a Cocoa/iPhone app.

2009-12-03 Thread lbland
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 pa

Re: Where are the interface builder components?

2009-11-15 Thread lbland
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-int

Re: iPhone CLLocation Accuracy?

2009-11-11 Thread lbland
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

Re: Cocoa Sounds

2009-11-10 Thread lbland
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 Calcul

Vvidget article on MacResearch

2009-08-19 Thread lbland
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/I

NSPopUpButton style question ... "Push" v.s. "Round Textured"

2008-07-18 Thread lbland
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" P

Re: iPhone SDK and sms.db file

2008-07-08 Thread lbland
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 (ne

Re: Struct, Object, or Dictionary?

2008-07-01 Thread lbland
tp://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

Re: Cocoa can be used to execute arbitrary (privileged) code !

2008-06-19 Thread lbland
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 execut

Database Visualization For All Cocoa Applications

2008-06-17 Thread lbland
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 reque

[OT] DAQ Plot and Vvidget Workshop At University Of Pittsburgh

2008-06-06 Thread lbland
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 lis

Re: SQL

2008-05-06 Thread lbland
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 docum

Re: Charting API?

2008-02-29 Thread lbland
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