Thanks Ken - that did the trick.
On 8 Dec 2011, at 22:17, Ken Thomases wrote:
> On Dec 8, 2011, at 4:11 PM, Martin Linklater wrote:
>
>> Hi - I'm writing some OSX NSNetService code with ARC enabled, and I'm
>> getting the following compile error with the following c
Hi - I'm writing some OSX NSNetService code with ARC enabled, and I'm getting
the following compile error with the following code:
@property(strong) NSInputStream* inputStream;
@property(strong) NSOutputStream* outputStream;
- (void)netServiceDidResolveAddress:(NSNetService *)sender
{
[s
, at 15:04, Mike Abdullah wrote:
>
> On 7 Oct 2011, at 12:45, Martin Linklater wrote:
>
>> Hi - I'm writing an iOS client for an online retailer and I'm having trouble
>> with the way NSURL encodes square brackets. I'm building an http request
>> using a
are you working with
> them closely enough you can discuss getting their server to accept the
> encoded versions of '[' and ']' which are I think the correct way to send
> them.
>
> On Oct 7, 2011, at 7:45 PM, Martin Linklater wrote:
>
>> Hi - I'
Hi - I'm writing an iOS client for an online retailer and I'm having trouble
with the way NSURL encodes square brackets. I'm building an http request using
a string then converting it to a NSURL before calling [NSData
dataWithContentsOfURL].
The troblesome piece of the http path is: &prices[182
Thanks for the info guys.
The method below is working great.
On 29 Aug 2011, at 14:38, Marco Tabini wrote:
> Hi Martin—
>
> On 2011-08-29, at 9:11 AM, Martin Linklater wrote:
>
>> Thanks Marco. When I call representationUsingType I get this:
>>
>
>
NSData* data = [rep representationUsingType:NSPNGFileType
properties:nil];
*ERROR AS ABOVE*
8(
On 29 Aug 2011, at 13:59, Marco Tabini wrote:
> Hi Martin—
>
> On 2011-08-29, at 8:18 AM, Martin Linklater wrote:
>
>> Can anyone point me in the right direction as
Hi - I'm writing a texture atlasser and so far I have created an NSImage and
composited by sub-images onto it using:
-[NSImage drawAtPoint:fromRect:operation:fraction]
Now as I understand it the way to save the resulting NSImage to a PNG file is
to get the images 'representations' and and save
Thanks for the help guys. That makes a lot of sense now.
On 14 Apr 2011, at 01:53, Matt Neuburg wrote:
> On Wed, 13 Apr 2011 16:42:40 -0700, Chris Parker said:
>>> 2011-04-14 00:03:09.640 CRDev[18309:307] InGameViewController
>>> implementation of -viewDidUnload caused the view to be reloaded.
Hi - I'm working on latest iOS and when testing my code on an iPhone3G I
sometimes get this log output:
2011-04-14 00:03:08.920 CRDev[18309:307] InGameViewController - viewDidUnload
2011-04-14 00:03:09.223 CRDev[18309:307] InGameViewController - viewDidLoad
2011-04-14 00:03:09.640 CRDev[18309:307
Thanks for your replies guys - that makes a lot of sense now 8)
On 2 Mar 2011, at 12:06, Andreas Grosam wrote:
>
> On Mar 2, 2011, at 12:42 PM, Andreas Grosam wrote:
>
>> - (void) viewDidLoad {
>> [super viewDidLoad];
>>
>> // Create the button:
>> // ...
>>
>> [self performSelector:@
roperties documented as "animatable". Try adding your
> subview to its superview with an alpha of 0.0 and then animating the alpha to
> 1.0.
>
> Luke
>
> On Mar 1, 2011, at 8:32 AM, Martin Linklater wrote:
>
>> Hi - I'm having trouble getting Core Animation to
Hi - I'm having trouble getting Core Animation to animate a UIButton appearing
on my parent view. My old code did this:
[self.view addSubview:newButton];
The button appeared straight away and works fine. Now, I'm trying to animate
the appearance of this button and I just can't seem to get it w
Hi - I'm having trouble binding my table column to a key in my
NSArrayController.
My NSArrayController is set to control an array of NSMutableDictionary
objects. This array controller has its contentsArray bound to the
'actualArray' (NSMutableArray) of my class object. When I set the
bind
Doh! You're right if course. How about using removeSelectedIndexes:?
Should be faster than sorting the contents before removing them,
Thanks.
'removeObjectsAtArrangedObjectIndexes' does the job nice and quickly.
___
Cocoa-dev mailing list (Cocoa-dev
I would think that
[itemBrowserArrayCTRL removeAllObjects];
would be your best. By calling arrangedObjects and feeding it to
removeObjects:, you're causing your array to sort all 15000 entries
before it removes them individually.
NSArrayController doesn't have a removeAllObjects method...
HI. I have an NSArrayController which has over 15000 entries. When I
clear the array using
[itemBrowserArrayCTRL removeObjects:[itemBrowserArrayCTRL
arrangedObjects]];
it takes a long time... like 10+ seconds on my MacBook Pro.
Is there a quicker way of clearing the contents ?
Hi. My Core Data Application is producing 'Incompatible model
configuration' errors which don't make sense to me Anyone got any
ideas ...?
My Application contains 4 data models - OptDataDump, Market, Local and
EVEAPI. Each of the entities in the data models are set to have the
configu
On 7 Mar 2008, at 23:13, Martin Linklater wrote:
Hi - I'm having some problems with MOM configurations. I have been
playing about with some data models and have duplicated and renamed
one. When I initialise the MOM using the datamodel name I get
results that don't make sense
Hi - I'm having some problems with MOM configurations. I have been
playing about with some data models and have duplicated and renamed
one. When I initialise the MOM using the datamodel name I get results
that don't make sense. Here's a snippet of my code:
NSURL* dataDumpURL = [[NSURL alloc
No matter what I select I don't get the formatter circle. I've seen
formatter circles before, so know what they look like. Is there
something special about these auto-generated Core Data tables that
stops what you describe working ?
My apologies - I seem to have found it now. Thank you ve
On 3 Mar 2008, at 21:10, Quincey Morris wrote:
Select the table column (which takes 3 clicks if you're starting at
the top level). Click again to select the table column cell. You
should see a little circle that represents the formatter. Click on
the circle to select it and press Delete t
HI - I have what seems a silly question, but I can't seem to find an
answer. I have a window in IB which contains a 'Core Data Entity'
table view. This pre-built table has a number of columns, some
contained strings and some containing integers. What I want to do is
change the binding of on
23 matches
Mail list logo