On Sat, 4 May 2013 16:20:14 -0700, YT said:
>I have need to turn a local float value into a char array.
>
>That is, The Quartz 2D graphics function requires the passing of a
>(const char *) to a text string or I was thinking of a character array.
>
>My mind is mush at the moment - can't seem to r
On May 5, 2013, at 11:33 PM, YT wrote:
> This past week I've been totally focused on learning how to write code that
> uses the Quartz 2D library and so totally forgot the MVC design pattern.
> Plus I've read about the MVC pattern it in the docs but have not configured
> one myself in Cocoa.
If you would benefit from looser coupling between objects, consider
NSNotification and friends.
Kirk Kerekes
(iPhone)
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
On May 5, 2013, at 6:06 PM, Rick Mann wrote:
> I can add libcommonCrypto.dylib from the iOS Add Frameworks & Libraries UI,
> but it fails to link with:
>
> ld: library not found for -lcommonCrypto
>
>
> Any idea how I can link this? I need it for CCHmac().
What are you trying to accom
On May 6, 2013, at 09:03 , Sean McBride wrote:
> Also consider localisation... do you absolutely want the '.' character, or
> whatever decimal character is specified by the user's locale (or the user
> himself)? Consider NSNumberFormatter if you want localisation.
Yes! I don't know what I wa
On May 6, 2013, at 10:23 , Nick Zitzmann wrote:
> What are you 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 t
On May 6, 2013, at 11:37 AM, Rick Mann wrote:
> An older project had linked against libCrypto, which didn't exist any more,
> and I was assuming it wasn't linked in by default.
libcrypto is the cryptography library used by OpenSSL, which has nothing to do
with CommonCrypto, is not part of iOS
On May 6, 2013, at 10:41 , Nick Zitzmann wrote:
>
> On May 6, 2013, at 11:37 AM, Rick Mann wrote:
>
>> An older project had linked against libCrypto, which didn't exist any more,
>> and I was assuming it wasn't linked in by default.
>
> libcrypto is the cryptography library used by OpenSSL,
So is there no way in Cocoa to assign key equivs by key code instead of by
string? The Carbon menu item could be set by glyph (SetMenuItemKeyGlyph) or by
key code (SetMenuItemCommandKey), which sure were handy. The key equiv would
clearly show numpad glyphs with a rounded rect around them. In Co
On May 6, 2013, at 1:19 PM, Steve Mills wrote:
> So is there no way in Cocoa to assign key equivs by key code instead of by
> string? The Carbon menu item could be set by glyph (SetMenuItemKeyGlyph) or
> by key code (SetMenuItemCommandKey), which sure were handy. The key equiv
> would clearly s
On May 4, 2013, at 1:44 PM, Kévin Vavelin wrote:
> I use SocketIO project on my iOS app to connect to my node.js server and
> everything works great until I choose to connect to Facebook.
Using what protocol? I'm assuming HTTP. If so, then I would first suggest that
you stop using a low-level
Is there a way to restrict the movement of an NSWindow to a frame of another
window (that may underly it) or to some other fixed rectangular sub-area on the
screen?
Searching the web there was a CocoaBuilder thread 12 years ago that indicates
that it was unknown how to do this then, implying th
The doc for [NSWindow isMovable] says you can disable it and implement your own
mouseDown: in an NSWindow subclass. I think there used to be an example
mouseDown: implementation in the code but I can't find it.
On May 6, 2013, at 2:17 PM, Thomas Wetmore wrote:
> Is there a way to restrict the m
Hi Tom,
I've been dealing with constraining window motion a bit lately. Unfortunately,
Cocoa does not provide an easy way to do this (like Carbon did). You
essentially have to handle the mouse events yourself, in an NSWindow subclass.
So, subclass NSWindow, and implement the following (I includ
Oh yeah, add this to -awakeFromNib, or some other appropriate place:
self.movable = false;
Also note that in doing this, you'll lose the ability for your windows to be
moved even if your app is not responding.
On May 6, 2013, at 14:17 , Thomas Wetmore wrote:
> Is there a way to restrict
On May 6, 2013, at 16:17:49, Thomas Wetmore wrote:
> Is there a way to restrict the movement of an NSWindow to a frame of another
> window (that may underly it) or to some other fixed rectangular sub-area on
> the screen?
>
> Searching the web there was a CocoaBuilder thread 12 years ago that
Steve Mills asked:
So is there no way in Cocoa to assign key equivs by key code instead of by string? The Carbon menu
item could be set by glyph (SetMenuItemKeyGlyph) or by key code (SetMenuItemCommandKey), which sure
were handy. The key equiv would clearly show numpad glyphs with a rounded re
Hello Ken, and so-many-thanks for the information.
On 4 במאי 2013, at 07:24, Ken Thomases wrote:
> On May 2, 2013, at 11:53 AM, Jens Alfke wrote:
>
>> On May 1, 2013, at 5:10 AM, Motti Shneor wrote:
>>
>>> Currently, MyB retains itself within its thread, and releases itself just
>>> before t
On May 4, 2013, at 4:20 PM, YT wrote:
> I have need to turn a local float value into a char array.
>
> That is, The Quartz 2D graphics function requires the passing of a (const
> char *) to a text string or I was thinking of a character array.
Knowing which API you mean, I would recommend ag
On May 6, 2013, at 11:19 AM, Steve Mills wrote:
> So is there no way in Cocoa to assign key equivs by key code instead of by
> string? The Carbon menu item could be set by glyph (SetMenuItemKeyGlyph) or
> by key code (SetMenuItemCommandKey), which sure were handy. The key equiv
> would clearl
On May 6, 2013, at 14:20:44, Ken Thomases wrote:
> I don't know if this works, but you might try [menuItem
> setKeyEquivalentModifierMask:NSNumericPadKeyMask]. That said, I'm not sure
> that users will understand the distinction between 1 and numpad 1, even with
> a rounded rect border. Also
On May 6, 2013, at 16:58:10, gweston wrote:
> In light of the great opportunity for user confusion - because a little
> rectangle around the number is hardly a "clear" indicator - and the reality
> that many users do not have a number pad, I think the solution I'd recommend
> is to rethink the
On May 6, 2013, at 17:50:23, Eric Schlegel
wrote:
> Unfortunately there's no NSMenu API to support this. Please vote for one by
> filing a Radar.
radar://13823585
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
___
Coco
Part of the territory. Apple "knows better than you", thus so do its fanboys.
On Mon, May 6, 2013 at 10:20 PM, Steve Mills wrote:
> On May 6, 2013, at 16:58:10, gweston wrote:
>
>> In light of the great opportunity for user confusion - because a little
>> rectangle around the number is hardly a
24 matches
Mail list logo