On 16/08/2011, at 17:37, Nick Zitzmann wrote:
> On Aug 16, 2011, at 12:44 PM, Siegfried wrote:
>
>> If not, how can I revert (mirror) the image coming from the camera?
>
> You have to implement that delegate method, and in the method, you can use a
> CoreImage filter t
It's the first time I'm dealing with QTKit, and up to the current moment I've
successfully created my preview for user's camera device, using QTCaptureView.
However, I'd like to let users choose between reverting the image coming from
their camera or not. And here's the problem. Maybe I'm missin
e the pause trying this. Now, I'm back to
>> the boring part ;-)
>>
>>
>> On 07/08/2011, at 14:12 , Siegfried wrote:
>>
>>>
>>> On 07/08/2011, at 10:52, Andre Masse wrote:
>>>
>>>> For those interested, Matt and Kyle we
On 07/08/2011, at 10:52, Andre Masse wrote:
> For those interested, Matt and Kyle were right. Helvetica Neue Bold 20pts.
> All my attempts to replicate the shadow have failed though. I'm using 85%
> white and it's good enough for me.
>
The shadow is just an "inner shadow". The problem is that
On 14/06/2011, at 13:42, Eric Schlegel wrote:
>
> On Jun 14, 2011, at 8:11 AM, Siegfried wrote:
>
>> …
>> I have a custom view that enters in full screen with
>> `enterFullScreenMode:withOptions:`. The dictionary passed includes a
>> NSApplicationPresentatio
however it was years ago, when
`enterFullScreenMode:withOption:` didn't even exist.
Any clues on how can I force the menu bar to hide?
Thanks!
Siegfried
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or m
On 09/06/2011, at 17:06, Quincey Morris wrote:
> On Jun 9, 2011, at 12:51, Siegfried wrote:
>
>> From the other items, I just need to retrieve their tags so I didn't connect
>> the action on the popup as it was an ivar already, and just created a
>> specifi
On 09/06/2011, at 16:40, Quincey Morris wrote:
> On Jun 9, 2011, at 11:43, Siegfried wrote:
>
>> …
>
> If the "Custom" item is just one of the popup's items (that is, there's no
> submenu involved)
No there isn't, but:
> then IIRC the p
Does anyone know if there is a way to get a pointer for the NSPopUpButton
containing a NSMenu containing a NSMenuItem, which is the IBAction sender?
I have multiple similar popups, and all of them have a "Custom…" menu item,
designated to hiding the popup and bringing more controls to the user.
On 29/05/2011, at 17:13, Siegfried wrote:
>
> When one of the literals is unsigned, the other is implicitly converted, and
> -1 is the highest int possible.
I'm sorry, I mean operands instead of
"literals"___
Cocoa-dev
On 29/05/2011, at 17:04, julius wrote:
> …
> The reason is that [zAry count] returns a result of type NSUInteger
Exactly.
> …
> Why might the Cocoa developers have chosen to do this?
> …
Not exactly Cocoa developers. In C, considering "uint" an unsigned int variable
set to -1, a statement l
On 13/05/2011, at 11:32, Mike Abdullah wrote:
> On 13 May 2011, at 15:01, Siegfried wrote:
>
>> But, I'm wondering if it's not too big for a simple task. What would you
>> suggest using? libcurl maybe? Does it provides better documentation than CK
>> (I
Hello all,
I'm working on a new app that needs to support FTP uploading. Searching over
the internet and cocoa-dev archives, looks like ConnectionKit is the right
framework to use.
But, I'm wondering if it's not too big for a simple task. What would you
suggest using? libcurl maybe? Does it pr
On 24/03/2011, at 12:24, Kyle Sluder wrote:
> On Wed, Mar 23, 2011 at 4:38 PM, WT wrote:
>> How about using a property list file instead? Easier to import and export,
>> and can be edited with tools such as Property List Editor, though your users
>> might not know how to use it, or even have it.
On 24/03/2011, at 13:13, Hank Heijink (Mailinglists) wrote:
> On Mar 24, 2011, at 12:06 PM, Siegfried wrote:
>
>> So, after discussing some methods to import and export a CoreData database,
>> I ended up sticking with my initial XML idea.
>> ...
>
> You need to co
So, after discussing some methods to import and export a CoreData database, I
ended up sticking with my initial XML idea.
Now I'm stuck in a problem when parsing that is probably simple, but I can't
solve. Basically, my XML is like this:
Value
Value
Value
Value
Value
rted." and generate a report in a file for the user to see which lines
> were dropped.
>
> If you go the XML route, I am almost sure you'll need a DTD for validation.
Yes, I'll have to do it. I think XML is the path to follow.
>
> I hope it helps...
Certainly Sir!
On 24/03/2011, at 08:52, Mike Abdullah wrote:
>
> On 23 Mar 2011, at 23:13, Siegfried wrote:
>
>> Also, now on the mechanics, I think creating a mutable string and go
>> appending parts of the XML in a loop is adequate for this task, and using
>> NSXMLParser t
On 23/03/2011, at 20:57, BareFeetWare wrote:
> On 24/03/2011, at 10:13 AM, Siegfried wrote:
>
>> I need to create an export / import system for my app, and just thought that
>> asking the list for some advices could help a lot.
>>
>> The CoreData databa
On 23/03/2011, at 20:55, WT wrote:
> On Mar 23, 2011, at 8:46 PM, Siegfried wrote:
>> On 23/03/2011, at 20:38, WT wrote:
>>> On Mar 23, 2011, at 8:13 PM, Siegfried wrote:
>>>> Hello,
>>>>
>>>> I need to create an export / import system for m
On 23/03/2011, at 20:38, WT wrote:
> On Mar 23, 2011, at 8:13 PM, Siegfried wrote:
>
>> Hello,
>>
>> I need to create an export / import system for my app, and just thought that
>> asking the list for some advices could help a lot.
>>
>> …
>
&
Hello,
I need to create an export / import system for my app, and just thought that
asking the list for some advices could help a lot.
The CoreData database I have is fairly simple. No relationships, only 3
entities with no more than 4 properties each: numbers and strings. So I think
exporting
On 29/12/2010, at 18:29, John Pannell wrote:
> Hi Siegfried-
>
> Consider making an NSValueTransformer subclass that converts the stored
> integer into the text you would like to see. You can then use the
> transformer in the binding to see the text you'd like. I impl
Hello,
I have an entity which has an integer property that represents a "mode". In
code, I created an enum with possible values, but now I need to bind a label to
that property. Obviously, it's not intent to show the number, but a text.
What's the best way to do this? Create a dictionary, or an
On 20/12/2010, at 14:39, Artemiy Pavlov wrote:
> Thanks for the help, Siegfried!
>
> My actualy code is here:
>
> NSMutableArray *Array;
>
> -(void)awakeFromNib{
>
>int x;
>Array = [NSMutableArray array];
>
>for(x=1;x<=9;x++){
>
On 20/12/2010, at 14:23, Artemiy Pavlov wrote:
> My apologies, the full code is this:
>
> int x;
> NSMutableArray *Array = [NSMutableArray arrayWithCapacity:9];
>
> for(x=1;x<=9;x++){
> NSTextField *PatternRateLabel = etc. etc.
> [Array addObject:PatternRateLabel];
> }
>
This line:
> [[A
On 20/12/2010, at 14:01, Artemiy Pavlov wrote:
>> Just create a NSMutableArray before the loop:
>>
>> NSMutableArray *array = [NSMutableArray arrayWithCapacity:16];
>>
>> And then add each field to the array right in the loop
>>
>> for (…) {
>> …
>> [array addObject:textField];
>> }
>
> Gr
On 20/12/2010, at 13:38, Artemiy Pavlov wrote:
> Now, I'd like to be able to access each one of these NSTextField objects to
> change their color. My question is, right in this loop, can I create some
> sort of an array of pointers to these objects?
Just create a NSMutableArray before the loop
On 20/12/2010, at 12:30, Artemiy Pavlov wrote:
> Hi all!
>
> I have a few text labels I created using NSTextField. However, all of them
> appear very aliased, as shown in the attached screenshot. Can anyone suggest
> me how I can fix this and turn on antialiasing for the text?
>
Sincerely, t
On 12/12/2010, at 21:01, Kyle Sluder wrote:
> On Sun, Dec 12, 2010 at 2:58 PM, Siegfried
> wrote:
>> On 12/12/2010, at 20:41, WT wrote:
>>
>>> Hello,
>>>
>>> according to the iOS 4.2 NSDateFormatter class documentation, the -init
>&
On 12/12/2010, at 20:41, WT wrote:
> Hello,
>
> according to the iOS 4.2 NSDateFormatter class documentation, the -init
> method is available in iOS 2.0 through iOS 3.2,
Sorry, but the init method? Just to confirm, where exactly in the documentation
did you read about this?
> but it does not
On 23/11/2010, at 19:00, Eric Gorr wrote:
> I just need a Label to send it's action to it's target when I click on it.
>
> …
>
> Not fully satisfied with this solution (I like to avoid subclassing unless
> absolutely necessary), I was wondering if there was a better way...?
>
Not sure about y
On 19/11/2010, at 12:38, Jonny Taylor wrote:
> …
>
> Can anybody comment on whether I am doing something strange here
Well I see something strange in here
> Sample code to demonstrate this in a fresh Cocoa project (main.m) with Xcode
> 3.2.1/gcc 4.2 is as follows:
>
> //==
> @proto
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
Hello,
For studying purposes (on recursion), I build a simple NSView subclass capable
of drawing a Sierpiński triangle.
The class has 2 helper methods to draw triangles and the fractal itself. The
former is quite simple, draws triangles given start point, height and width.
The latter, also sim
35 matches
Mail list logo