> Reminder
iOS 4.2 has not been released and is still under NDA and can't be discussed
here.
Thanks
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
Hi,
I've an object which properties I access via key-value coding. These properties
are sometimes "uninitialized" (that means, the real value needs to be read from
the Wifi network). I would like to detect a read of such property and then
fetch it from the network. It's not a problem that in th
Hi,
I can't quite get my head around obj-c sometimes, so i was just
wondering if anyone could point me in the right direction.
I've got a fairly simple coredata app that I code and use to keep
track of some work stuff (I run my own business), and it automatically
generates composite image
On Wed, Nov 10, 2010 at 8:35 AM, Amy Gibbs wrote:
>
> //calc image width
> float width = 300 / ki;
> NSLog(@"Width: %@",width);
Width isn't an object. Use %f to print a float.
sherm--
--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
_
On 10 Nov 2010, at 12:47, Remco Poelstra wrote:
> Hi,
>
> I've an object which properties I access via key-value coding. These
> properties are sometimes "uninitialized" (that means, the real value needs to
> be read from the Wifi network). I would like to detect a read of such
> property and
Hi all,
that fixes my null issue, thanks, I can't believe I didn't see that.
I still can't work out how to get the original height and width of my
image though, I'm trawling through google searches for nsimage and
size etc but nothing seems to work I get various error messages,
while ((im
On Nov 10, 2010, at 05:58, jonat...@mugginsoft.com wrote:
> On 10 Nov 2010, at 12:47, Remco Poelstra wrote:
>
>> Hi,
>>
>> I've an object which properties I access via key-value coding. These
>> properties are sometimes "uninitialized" (that means, the real value needs
>> to be read from the W
On 10 Nov 2010, at 14:00, Amy Gibbs wrote:
> Hi all,
>
> that fixes my null issue, thanks, I can't believe I didn't see that.
>
> I still can't work out how to get the original height and width of my image
> though, I'm trawling through google searches for nsimage and size etc but
> nothing
On 10 Nov 2010, at 14:05, Quincey Morris wrote:
> On Nov 10, 2010, at 05:58, jonat...@mugginsoft.com wrote:
>
>> On 10 Nov 2010, at 12:47, Remco Poelstra wrote:
>>
>>> Hi,
>>>
>>> I've an object which properties I access via key-value coding. These
>>> properties are sometimes "uninitialized
On Nov 10, 2010, at 06:10, jonat...@mugginsoft.com wrote:
> I was just thinking that the overrides would provide a convenient point to
> process all requests for undefined properties.
> Depends on the design and requirements of the model I suppose.
I don't think that's happening here -- the prop
No idea what other products are doing, but I assume the general idea is to set
up multiple connections, each downloading different portions of the file.
How you do that is connection-specific, but it sounds like you probably want to
set the Range header of your HTTP requests. You'd probably have
Hello Everyone
I`m new to iPad Programming. I found in the ViewController programming guide
that, there should be one to one correspondence between the view controller
and the screen displayed and also says that, if you have to manage
different veiws on the same screen I have to use NSO object a
Only those who have actually signed an NDA with Apple are subject to this, and
they are certainly free to refrain from comment.
Everyone else is free to talk, blog, and post about it how they please.
FYI -- An NDA or Non Disclosure Agreement (the third word being key) requires
two parties to
On 10/11/2010, at 03:01, Graham Cox wrote:
>
> On 10/11/2010, at 4:23 AM, Siegfried wrote:
>
>> The question is:
>> Is it possible to "pause" after each call…?
>
> Yes, but you need to refactor your code. Just inserting a delay while drawing
> is a bad idea and won't work.
>
> Set up a timer t
On Wed, Nov 10, 2010 at 9:54 AM, Shawn Bakhtiar wrote:
>
>
> Only those who have actually signed an NDA with Apple are subject to this,
> and they are certainly free to refrain from comment.
>
> Everyone else is free to talk, blog, and post about it how they please.
>
Note: I am not an Apple empl
Is there any standard way for a Cocoa app to test whether it was launched
from a script, esp. AppleScript? I would like to set a flag to disable
dialogs so that users could run the app in (faceless) batch mode.
Thanks.
--
Mike McLaughlin
___
Cocoa-d
Shawn,
Nice try, but to download the aforementioned SDK you need to agree to Apple
Developer Program terms. One of these terms is to not reveal non-public
information.
Also, this list is sponsored by Apple. I don't think you should do that here.
Cheers,
Flavio
On 10/11/2010, at 15:54, Shawn
On Nov 10, 2010, at 10:24, Scott Ellsworth wrote:
[snip!]
>>
>> FYI -- An NDA or Non Disclosure Agreement (the third word being key)
>> requires two parties to agree to said terms.
>>
>
> Whether you signed an NDA with Apple or not, the list rules include not
> discussing NDA item here.
Note:
On 10 Nov 2010, at 18:34, McLaughlin, Michael P. wrote:
> Is there any standard way for a Cocoa app to test whether it was launched
> from a script, esp. AppleScript? I would like to set a flag to disable
> dialogs so that users could run the app in (faceless) batch mode.
>
> Thanks.
>
> --
Simple. If it's not been released yet, don't talk about it.
_murat
On Nov 10, 2010, at 11:00 AM, Laurent Daudelin wrote:
[snip]
> ...how do you know when you're talking about something that it's under NDA or
> not? For example, I have seen already a few walkthrough of and information
> about
I have a NSTextView and I would like it to calculate for me how tall it needs
to be to contain the string I assigned to it. I have set the width to 200
pixels and the initial height of the field to CGFLOAT_MAX. I then do:
[[theField cell] setLineBreakMode:NSLineBreakByWordWrappi
Sorry...I mean NSTextField.
On Nov 10, 2010, at 2:47 PM, Eric Gorr wrote:
> I have a NSTextField and I would like it to calculate for me how tall it
> needs to be to contain the string I assigned to it. I have set the width to
> 200 pixels and the initial height of the field to CGFLOAT_MAX. I
> On 10 Nov 2010, Mitchell, Jonathan wrote:
>> On 10 Nov 2010, at 18:34, McLaughlin, Michael P. wrote:
>>
>> Is there any standard way for a Cocoa app to test whether it was launched
>> from a script, esp. AppleScript? I would like to set a flag to disable
>> dialogs so that users could run the
On Wed, 10 Nov 2010 13:34:09 -0500, "McLaughlin, Michael P."
said:
>Is there any standard way for a Cocoa app to test whether it was launched
>from a script, esp. AppleScript?
All apps are launched the same way - by sending them an oapp Apple event (or
similar). It doesn't matter whether it cam
Hallo everyone
When I embed an NSTableView in an NScrollView, everything works except
column auto-resizing.
What would trigger automatic column layout whenever the NSScrollView frame
is reduced in size?
I have a custom view that creates a NSScrollView and NSTableView:
- (id)initWithFrame:(NSRec
On 10 Nov 2010, at 21:19, McLaughlin, Michael P. wrote:
>>
>
> The idea is that the app will be scriptable but I was trying to find a way
> to avoid forcing the user to send a special command to set a fromBatch flag
> (seems kludgy).
>
> I would like the user to be able to queue up a lot of se
On Wed, Nov 10, 2010 at 1:34 PM, Patrick Mau wrote:
>
> Hallo everyone
>
> When I embed an NSTableView in an NScrollView, everything works except
> column auto-resizing.
>
> What would trigger automatic column layout whenever the NSScrollView frame
> is reduced in size?
The columns need to fill t
--- On Wed, 11/10/10, McLaughlin, Michael P. wrote:
> Jonathan wrote:
>
>>> On 10 Nov 2010, at 18:34, McLaughlin, Michael P. wrote:
>>>
>>> Is there any standard way for a Cocoa app to test whether it was
>>> launched from a script, esp. AppleScript? I would like to set a
>>> flag to disable d
Hallo Kyle
Thanks for your remarks, but that's not it (unfortunately, see below).
On 10.11.2010, at 22:54, Kyle Sluder wrote:
> On Wed, Nov 10, 2010 at 1:34 PM, Patrick Mau wrote:
>>
>> Hallo everyone
>>
>> When I embed an NSTableView in an NScrollView, everything works except
>> column auto-
Followup: I got my hard copy from lulu.com today -- 628 pages of HIG/tutorial
docs, perfect bound on A4 for USD22 + USD10 shipping to Australia (they may
have printed it here, not sure). It's a chunky volume (reminds my of Inside Mac
:-) but the per-volume costs discouraged me from printing the
On Nov 9, 2010, at 9:13 PM, Quincey Morris wrote:
> On Nov 9, 2010, at 07:00, Sachin Porwal wrote:
>
>> In my application I need to choose only dmg files, so I am using
>> NSOpenPanel with the following code snippet.
>> But the NSOpenPanel is also allowing me to choose the folders having
>> the
Hello all.
I'm downloading a web page that contains a form with NSURLConnection. The form
contains a few fields that I can fill with values.
Here is the form part:
Sign In
First Name:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/10/10 3:10 PM, Laurent Daudelin wrote:
> Hello all.
>
> I'm downloading a web page that contains a form with NSURLConnection. The
> form contains a few fields that I can fill with values.
> Here is the form part:
>
> style="position:relative
Has anyone every come across a problem where simply calling
convertPoint:toLayer: (not even using the result at all) affects the behavior
of animations?
CGPoint start, end;
start, end = ;
// Enable/disable this line and it will change the
Thanks, Conrad. That's a start but given the values that I have to provide back
to the server, the sample example didn't help much. I've tried a few variations
to set the content of the request's body but the server always return a 400
(bad request). So, I'm guessing that I'm not providing the s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/10/10 4:29 PM, Laurent Daudelin wrote:
> Thanks, Conrad. That's a start but given the values that I have to
> provide back to the server, the sample example didn't help much. I've
> tried a few variations to set the content of the request's body
A NSSecureTextField works fine, but the msg. in the Console after entering
password says:
NSSecureTextFieldCell detected a field editor ((null)) that is not a NSTextView
subclass designed to work with the cell. Ignoring...
Can anyone help?___
Cocoa-de
- (int)HTTPPostProcess:(Register *)reg host:(NSString*)host cgi:
(NSString*)cgi
{
CFHTTPMessageRef request;
CFStreamClientContext ctxt = {0, self, NULL, NULL, NULL};
NSString* url_string = [host stringByAppendingString:cgi];
url_string = [@"http://"; stringByAppendingS
On 2010 Nov 10, at 14:09, Patrick Mau wrote:
> So someone must tell the tableView that it should resize its colums in
> response
> to a scrollview frame change.
Try poking it with -[NSTableView sizeLastColumnToFit] or -[NSTableView
sizeToFit].
___
On 2010 Nov 09, at 12:30, Ross Carter wrote:
> If so, you might need to adjust the typesetterBehavior setting.
For NSTextField, try NSTypesetterBehavior_10_2_WithCompatibility.
NSTextField and, I presume, NSTextFieldCell, seem to suffer from some legacy
oddities that make it tricky to accurate
As the list Moderator and an Apple Employee, I am obliged to remind users
of/and enforce the NDA. iOS 4.2 hasn’t been released, is under NDA, and can’t
be discussed here. Apple provides the developer forums for discussion of
yet-to-be-released software.
If you choose not to abide by the NDA or
On Nov 10, 2010, at 14:09, Patrick Mau wrote:
> The scrollview resizes along with my custom view, which is fine.
> This triggers a resize of the NSClipView, which is the contentView of the
> scrollview.
>
> The documentView's frame is obviously not affected.
>
> So someone must tell the tableVi
Sent from my iPad
On Nov 10, 2010, at 11:00 AM, Laurent Daudelin wrote:
> On Nov 10, 2010, at 10:24, Scott Ellsworth wrote:
> [snip!]
>>>
>>> FYI -- An NDA or Non Disclosure Agreement (the third word being key)
>>> requires two parties to agree to said terms.
>>>
>>
>> Whether you signed an
On Wed, Nov 10, 2010 at 9:25 PM, Quincey Morris
wrote:
>
> What am I missing, because the answer seems too easy? The table view won't
> resize automatically unless *its* 'autoresizingMask' tells it to do so, and
> you haven't set that. (You did set it for the scroll view, but that's a
> differe
On Nov 10, 2010, at 21:37, Kyle Sluder wrote:
> Table views do not require autoresize masks to size to fit their
> enclosing scroll view. Try it yourself: drag an NSTableView out to a
> window in IB and inspect its autoresize mask.
Well, OK, I stand corrected. Setting some of the column autoresiz
I've got an NSOperation thread running, but I'd like to be able to
send a message to it so that the thread can be shut it down, or
possibly other commands.
What is considered a good way to send a message to an NSOperation
thread from the apps main thread?
__
46 matches
Mail list logo