On Jan 26, 2011, at 5:29 PM, Luca Tarozzi wrote:
> I am new to cocoa and objective C.
Hi and welcome to Cocoa! I'm sure you'll have fun! The learning curve at the
start is a bit steep, but don't worry, it'll get easier after a while :-)
> I am looking for a way to handle events for a NSView cre
On Jan 27, 2011, at 10:28 AM, Uli Kusterer wrote:
> The thing to keep in mind when creating views programmatically is that
> they're just normal objects, so you just create them, use addView to insert
> them in the hierarchy on the screen
That should of course be addSubview:. I blame lack of te
Hi All,
I want to process pixel image from video frame to display it in realtime on
preview.
The input is comming from camera using AVFoundation Frameworks.
Anyone can help me,please..
Can i do it in realtime while the camera capturing video frame by frame and the
image processing method works in
Uli,
Thanks for your patient!
I know that this snippet seems without any sense; my point is only on
"handling events". I was trying to handle a drawRect: on a view created
dynamically.
Let me explain: I come from .NET, where there is a completely different
approach, especially about creating cont
Hi All,
I want to process pixel image from video frame to display it in realtime on
preview.
The input is comming from camera using AVFoundation Frameworks.
Anyone can help me,please..
Can i do it in realtime while the camera capturing video frame by frame and the
image processing method works in
On 26.01.2011, at 19:08, Kyle Sluder wrote:
> On Wed, Jan 26, 2011 at 10:07 AM, Kyle Sluder wrote:
>> Start here:
>
> Actually, start with either NSZombieEnabled=YES or using the Zombies
> instrument. And then move on to Greg's article if zombies don't help
> you.
>
> --Kyle Sluder
Thank you
Hi,
I am having trouble setting the size of the "call out bubble" on my
viewForAnnotation protocol. How can I set the frame size of the call out?
This line has no effect:
[callout setFrame:CGRectMake(0, 0, 240, 240)];
Here is my code:
- (MKAnnotationView *)mapView:(MKMapView *)MapView viewFor
> Well, no. 'error' is an OUTPUT ONLY pointer. Specifically, on entry:
>
> 1. 'error' is either NULL (no error information should be returned), or a
> valid address to return a NSError* into, if an error occurs
> 2. '*error' is trash (<-- subtle, but important)
>
> On output:
>
> 1. If 'error' was
Hello,
I am trying to open an NSDocument based window.My NSDocument class
follows the standard (MyDocument) class created using the automatic project
settings. I do initialization in the awakeFromNib override within MyDocument.
To create the document I use:
id myDocument = [[NSD
On 27.01.2011, at 14:54, Bruce Cresanta wrote:
> Hello,
>
> I am trying to open an NSDocument based window.My NSDocument class
> follows the standard (MyDocument) class created using the automatic project
> settings. I do initialization in the awakeFromNib override within
> MyDocum
Is there a particular reason why you need to create your own tab bar controller
class rather than using the default one?
And as for image scaling, I don't believe UITabBarItems actually scale the
images to fit. I seem to recall at one point having an image that was a little
too big and seeing i
On Jan 26, 2011, at 9:21 AM, David DelMonte wrote:
> Hi all, I am trying to develop a core data model to meet a language grammar.
>
> In this grammar, there are verbs, tenses and persons. (There are also voices
> - but my brain cannot hear them right now:) )..
>
> One scenario is to have the
I would like to have either an action occur that's linked to a double-tap in a
UITableViewCell subclass *or* the action specified by the
...didSelectRowAtIndexPath:... method of the owning UITableView, but not both.
I've encountered some problems with each approach I've tried.
- Having the tab
I am trying to redirect requests to a new window.I
set the UIDelegate and implement the method:
- (WebView *)webView:(WebView *)sender createWebViewWithRequest:(NSURLRequest
*)request
The request parameter is always coming across as nil when I select a link in
the WebView that targets
On Jan 27, 2011, at 7:14 AM, Phillip Mills wrote:
> I would like to have either an action occur that's linked to a double-tap in
> a UITableViewCell subclass *or* the action specified by the
> ...didSelectRowAtIndexPath:... method of the owning UITableView, but not
> both. I've encountered
On 2011-01-27, at 10:42 AM, Luke Hiesterman wrote:
> What is this gesture recognizer you speak of pulling out of the table view?
> Table view does not use gestures for selection, but you're right that even if
> it did, you shouldn't mess with it.
For solely educational purposes, I made the (ap
Is that the full HTML?
On 27 Jan 2011, at 15:30, Bruce Cresanta wrote:
> I am trying to redirect requests to a new window.I
> set the UIDelegate and implement the method:
>
> - (WebView *)webView:(WebView *)sender createWebViewWithRequest:(NSURLRequest
> *)request
>
> The request pa
No,
I just meant to be brief. The HTML is as it appears in the links in
the webpage, so they are complete with href.
On Jan 27, 2011, at 9:36 AM, Mike Abdullah wrote:
> Is that the full HTML?
>
> On 27 Jan 2011, at 15:30, Bruce Cresanta wrote:
>
>> I am trying to redire
Hi Leon, Kyle,
I have been told that ImageIO on iOS does not have RAW decoders. (Kyle knows
that it does on the desktop.) It's still possible to display something when the
file has an embedded JPEG thumb, which most RAW files do. I'm not sure what the
mechanism is, but ImageIO on the desktop do
If you come from Microsoft or like me GTK (which are somewhat alike), your
going to have a hard time (as I did) adjusting to the use of the NIB (which
very much feels like - does not function like - the old MFC RES files) with two
fundamental differences.
1) You can use custom classes in the
My needs were to launch such windows in the default web browser rather
than any of my own windows, but I believe you'd do something similar by
using WebPolicyDelegate and add the method
-webView:decidePolicyForNewWindowAction:request:newFrameName:decisionListen
er:
Depending on further needs, you
On Jan 27, 2011, at 8:17 AM, Phillip Mills wrote:
> On 2011-01-27, at 10:42 AM, Luke Hiesterman wrote:
>
>> What is this gesture recognizer you speak of pulling out of the table view?
>> Table view does not use gestures for selection, but you're right that even
>> if it did, you shouldn't mess
On 2011-01-27, at 1:06 PM, Luke the Hiesterman wrote:
> Knowing that it failed would require a subclass.
Thanks. I'll keep that in mind.
For now, it seems as if application-specific notifications sent from the cells
on single and double taps, combined with ignoring the select in my
UITableVie
On Thu, 27 Jan 2011 08:01:02 -0500, Philip Vallone
said:
>Hi,
>
>I am having trouble setting the size of the "call out bubble" on my
>viewForAnnotation protocol. How can I set the frame size of the call out?
>
>This line has no effect:
>
>[callout setFrame:CGRectMake(0, 0, 240, 240)];
>
>Here is
On Thu, 27 Jan 2011 11:17:59 -0500, Phillip Mills said:
>I'm not sure how that works. If my target action is called, then the double
>succeeded but how would I know it failed except through a dependent single
>succeeding? Should I be looking at the UIGestureRecognizerDelegate for that?
Sorry,
On Jan 27, 2011, at 05:36, Jim Thomason wrote:
> No, not quite. More accurately I was assuming that error is explicitly
> a pointer to nil upon entry (or, I suppose, a pointer to some other
> valid NSError that appeared from somewhere and was handed through to
> us).
I was a bit sloppy in my term
On Jan 27, 2011, at 05:54, Bruce Cresanta wrote:
> I am trying to open an NSDocument based window.My NSDocument class
> follows the standard (MyDocument) class created using the automatic project
> settings. I do initialization in the awakeFromNib override within
> MyDocument.
>
>
On Thu, Jan 27, 2011 at 8:58 AM, Ken Ferry wrote:
> Hi Leon, Kyle,
>
> I have been told that ImageIO on iOS does not have RAW decoders. (Kyle knows
> that it does on the desktop.) It's still possible to display something when
> the file has an embedded JPEG thumb, which most RAW files do. I'm no
> but that doesn't magically turn it into the callout
Well that explains it :)
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 at cocoa-dev-adm
Hi Bill,
On Fri, Jan 28, 2011 at 4:51 AM, Bill Bumgarner wrote:
> You have measured a situation where the pattern's marginal slowness actually
> matters?
No, of course not; I don't have a real world use case for it and, I
suspect, neither does anyone else.
> A Block_copy() is going to often be
Hello,
I have and NSDocument based application with the standard MyDocument document.
I have a view declared as an IBOutlet in the document and use IB to hook up
the view variable to the contentView of the window that gets created.When I
put a log message in awakeFromNib, it gets called
Does something in your application load another nib file which has your
MyDocument as the file's owner?
Gideon
On 28/01/2011, at 10:43 AM, Bruce Cresanta wrote:
> Hello,
>
> I have and NSDocument based application with the standard MyDocument
> document.I have a view declared as an IBOutl
Hello,
No, I only have one .xib file called MyDocument.
Bruce
On Jan 27, 2011, at 5:46 PM, Gideon King wrote:
> Does something in your application load another nib file which has your
> MyDocument as the file's owner?
>
> Gideon
>
> On 28/01/2011, at 10:43 AM, Bruce Cresanta wrote:
>
Hello,
I verified that it is something peculiar to my project by creating
another document based app and inserting awakeFromNib with a log message.
It's definitely my code somewhere.
Bruce
On Jan 27, 2011, at 5:56 PM, Bruce Cresanta wrote:
> Hello,
>
> No, I only have one .xib fil
On Jan 27, 2011, at 16:43, Bruce Cresanta wrote:
> I have and NSDocument based application with the standard MyDocument
> document.I have a view declared as an IBOutlet in the document and use IB
> to hook up the view variable to the contentView of the window that gets
> created.When I
Quincey,
I have an NSDocument instance in my IB! It was the only way I could
hook up a connection to a controlView for the window that gets created for the
document.
Do you know a way to programmatically retrieve the controlView for the window
that gets created for the documen
I removed the instance of MyDocument in the nib. awakeFromNib only fires once
now! Still have one problem... I need to get to the control view
programmatically for the window that gets created.Before I used and IB
connection to an NSView IBOutlet.This can't happen obviously becaus
On Thu, Jan 27, 2011 at 5:10 PM, Bruce Cresanta wrote:
> I have an NSDocument instance in my IB! It was the only way I could
> hook up a connection to a controlView for the window that gets created for
> the document.
>
> Do you know a way to programmatically retrieve the controlView for
On Jan 27, 2011, at 17:10, Bruce Cresanta wrote:
> I have an NSDocument instance in my IB! It was the only way I could
> hook up a connection to a controlView for the window that gets created for
> the document.
>
> Do you know a way to programmatically retrieve the controlView for the w
Thank you!
I'm trying your suggestions now.
Bruce
On Jan 27, 2011, at 6:28 PM, Quincey Morris wrote:
> On Jan 27, 2011, at 17:10, Bruce Cresanta wrote:
>
>> I have an NSDocument instance in my IB! It was the only way I could
>> hook up a connection to a controlView for the window that ge
Quincey,
Presto. The Files owner connections do the trick.My program works
flawlessly now.
Thank you!
Bruce
On Jan 27, 2011, at 6:33 PM, Bruce Cresanta wrote:
> Thank you!
>
> I'm trying your suggestions now.
>
> Bruce
> On Jan 27, 2011, at 6:28 PM, Quincey Morris wrote:
>
>>
Safari has a really nice "Find" bar that scrolls down from the title pane of
the window. I'd like to do something like that in an application that I'm
developing but I can't find out whether that's generally available and how to
use it.
Further, I'd like to be able to highlight the found text
On 2011 Jan 27, at 19:43, Ben Golding wrote:
> Safari has a really nice "Find" bar that scrolls down from the title pane of
> the window. I'd like to do something like that in an application that I'm
> developing but I can't find out whether that's generally available and how to
> use it.
We
43 matches
Mail list logo