• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Cocoa equivalent for SetWindowProperty in Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Cocoa equivalent for SetWindowProperty in Carbon


  • Subject: RE: Cocoa equivalent for SetWindowProperty in Carbon
  • From: Sanjay Arora <email@hidden>
  • Date: Thu, 19 Apr 2012 11:40:23 +0530
  • Thread-topic: Cocoa equivalent for SetWindowProperty in Carbon

I am creating the NSWindow programmatically, and does not have a
NSWindowController. I want to associate some model with the window. I am
not using NSDocument. In Carbon, SetWindowProperty allowed me to set the
model with the window. But I don't find anything in Cocoa.

May be the controller which is used to create the window could be
associated with the NSWindow. How?

Regards
Sanjay

-----Original Message-----
From: Chris Hanson [mailto:email@hidden]
Sent: 19 April 2012 8:32 AM
To: Sanjay Arora
Cc: email@hidden
Subject: Re: Cocoa equivalent for SetWindowProperty in Carbon

What end goal do you want to accomplish with an equivalent to
SetWindowProperty?

There isn't necessarily a 1:1 correspondence between API in different
frameworks; describing your desired goal is more likely to lead to a
solution.

  -- Chris

On Apr 17, 2012, at 11:53 PM, Sanjay Arora <email@hidden> wrote:

> Hi I am a newbie on Cocoa application development and could not find
any
> method in NSWindow which does the same job as SetWindowProperty used
to
> do in Carbon,
>
> Could some one point me to right direction.
>
> Thanks
> Sanjay
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Cocoa equivalent for SetWindowProperty in Carbon
      • From: Graham Cox <email@hidden>
    • Re: Cocoa equivalent for SetWindowProperty in Carbon
      • From: Charles Srstka <email@hidden>
References: 
 >Displaying '%' in the UI (From: The Rhythmic <email@hidden>)
 >Re: Displaying '%' in the UI (From: Velocityboy <email@hidden>)
 >Cocoa equivalent for SetWindowProperty in Carbon (From: Sanjay Arora <email@hidden>)
 >Re: Cocoa equivalent for SetWindowProperty in Carbon (From: Chris Hanson <email@hidden>)

  • Prev by Date: Core Data : Rare, unreproducible SQLite Constraint Error 19
  • Next by Date: How can I prevent UITableViewRowAnimationAutomatic to slide down my UISearchBar?
  • Previous by thread: Re: Cocoa equivalent for SetWindowProperty in Carbon
  • Next by thread: Re: Cocoa equivalent for SetWindowProperty in Carbon
  • Index(es):
    • Date
    • Thread