I have this handy routine:
int MacNSOpenFileWithDefaultApp ( char *path )
{
NSString *nsstring = [NSString stringWithUTF8String: path] ;
BOOL ok = [[NSWorkspace sharedWorkspace] openFile:nsstring] ;
return ok ;
}
Suppose we pass a folder name. The intention is to open the folder in the
Fi
Hello
I am trying to make a view that displays images and a table view's columns
in this way:
http://rghost.net/8kmdcTnnN/image.png
and
http://rghost.net/6BwyMsyXy/image.png
Basically, there are several image views, and a table view with the
corresponding number of columns. Each image above the
One last thing ...
Exception Type:EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0020
VM Regions Near 0x20:
-->
__TEXT 00010ca2d000-00010ca2e000 [4K] r-x/rwx
SM=COW
/System/Library/StagedFrameworks/Safari/WebKit.f
Hi,
I'm using NSOpenGLContext to optimize drawing AU plugins. There are
multiple plugins and each can have multiple instances. So each plugin
creates a global NSOpenGLContext and attach particular NSView contexts to
it, so that the textures do not need do be duplicated.
Problem: When I open one p
http://montanasol.com/google.html
___
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 S
http://kalanikordus.com/wp-content/themes/modern-clix/images/ofnwp.html?kf=kfa.jxveza&hy=yl.eza&xhee=ynip
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
How do I get details of a photo taken by the iphone? I want to know the
time/date the photo was taken and get where it was taken via the GPS details
for
an application made by xcode.
Thanks...
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Pl
http://shaio.com/molo.php
___
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 Subscriptio
On Apr 1, 2011, at 1:29 AM, Rikza Azriyan wrote:
> Anyone could help me,,
> I want to handle touch drag event programatically, for example in ibooks
> reader, we use fingertips for navigating to next/prev page by sliding the
> screen to the left/right direction.
> I want to handle this event wi
Anyone could help me,,
I want to handle touch drag event programatically, for example in ibooks
reader, we use fingertips for navigating to next/prev page by sliding the
screen to the left/right direction.
I want to handle this event within my code, such as give the first cordinate in
A(180,45)
___
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/Updat
Subclass NSSliderCell and override the appropriate methods:
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSSliderCell_Class/Reference/Reference.html
Then change the cell type of you NSSlider to your custom subclass.
Cheers,
Dave
On May 7, 2009, a
Is the contentsScale property set correctly? For CALayers it defaults to 1.0,
UIKit ensures that it is set correctly for layers that it creates, but it is
your responsibility to do this for layers that you create yourself.
--
David Duncan
On Jul 11, 2010, at 4:03 PM, Carter Allen wrote:
> I
Hi everyone:
When I use QTMovie to play movies. I want to custom myself progress slider
instead of the NSSlider.
How to custom the progress slider?
thks!
Bright
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin reque
On 20/04/2009, at 5:01 PM, Joe Yi wrote:
hello all:I have no way to get the app window 's
coordinate>
。please
show me the detail method.
RTFD.
[window frame];
--Graham___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post a
Hi All,
I want to process pixel image from video frame to display it in realtime on
preview.
The input is comming from camera using AVFoundation Frameworks.
Anyone can help me,please..
Can i do it in realtime while the camera capturing video frame by frame and the
image processing method works in
This spam (likely hijacked account) has been moderated.
___
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/Uns
http://llow.pharmmashopzv.host-sc.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 your
Must have been a long time subscriber as this never came through moderation or
hacked via their yahoo account.
But unsubbed just to be safe.
sorry for the noise.
On Aug 25, 2010, at 4:24 PM, Theodore Petrosky wrote:
> http://doqodequ.reco.ws/holyno.html WantMore Ero Stay ingPow er?
> SuperbT
http://doqodequ.reco.ws/holyno.html WantMore Ero Stay ingPow er?
SuperbT absOfL ove
Discover new best tabs for lovirs
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
http://kvlbehqiqu.modestmuch.ru
___
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 y
http://bit.ly/bH7V0j
___
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
http://MyrandaSporleder6772.co.cc
___
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 Sub
http://rapidshare.com/files/370886351/new14.0.exe
___
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
According to the memory management rules, yes, you own the object
returned by that method and you should therefore release it.
"You take ownership of an object if you create it using a method whose
name begins with “alloc” or “new” or contains “copy” (for example,
alloc,newObject, or mutabl
Does the returned obj from this method:
- (NSCollectionViewItem *)newItemForRepresentedObject:(id)object
require a release?
ThanksColin
_
Share your memories online with anyone you want.
http://www.microsoft.com/ireland/windows/windo
Thank you I.S. and Steven ... I am off to the races!
On Sep 4, 2009, at 4:42 PM, Steven Degutis wrote:
This is a common concept. In fact, it's exactly how nearly all
twitter apps on the iPhone work.
Usually it can be done manually with NSURLConnection and the like,
though you may consider
This is a common concept. In fact, it's exactly how nearly all twitter apps
on the iPhone work.
Usually it can be done manually with NSURLConnection and the like, though
you may consider using a third-party framework like ASI-HTTP-Request or
CocoaREST.
--
Steven Degutis
http://www.thoughtfultree.
On Sep 4, 2009, at 6:16 PM, David Blanton wrote:
I want to develop a CocoaTouch app that talks to a web server
without doing 'web pages'. I.e. the app does http gets and posts
driving php (or other) scripts on the server to access some sql
database.
...
Make sense or shoveling against th
I want to develop a CocoaTouch app that talks to a web server without
doing 'web pages'. I.e. the app does http gets and posts driving php
(or other) scripts on the server to access some sql database.
Reason for this approach - to use coca table view to display data,
generally speaking to
___
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.co
Does anyone know, whether there is a way to make a circular NSSlider
not endless, so that it stops at a certain value?
Thanks
Tilo
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the
Hi,
is there a way to manipulate the order NSToolbarItems are added to a
toolbar, when the application is starting. I have implemented the
delegate methods to provide the items, and which items are allowed,
but since items are fetched by identifier and not by position i don't
see how this
Тимофей Даньшин wrote:
[string2 release];
sqlite3_reset(sentence_insert_statement);
I'm looking more closely at the code, and those statements seem mis-
ordered to me.
I would not release something if someone else (sqlite, in this case)
might be holding onto a reference to a buffer that's
HI Mukesh,
Nick has mentioned nicely. Ask the *exact *question.
Regards,
Parag
On Fri, Feb 20, 2009 at 11:42 PM, Nick Zitzmann wrote:
>
> On Feb 20, 2009, at 2:57 AM, mukesh wrote:
>
> I am building an application whose requirement is to develop an window
>> same as in the macosx application
On Feb 20, 2009, at 2:57 AM, mukesh wrote:
I am building an application whose requirement is to develop an
window
same as in the macosx application FINDER. The window should be such
that it
should display the files/folders in the sam e way as in the finder
(ie: the
files/folders can be vi
On Fri, Feb 20, 2009 at 1:05 PM, Sherm Pendley wrote:
> On Fri, Feb 20, 2009 at 4:57 AM, mukesh wrote:
>
> Welcome aboard! Were you having difficulty with some part of that, or were
> you just introducing yourself and letting us all know what you're working
> on? :-)
>
Never mind - I see your oth
On Fri, Feb 20, 2009 at 4:57 AM, mukesh wrote:
>
> I am building an application whose requirement is to develop an window
> same as in the macosx application FINDER. The window should be such that it
> should display the files/folders in the sam e way as in the finder (ie: the
> files/folders can
... So you want someone to tell you how to do it, or do you have a
specific problem? •confused•
Nate
On Feb 20, 2009, at 4:57 AM, mukesh
wrote:
Hi all
I am building an application whose requirement is to develop an
window
same as in the macosx application FINDER. The window should be
Hi all
I am building an application whose requirement is to develop an window
same as in the macosx application FINDER. The window should be such that it
should display the files/folders in the sam e way as in the finder (ie: the
files/folders can be viewed in the list view, thumbnails view ,ic
On 20 Feb 2009, at 10:59, mukesh wrote:
Also give information about the control I should use for this.
I suggest the NSTextView, and you typing something into it to tell us
what you're actually wanting ;)
Bob
___
Cocoa-dev mailing list (Coc
Also give information about the control I should use for 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.
Using this code:
NSIndexSet *is = [NSIndexSet
indexSetWithIndex:rowIndex];
[_tableView selectRowIndexes:is
byExtendingSelection:YES];
to select rows, the rows are selected and highlighted, but the first
column is not highlighted
> 1. Building a c++ array of integers with indices to the new sort order
> 2. Precalculate all crucial sort terms (that depend on external data)
> for the objects to be sorted.
> 3. Sort the index array manually (e.g., a shell sort from Numerical
> Recipes in C, pg 244 (my edition))
> 4. Once done,
I had a similar problem and there were serious performance issues
with the built-in sorting. I could make it work with
sortUsingFunction:context:, but the performance depends significantly
on the efficiency of that method (i.e., how much work it takes to
interact with that external data). I
Hi
I know I can put an image into a layer by doing theLayer.contents =
cgTheGreatImage.
But that will just put a single image on the layer. My question is, how can I
use that image to have a repeating pattern on that layer of that single image?
Can you give me short example code snippet?
On Thu, Sep 4, 2008 at 7:57 AM, Thomas Davie <[EMAIL PROTECTED]> wrote:
> As far as I know, you can't add toolbars to Safari. At a guess, this is by
> design.
... and a very GOOD design, too:
http://blogs.walkerart.org/newmedia/wp-content/uploads/2008/07/too-many-toolbars.jpg
(just one exam
On 4 Sep 2008, at 12:54, [EMAIL PROTECTED] wrote:
Hi All,
I need to create a plug-in for safari. It should be a toolbar and
when I'm
installing it, it has to a prompt user to enter personal info and
should
be stored in same computer. When I'm using browser, where I need to
fill
the data
Hi All,
I need to create a plug-in for safari. It should be a toolbar and when I'm
installing it, it has to a prompt user to enter personal info and should
be stored in same computer. When I'm using browser, where I need to fill
the data on form fields. I have one more thing, when I am clicking on
Zphofar Ægir Spender Gulu___
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 Subscript
I have a problem about ABAddressBook, i want get
NSData with ABPerson'
vCardRepresentation fuction,the NSData is vcard 3.0
formatter,but i want to get vcard 2.1 formatter, how
to get vcard 2.1 formatter with vCardRepresentation,
follow is my code :
ABPerson* thePerson = [theArray objectAtInd
This assumes you do have an outlet to each of course - if the buttons
otherwise don't need any programmatic access there's no reason to have
an outlet, so it's overkill (in my view) to add outlets just to tell
two buttons apart.
Having separate action methods is usually the best approach.
You can set a different tag value for each button (in IB), then in the
action method use -[sender tag] to get the value. Tags are just an
integer number that most controls support and their use is entirely
decided by the programmer - Cocoa doesn't use them.
Alternatively you can of course j
On Jun 16, 2008, at 9:27 PM, Angelo Chen wrote:
- (IBAction)doCopying:(id)sender
{
// how to determine which NSButton is clicked?
}
There are several ways. If this button was called because a button was
pushed, sender will contain a pointer to the button. You can compare
the tag value
On Jun 16, 2008, at 7:27 PM, Angelo Chen wrote:
I have following action, two NSButtons are linked to it, I'd like to
test which button trigger the action in the code, any way to do
this? thanks.
- (IBAction)doCopying:(id)sender
{
// how to determine which NSButton is clicked?
}
if (s
Hi,
I have following action, two NSButtons are linked to it, I'd like to test which
button trigger the action in the code, any way to do this? thanks.
- (IBAction)doCopying:(id)sender
{
// how to determine which NSButton is clicked?
}
Angelo
Yahoo! Mail具備一流的網上安全保護功能,請前往 http://hk.an
On 4 Mar '08, at 1:18 AM, ali alavi wrote:
I need to be able to load the page automatically when I
programmatically set the URL filed to a web page address. However
the only way I can make the page appear now is by clicking in the
URL field and hitting Return key. How can I do this without
I have a WebView and a NSTextField (as URL address bar) on my window.
I need to be able to load the page automatically when I programmatically set
the URL filed to a web page address. However the only way I can make the page
appear now is by clicking in the URL field and hitting Return key. How
58 matches
Mail list logo