Thanks! That is very helpful. I have added a data file in my project as you
suggested.
I come from the linux world, where this sort of things are done in
installation script or package post-install script.
I have never released an App on Mac. Is there any concept of App post
install script?
I jus
Hi all,
I have an NSPopUpButton which holds the names of keys I want to display in an
NSTableView. A picture is worth a thousand words:
http://skitch.com/francoisb/dc63m/nstableview-redisplay
I have an action on my controller which rebinds the NSTableView's dataCell for
the single column to a
On Jul 17, 2010, at 12:36 AM, Rafael Cerioli wrote:
> Le 16 juil. 2010 à 18:56, Kyle Sluder a écrit :
>
>> On Jul 16, 2010, at 3:46 PM, Rafael Cerioli wrote:
>>
>>> - using a NSURLConnection seams nice, but as it calls its delegate
>>> (-connection:didReceiveData:) on the main thread, it has t
On Jul 16, 2010, at 10:16 PM, François Beausoleil wrote:
> I have an NSPopUpButton which holds the names of keys I want to display in an
> NSTableView. A picture is worth a thousand words:
> http://skitch.com/francoisb/dc63m/nstableview-redisplay
>
> I have an action on my controller which rebi
On 17 Jul 2010, at 07:02, Kyle Sluder wrote:
> On Fri, Jul 16, 2010 at 10:36 PM, Rafael Cerioli
> wrote:
>> I guess I had something wrong, NSURLConnection does not do anything in a
>> background thread. It just operates in the main thread but "asynchronously"
>> thanks to the run loop.
>
> Well
Quite true, but in this case, I am pretty sure that is not what is happening.
If my assumptions about what the code below is doing are correct, it will
provide the debugging information I need.
Fortunately, I have physical access to the machine where the problem is
occurring and can verify the
Hey Ken,
You were absolutely right. I bound NSTableColumn in Interface Builder, so I had
to update that binding.
I haven't tried to unbind: first, since it works just fine now.
Thanks!
François
Le 2010-07-17 à 06:02, Ken Thomases a écrit :
> On Jul 16, 2010, at 10:16 PM, François Beausoleil w
On Jul 17, 2010, at 12:32 AM, Wayne Shao wrote:
> Thanks! That is very helpful. I have added a data file in my project as you
> suggested.
>
> I come from the linux world, where this sort of things are done in
> installation script or package post-install script.
> I have never released an App
Le 17 juil. 2010 à 06:38, Mike Abdullah a écrit :
>
> On 17 Jul 2010, at 07:02, Kyle Sluder wrote:
>
>> On Fri, Jul 16, 2010 at 10:36 PM, Rafael Cerioli
>> wrote:
>>> I guess I had something wrong, NSURLConnection does not do anything in a
>>> background thread. It just operates in the main th
Hi Group,
I want to implement HTTP Pipe lining communication in my iphone application
for web images downloading into my application.
If any one implemented this already please suggest me how to implement this
in iPhone.
Thanks in advance.
Regards,
Sridhar.
_
On Jul 17, 2010, at 10:38 AM, Rafael Cerioli wrote:
> Just out of curiosity, if there is communication between threads, even with
> runloops, there must be a lock at some point ? To schedule something in the
> main thread's runloop, you must lock the runloop don't you ?
No. There are lockless
On iOS 4 there's a method on NSMutableURLConnection to do this (something like
setHTTPShouldUsePipelining:). If you need a solution for iOS 3.x, I'm afraid
I've been trying to find one for a long time, and short of writing pipelining
yourself, I don't think there is one.
Dave
Sent from my iPh
I finally found the answer to this problem. It comes from the way I was setting
the relationship. I was calling:
[[expense valueForKey:@"tags"] addObject:tag];
..which apparently is too direct. What I need is something more like:
[[expense mutableSetValueForKey:@"tags"] addObject:tag];
I
I get a link error:
ld: warning: directory
'/Users/lobster/Programming/Roboplasm/../../../core-plot/framework/build/Debug'
following -F not found
I can't find a reference to core-plot anywhere in the code. How do I interpret:
/../../../ in the message?
Thanks,
__
On Jul 17, 2010, at 10:45 AM, Joseph Ayers wrote:
>
> I get a link error:
>
> ld: warning: directory
> '/Users/lobster/Programming/Roboplasm/../../../core-plot/framework/build/Debug'
> following -F not found
>
> I can't find a reference to core-plot anywhere in the code. How do I
> interpre
On Sat, Jul 17, 2010 at 1:45 PM, Joseph Ayers wrote:
>
> ld: warning: directory
> '/Users/lobster/Programming/Roboplasm/../../../core-plot/framework/build/Debug'
> following -F not found
>
> I can't find a reference to core-plot anywhere in the code.
It's not coming from your code, it's a linke
I have an application I wrote for testing which has a WebView.
Everything works fine, however, I would like to be able to log the
HTTP Header Fields "Cookie" and "Set-Cookie".
I seem to be able to access and log every http header except the
cookie headers.
They don't even show up using [(NSURL
Hi all,
I am new to Cocoa programming and am trying to do something that I thought was
straightforward but not working. I am using the tag field of a button to tell
me what button is pushed. This code does not work
- (IBAction) numberPressed:(id)sender {
NSLog(@"Sender tag is:%d", [se
Steve Wetzel wrote:
if ([sender tag] << 10) {
The << operator is LEFT-SHIFT.
The < operator is LESS-THAN.
If you want to understand what your code is doing, think about what
happens when the numbers 0-9 are left-shifted by 10 bits.
-- GG
Hi all,
I'd like to change proxy settings in System Preferences (Network/
Advanced.../Proxies) programatically. I do not have problem to change
server and port, and also to disable/enable usage of proxy server for
required protocols – all these settings can be easilly done with
SystemConfi
Le 17 juil. 2010 à 12:19, Ken Thomases a écrit :
> On Jul 17, 2010, at 10:38 AM, Rafael Cerioli wrote:
>
>> Just out of curiosity, if there is communication between threads, even with
>> runloops, there must be a lock at some point ? To schedule something in the
>> main thread's runloop, you m
Hi there,
I have a very simple problem: I'd like to affect to a unichar variable the
value of the glyph é (or any non-ascii character).
If I (naively) write: "unichar foo = 'é';", I get a warning from the compiler
about multibyte const and it does not work.
I'd like to avoid twisted constructs
On Jul 17, 2010, at 1:16 PM, The Geezer wrote:
> I have an application I wrote for testing which has a WebView.
> Everything works fine, however, I would like to be able to log the HTTP
> Header Fields "Cookie" and "Set-Cookie".
> I seem to be able to access and log every http header except the c
On Jul 17, 2010, at 3:27 PM, Rafael Cerioli wrote:
> Ok, ok busted : I'm not much experienced ! That's precisely why I was
> writing to that list in the first place : trying to get knowledge more
> concrete than my intuitions, I thought that was the point.
Yes, but you pushed back whenever pe
On Jul 17, 2010, at 3:58 PM, vincent habchi wrote:
> I have a very simple problem: I'd like to affect to a unichar variable the
> value of the glyph é (or any non-ascii character).
>
> If I (naively) write: "unichar foo = 'é';", I get a warning from the compiler
> about multibyte const and it d
I have tried the [(NSURLRequest *)request allHeaderFields] in every
delegate which has request as a parameter but still get everything but
the cookie.
I get a warning on the compile and an error on the execute if I try
allHeaderFields or valueForHTTPHeaderField on a NSURLResponse.
But I am
Hi All,
I am customize NSComboBox such way that the Item List should show a 'Tick' mark
on left side of the item currently selected. Can anybody direct me to achieve
this task.
Thanks In Advance,
Nishad Kumar P
DISCLAIMER:
-
Steve,
Have you tried changing "<<" in your code to simply "<"? That may work.
- Carter Allen
On Jul 17, 2010, at 1:58 PM, Steve Wetzel wrote:
> Hi all,
>
> I am new to Cocoa programming and am trying to do something that I thought
> was straightforward but not working. I am using the tag fi
I have two situations where I want to combine two editable values into one
table column in an NSTableView:
- one is a checkbox and date picker (so you can check if you want to specify a
date, and edit the value if the checkbox is checked),
- and the other is a text field and a popup button whe
On 18/07/2010, at 3:45 AM, Joseph Ayers wrote:
>
> I get a link error:
>
> ld: warning: directory
> '/Users/lobster/Programming/Roboplasm/../../../core-plot/framework/build/Debug'
> following -F not found
Have you recently updated Xcode?I started getting this error on the latest
version. It
Keary,
Although I still get an xcode warning about NSURLResponse not
responding to "allHeaderFields" I DID get a response AND a Set-Cookie
when I saved the response and did the "allHeaderFields" in the
"didFinishLoadingFromDataSource" delegate. So you were right about the
timing. Now I w
On Sat, Jul 17, 2010 at 2:20 AM, Nishad Peruvana wrote:
> I am customize NSComboBox such way that the Item List should show a 'Tick'
> mark on left side of the item currently selected. Can anybody direct me to
> achieve this task.
NSComboBoxes do not behave this way.
What is the context for wa
Hi, I'm having trouble doing something I would have thought would be very
simple.
I have some columns in an NSTableView where I need to display NSButtonCells,
and I need the titles to be dynamic as the underlying data (in coredata)
changes. I can bind the value to an NSTextFieldCell and it all
On Jul 17, 2010, at 21:45, Gideon King wrote:
> I have some columns in an NSTableView where I need to display NSButtonCells,
> and I need the titles to be dynamic as the underlying data (in coredata)
> changes. I can bind the value to an NSTextFieldCell and it all works just
> fine, but when I
Thanks Quincey - here's the code:
[[resultsTableView
tableColumnWithIdentifier:@"startDateColumnIdentifier"] bind:@"title"
toObject:resultsArrayController
withKeyPath:@"arrangedObjects.topic.taskStartStringForPanel" options:nil];
If the cell for the column is an NSTextFieldCell, and th
On Jul 17, 2010, at 23:21, Gideon King wrote:
> [[resultsTableView
> tableColumnWithIdentifier:@"startDateColumnIdentifier"] bind:@"title"
> toObject:resultsArrayController
> withKeyPath:@"arrangedObjects.topic.taskStartStringForPanel" options:nil];
>
> If the cell for the column is an N
36 matches
Mail list logo