On Feb 25, 2010, at 11:40 PM, Steve Cronin wrote:
> Folks;
>
> My Mac-based Cocoa application is now available as a free trial download from
> the internet.
>
> The first time a user opens the software a warning is shown informing the
> user that this software has never been used and was downl
On Thu, Feb 25, 2010 at 3:00 AM, Billy Flatman wrote:
Hi all,
I've written a custom view and done some optimisation of the drawing calls
so only the exact areas that need redrawing are passed to the
'setNeedsDisplayInRect' function.
All was working well, until
What you are experancing is the setting of the q
Quarintene xattr value. This cannot be avoided, as how can the OS know that
your application has no macious intent. The best recomendation I can offer is
provide a pkg installer instead as it
Steve Cronin wrote:
Folks;
My Mac-based Cocoa
On Feb 25, 2010, at 21:40, Steve Cronin wrote:
> Folks;
>
> My Mac-based Cocoa application is now available as a free trial download from
> the internet.
>
> The first time a user opens the software a warning is shown informing the
> user that this software has never been used and was download
Folks;
My Mac-based Cocoa application is now available as a free trial download from
the internet.
The first time a user opens the software a warning is shown informing the user
that this software has never been used and was downloaded from the internet --
thanks redmond =[:-(
I understand
On Feb 25, 2010, at 4:38 PM, Gaurav Srivastava wrote:
> Basically I have a parent application from which I have to launch another
> application. I want the child application to open as modal within the parent
> application and not as a separate application.
Mac OS X does not support window child
Sigh.
All the documentation links for Apple Documentation in the document I just
posted are likely out of date.
The Apple Developer Connection’s Mac OS X Dev Center is the place to find
documentation online http://developer.apple.com/
Sorry about that folks.
_
Folks;
I'm a big fan of Snow Leopard's revised support for Services.
In fact my application has a service that I would like most of my customers to
use.
What I have found from watching test subjects install my software is that many
folks stumble on enabling the service.
I understand that user n
On Feb 24, 2010, at 4:54 PM, Michael A. Crawford wrote:
> I've purchased apps from other developers on this forum, which have
> mechanisms for limiting functionality until a valid registration code has
> been provided. I'd like to include this functionality in my own app but
> don't want to c
New Posters
===
A reminder that people who post for the first time are moderated. Messages
should be approved or rejected within 24 hours. Once it’s clear that the posts
are on topic and not violating the rules, the moderation is cleared.
If your messages are automatically rejected the
Is there any corresponding function call for ::SetParent(in Windows) in
Cocoa?
Basically I have a parent application from which I have to launch another
application. I want the child application to open as modal within the parent
application and not as a separate application.
I have the window hand
>>> Hi all,
>>>
>>> I've written a custom view and done some optimisation of the drawing calls
>>> so only the exact areas that need redrawing are passed to the
>>> 'setNeedsDisplayInRect' function.
>>>
>>> All was working well, until I embedded my view into an NSScroller.
>>>
>>> Since then m
I don't know enough about the specifics, but could an image with a moving
mask reveal the trail?
Eric
On Thu, Feb 25, 2010 at 8:32 PM, David Duncan wrote:
> On Feb 25, 2010, at 4:55 PM, John Michael Zorko wrote:
>
> > I'm interested in having a CAKeyframeAnimation leave a "trail" i.e.
> imagine
On Feb 25, 2010, at 7:10 PM, William Squires wrote:
> What exactly does @dynamic do? Specifically, in the context of a Core Data
> managed-object? Here's what I do understand:
>
> 1) You create an 'entity' in the .xcdatamodel file
> 2) You ask Xcode to create the class files for you
> 3) The .m f
On Feb 25, 2010, at 7:10 PM, William Squires wrote:
> Why doesn't it just @synthesize the accessors? What would happen if I
> replaced the @dynamic with @synthesize? Would it blow up, or just have weird
> performance issues?
@dynamic and @synthesize are completely different. @synthesize causes
What exactly does @dynamic do? Specifically, in the context of a Core
Data managed-object? Here's what I do understand:
1) You create an 'entity' in the .xcdatamodel file
2) You ask Xcode to create the class files for you
3) The .m file contains @dynamic instead of @synthesize for each of
the
On Feb 25, 2010, at 4:55 PM, John Michael Zorko wrote:
> I'm interested in having a CAKeyframeAnimation leave a "trail" i.e. imagine
> the image of a pencil being animated across the screen -- I want to draw a
> path of where the pencil has been along with the animated pencil. However,
> i'm no
On Feb 25, 2010, at 4:08 PM, Greg Parker wrote:
> Feel free to draw your own conclusions about Apple's future support for C++.
What Greg said. Note that a lot of major big-ticket Mac apps contain large
amounts of C++ code — Photoshop, MS Office, etc. Most cross-platform apps are
C++ at their c
Hello, all ...
I'm interested in having a CAKeyframeAnimation leave a "trail" i.e. imagine the
image of a pencil being animated across the screen -- I want to draw a path of
where the pencil has been along with the animated pencil. However, i'm not sure
how to do this, since Core Animation is
I've run into the need for something like this often enough that I
just end up writing a simple container class that mimic's C++'s pair
class. Something like this:
#import
@interface My_Pair : NSObject
{
id first;
id second;
}
+ (My_Pair *)pairWith:(id)_first and:(id)_secon
On Feb 25, 2010, at 4:02 PM, Stephen J. Butler wrote:
> Apple has deprecated libraries/frameworks. They haven't stopped
> supporting any languages though.
Pretty sure we don't provide any Pascal or HyperCard tools anymore. I forget
whether we shipped gfortran at any point in Mac OS X.
In any ca
On Thu, Feb 25, 2010 at 7:02 PM, Stephen J. Butler
wrote:
>
> Apple has deprecated libraries/frameworks. They haven't stopped
> supporting any languages though.
I'm pretty sure they no longer support Pascal. ;-)
sherm--
--
Cocoa programming in Perl:
http://www.camelbones.org
__
On Thu, Feb 25, 2010 at 5:45 PM, Chunk 1978 wrote:
> i've been reading about how apple dropped their plans for Carbon 64 a
> while back, so if carbon is C++ then i'm surprised that apple is still
> supporting it at all?
You're confusing a library/framework with the language that library is
writte
On Feb 25, 2010, at 4:45 PM, Chunk 1978 wrote:
> i've been reading about how apple dropped their plans for Carbon 64 a
> while back,
We just had a thread about this, but basically, Carbon is not dead; only parts
of it were taken out of the 64-bit frameworks.
> so if carbon is C++ then i'm surp
On Thu, Feb 25, 2010 at 6:42 PM, Dave Carrigan wrote:
>
> On Feb 25, 2010, at 3:40 PM, Chunk 1978 wrote:
>
>> is Apple's Carbon basically code written in C++, while Cocoa is
>> written in Objective-C? should developers avoid using frameworks
>> written in C++ (like some sound frameworks)?
>
>
> W
On 26/02/2010, at 10:40 AM, Chunk 1978 wrote:
> is Apple's Carbon basically code written in C++, while Cocoa is
> written in Objective-C?
Some parts of Carbon is C++ internally, some is C, but the APIs are C.
> should developers avoid using frameworks
> written in C++ (like some sound framewor
http://developer.apple.com/carbon/
http://en.wikipedia.org/wiki/Carbon_%28API%29
On Thu, Feb 25, 2010 at 15:40, Chunk 1978 wrote:
> is Apple's Carbon basically code written in C++, while Cocoa is
> written in Objective-C? should developers avoid using frameworks
> written in C++ (like some sou
i've been reading about how apple dropped their plans for Carbon 64 a
while back, so if carbon is C++ then i'm surprised that apple is still
supporting it at all?
On Thu, Feb 25, 2010 at 6:42 PM, Dave Carrigan wrote:
>
> On Feb 25, 2010, at 3:40 PM, Chunk 1978 wrote:
>
>> is Apple's Carbon basica
On Feb 25, 2010, at 3:40 PM, Chunk 1978 wrote:
> is Apple's Carbon basically code written in C++, while Cocoa is
> written in Objective-C? should developers avoid using frameworks
> written in C++ (like some sound frameworks)?
Why? Objective-C and C++ mix just fine as long as you follow a few
thus more to i think over, I start giving you the truth ..
that this solution is basically what I need .. :)
NSDictionary *values = [NSDictionary
dictionaryWithObjectsAndKeys:@"A1", @"subKey1", @"B1", subKey2", nil];
NSDictionary *keyedValues = [NSDictionary
dictionaryWithObjectsAndKeys:valu
is Apple's Carbon basically code written in C++, while Cocoa is
written in Objective-C? should developers avoid using frameworks
written in C++ (like some sound frameworks)?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admi
On Feb 25, 2010, at 3:28 PM, Daniel Káčer wrote:
> but I would like to know whether exist any more elegant solution ...
You could consider Core Data, but whether that is the right choice is very
dependent on the real problem you're trying to solve.
--
Dave Carrigan
d...@rudedog.org
Seattle,
Ok, this good idea .. but which container contains 2 values ? ...
Array is one dimensional container, set also one dimensional and
dictionary is key based container .. so value with key ..
there i know only about solution NSDictionary with my custom class
[NSDictionary addObject:&myClass forK
On Feb 25, 2010, at 2:59 PM, Dave Carrigan wrote:
On Feb 25, 2010, at 2:51 PM, Daniel Káčer wrote:
i need help with solution about store more complex values into
NSDictionary.
I have following data which i need store in NSDictionary:
value1:@"A1" value2:@"B1" key:1
value1:@"A2" value2:@"B2"
On Feb 25, 2010, at 2:59 PM, Dave Carrigan wrote:
> On Feb 25, 2010, at 2:51 PM, Daniel Káčer wrote:
>>
>> i need help with solution about store more complex values into NSDictionary.
>> I have following data which i need store in NSDictionary:
>>
>> value1:@"A1" value2:@"B1" key:1
>> value1:@"A2
On Feb 25, 2010, at 2:51 PM, Daniel Káčer wrote:
> Hi,
>
> i need help with solution about store more complex values into NSDictionary.
> I have following data which i need store in NSDictionary:
>
> value1:@"A1" value2:@"B1" key:1
> value1:@"A2" value2:@"B2" key:2
> value1:@"A3" value2:@"B3" k
Hi,
i need help with solution about store more complex values into
NSDictionary.
I have following data which i need store in NSDictionary:
value1:@"A1" value2:@"B1" key:1
value1:@"A2" value2:@"B2" key:2
value1:@"A3" value2:@"B3" key:3
etc.
What is the ideal solution for this my case ?
thnx
I did the below ... duh, all good now!
On Feb 25, 2010, at 2:50 PM, Greg Parker wrote:
NSValue* v = [dd valueForKey:NSDeviceResolution];
NSSize sz = [v sizeValue];
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do no
On Feb 25, 2010, at 1:40 PM, David Blanton wrote:
> [window deviceDescription] is to return an NSDictionary of device description
> data
>
> NSDeviceResolution key is to return an NSString representing an NSSIze
>
> Calling NSSizeFromString on this returned string causes and exception
>
> -[NSC
On Thu, Feb 25, 2010 at 1:40 PM, David Blanton wrote:
> NSDeviceResolution key is to return an NSString representing an NSSIze
No it's not. The documentation clearly states it's an NSValue:
http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/
I replaced calling NSColorPanel from a button click by using an
NSColorWell and setting an action on it.
Looks more Mac like as you see the current color before getting the
picker
Still would like to know why changeColor isn't called, eh Apple?
-db
On Feb 25, 2010, at 9:30 AM, David Bla
[window deviceDescription] is to return an NSDictionary of device
description data
NSDeviceResolution key is to return an NSString representing an NSSIze
Calling NSSizeFromString on this returned string causes and exception
-[NSConcreteValue getCString:maxLength:encoding:]: unrecognized
sel
No, I didn't really mean that, but obviously the less they have to go on the
harder it is for them to hack your code. Stripping the symbols out of your
binaries is a good start (but then you get lousy stack traces...)
I also use another, slightly more devious scheme alongside all the technical
On Feb 25, 2010, at 7:14 AM, Brian Postow wrote:
> As a theorist I agree. You can't win that game. The hacker, if they re-write
> the OS can always get around whatever you put there, and usually there are
> easier ways than that.
>
> OTOH, it depends a lot on your customers (or your customer's c
On Sun, Feb 21, 2010 at 4:14 PM, Graham Cox wrote:
> Just a tip: look up NSStringFromSelector();
Right, thanks. I couldn't remember it off the top of my head.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
Hello!
How can I make a IKImageBrowserView to allow the user to rename an
item, by clicking in the name section of the item, just like the
Finder does it?
Or maybe even through some context menu, but how do I open an Edit
Session for the name of an item of the IKImageBrowserView?
Thank you
Yes, I had done that before also to no avail. But thinking I might
have been tired and erred I have done it again.
Still does not work. I am including the code and a link to a debug
picture that shows all is set correctly (as far as I can tell).
Would someone be willing to run this code and
Alright, I'm having the strangest issue. When I download an image from the
internet or pick it up from disk I use I load it as NSData, then initialize the
UIImage from the data. This is because when I write files to disk I am writing
them as png, being that png is the default for iPhone/iPod. Wh
On Thu, February 25, 2010 7:37:17 AM Alexander Bokovikov
wrote:
> I don't understand what is the problem. Isn't "my" 422/674 ratio not a
> constant?
> What is a principal difference between it and "yours" 4/3? Just substitute my
> digits
> to whatever you need. You'll get just the same result.
On Thursday, February 25, 2010 at 5:57 PM Ariel Feinerman wrote:
You calculate view`s aspect from it size, but I mean content frame (not
window frame) from constant aspect, for example 4/3, then set size.
I don't understand what is the problem. Isn't "my" 422/674 ratio not a
constant? What is
Vinai,
maybe, I thought they are equivalent, thank you.
2010/2/25 vinai
>
> --- On Thu, 2/25/10, Ariel Feinerman wrote:
>
> > ...
> >
> > There is neither techinque for setting window`s frame
> > itself, nor message for setting content view aspect.
>
> Ariel,
>
> Does the method setContentAs
--- On Thu, 2/25/10, Ariel Feinerman wrote:
> ...
>
> There is neither techinque for setting window`s frame
> itself, nor message for setting content view aspect.
Ariel,
Does the method setContentAspectRatio for NSWindow not do what you need ?
cheers
vinai
Alexander,
And it works perfectly for me. 674 x 422 - is my original content view size,
> defined in IB.
You calculate view`s aspect from it size, but I mean content frame (not
window frame) from constant aspect, for example 4/3, then set size.
> Unfortunately IB operates by window's content v
On 25.02.2010, at 15:17, Ariel Feinerman wrote:
there is of the matter is that -setAspectRatio: sets the window`s
aspect ratio, but when window has been loaded from nib and not
resized yet, its size is taken from "content size" that was written
in IB with it own aspect. Then when window ha
LinkedIn
Ariel Feinerman requested to add you as a connection on LinkedIn:
--
Cameron,
I'd like to add you to my professional network on LinkedIn.
- Ariel
Accept invitation from Ariel Feinerman
http://www.linkedin.com/e/AdB-vBGUaPDD8CAZeSRcxp2
Hi,
there is of the matter is that -setAspectRatio: sets the window`s aspect
ratio, but when window has been loaded from nib and not resized yet, its
size is taken from "content size" that was written in IB with it own aspect.
Then when window has been resized it instantly get size to conform aspec
56 matches
Mail list logo