Re: How can I make a window just like the Anxiety App?

2011-02-21 Thread Bavarious
On 21/02/2011, at 02:53, Graham Cox wrote:
> While I have wholeheartedly recommended BWToolKit in the past, a word of 
> warning: If you use it "as is" your app will fail App Store approval due to 
> use of undocumented/private API.
> 
> I've contacted Brandon about this but haven't heard back.

You might want to read this thread:

http://bwalkin.lighthouseapp.com/projects/36323-bwtoolkit/tickets/72


-- Bavarious___

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-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: How can I make a window just like the Anxiety App?

2011-02-21 Thread 23Labs
Thanks all. You're quite helpful.

I'm quite new to Mac development, I don't even know about bwtoolkit. It's a
very cool and helpful plugin.
If I use bwtoolkit in my app, do I violate Mac App Store's term if I submit
it to the store?
___

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-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: How can I make a window just like the Anxiety App?

2011-02-21 Thread Gleb Dolgich
I created a fork of BWToolkit with an added target for Mac App Store which has 
private APIs conditionally removed; our app Decloner that uses it is in the App 
Store.

https://github.com/glebd/bwtoolkit

-- 
Gleb Dolgich
PixelEspresso
http://www.pixelespressoapps.com


On 21 Feb 2011, at 05:53, Graham Cox wrote:

> While I have wholeheartedly recommended BWToolKit in the past, a word of 
> warning: If you use it "as is" your app will fail App Store approval due to 
> use of undocumented/private API.
> 
> I've contacted Brandon about this but haven't heard back.
> 
> --Graham
> 
> 
> 
> 
> On 21/02/2011, at 4:48 PM, Tito Ciuro wrote:
> 
>> Take a look at this too. Lots of goodies:
>> 
>> http://brandonwalkin.com/bwtoolkit/
>> 
>> -- Tito
> 
> ___
> 
> 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-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/gleb%40proggle.com
> 
> This email sent to g...@proggle.com

___

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-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: How can I make a window just like the Anxiety App?

2011-02-20 Thread Kyle Sluder
On Sun, Feb 20, 2011 at 9:39 PM, John Joyce  wrote:
> See how here:
> http://tinyurl.com/67r8oaz

I don't believe a custom window is necessary for this.

You can use -[NSWindow standardWindowButton:] with the
NSWindowDocumentIconButton to get a handle to the button that draws
the proxy icon and window title. You can call -superview on this
button to get access to the window frame's view. Remove the document
icon button from its superview and put your own NSPopupButton in the
correct place. (I'd hesitate to reuse the default one, even if it
turns out to be an NSPopupButton.)

The same -superview trick can be used to put an icon in the
upper-right corner of the window. The black HUD appearance looks like
the standard HUD palette appearance. The controls within look like
BWToolkit.

--Kyle Sluder
___

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-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: How can I make a window just like the Anxiety App?

2011-02-20 Thread Graham Cox
While I have wholeheartedly recommended BWToolKit in the past, a word of 
warning: If you use it "as is" your app will fail App Store approval due to use 
of undocumented/private API.

I've contacted Brandon about this but haven't heard back.

--Graham




On 21/02/2011, at 4:48 PM, Tito Ciuro wrote:

> Take a look at this too. Lots of goodies:
> 
> http://brandonwalkin.com/bwtoolkit/
> 
> -- Tito

___

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-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: How can I make a window just like the Anxiety App?

2011-02-20 Thread Tito Ciuro
Take a look at this too. Lots of goodies:

http://brandonwalkin.com/bwtoolkit/

-- Tito

On Feb 20, 2011, at 2:51 AM, 23Labs wrote:

> You can see the screenshot
> here
> .
> Anxiety app has a window title which can be clicked and then popups a menu
> list.
> I can't find any clue in IB. There seems no way we can customize the window
> title bar in IB.
> So how can I achieve this?
> 
> 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-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/tciuro%40mac.com
> 
> This email sent to tci...@mac.com

___

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-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: How can I make a window just like the Anxiety App?

2011-02-20 Thread John Joyce

On Feb 20, 2011, at 7:51 PM, 23Labs wrote:

> You can see the screenshot
> here
> .
> Anxiety app has a window title which can be clicked and then popups a menu
> list.
> I can't find any clue in IB. There seems no way we can customize the window
> title bar in IB.
> So how can I achieve this?
> 
> Thanks.
> ___


See how here:
http://tinyurl.com/67r8oaz
___

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-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com