Check out Matt Gemmell's MAAttachedWindow:
http://mattgemmell.com/2007/10/03/maattachedwindow-nswindow-subclass
--Andy
On Mar 28, 2011, at 9:24 PM, Brian Froisy wrote:
I want to duplicate UI functionality that appears in several Apple products.
I have not been able to determine if there is
I don't know if this is the correct forum, so please advise if there is a more
suitable one.
I have developed a little program (a screensaver, actually).
When I send it (just the .saver bundle as-is) to some beta testers via email,
everything seems to be fine.
But when I put it in a DMG, some
On Mar 28, 2011, at 22:54, Ken Thomases wrote:
Do either of you really mean for that property to be read-write?
I can see making a property read-write with an immutable type, and I can see
(although I don't particularly like) making a read-only property return a
mutable type. (Having
Do you know what the testers reporting the issue have all in common?
Have you asked them to check the Console logs?
On Tue, Mar 29, 2011 at 9:22 AM, Gabriel Zachmann z...@tu-clausthal.de wrote:
I don't know if this is the correct forum, so please advise if there is a
more suitable one.
I
Do you know what the testers reporting the issue have all in common?
I am afraid, no. One of them is running 10.5, one is on 10.6.7.
G.
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list
On 29.03.2011, at 09:22, Gabriel Zachmann wrote:
But when I put it in a DMG, some testers (not all) can't install it!
They get the error message You cannot use the screen saver on this computer.
Contact the developer ...
If you didn't say it works when you distribute as a ZIP, I'd expect
There isn't right now, but there could be within a couple of months ;-)
--Graham
On 29/03/2011, at 12:24 PM, Brian Froisy wrote:
I want to duplicate UI functionality that appears in several Apple products.
I have not been able to determine if there is a standard view (window, panel,
etc.)
On Mar 29, 2011, at 05:49 AM, Uli Kusterer witness.of.teacht...@gmx.net wrote:
On 29.03.2011, at 09:22, Gabriel Zachmann wrote:
But when I put it in a DMG, some testers (not all) can't install it!
They get the error message You cannot use the screen saver on this computer.
Contact the
Will do, thanks.
On 2011-03-28, at 1:15 PM, Aki Inoue wrote:
Looks like an issue with us.
Please file a bug with the reproducing steps.
Thanks,
Aki
On 2011/03/25, at 21:50, Indragie Karunaratne wrote:
I'm having a really weird issue with NSSearchField at the moment. Whenever
I'm working my way through Apple's Validating App Store Receipts, and I can
extract all the data, compute the digest and compare it against the hash. But
now I am stuck converting the OCTET_STRING_t for the bundle_id in the Receipt
to an NSString so I can compare it against my applications
On Mar 29, 2011, at 10:15, Andy Lee wrote:
On Mar 29, 2011, at 05:49 AM, Uli Kusterer witness.of.teacht...@gmx.net
wrote:
On 29.03.2011, at 09:22, Gabriel Zachmann wrote:
But when I put it in a DMG, some testers (not all) can't install it!
They get the error message You cannot use the
In particular, the beginning of the OCTET_STRING_t's buffer begins with two
bytes (decimal values 12 and 21). Am I supposed to skip these? For example,
the following code where I skip these first two bytes seems to work, but it
seems like a big hack:
OK, it seems that the second byte (21
On Tue, Mar 29, 2011 at 12:24 PM, Todd Heberlein todd_heberl...@mac.com wrote:
In particular, the beginning of the OCTET_STRING_t's buffer begins with two
bytes (decimal values 12 and 21). Am I supposed to skip these? For example,
the following code where I skip these first two bytes seems to
Ka ching! Yes, this answer is what I am looking for. Thanks!!!
Todd
On Mar 29, 2011, at 10:50 AM, Stephen J. Butler wrote:
On Tue, Mar 29, 2011 at 12:24 PM, Todd Heberlein todd_heberl...@mac.com
wrote:
In particular, the beginning of the OCTET_STRING_t's buffer begins with two
bytes
On Tue, Mar 29, 2011 at 12:48 PM, Todd Heberlein todd_heberl...@mac.com wrote:
In particular, the beginning of the OCTET_STRING_t's buffer begins with two
bytes (decimal values 12 and 21). Am I supposed to skip these? For example,
the following code where I skip these first two bytes seems to
Mornin' Devs,
Is there a recommended pattern for passing events up the responder chain
without subclassing a class and overriding the methods I'm interested in?
Here is an explanation of what I'm trying to do:
I have a subclass of UIButton, call it MyButton, that I would like to
function as a
On Mar 29, 2011, at 11:20 AM, Lou Zell wrote:
Mornin' Devs,
Is there a recommended pattern for passing events up the responder chain
without subclassing a class and overriding the methods I'm interested in?
Here is an explanation of what I'm trying to do:
There is a certain question of
Right I think NSLayoutManager will solve my problem.
Lots of things in that class.
Thanks all!
Thomas
On 28 mars 2011, at 21:17, Aki Inoue wrote:
The default line height used by the Cocoa Text System is based on various
layout time configurations. So, the differences you're seeing is coming
On 29 Mar 2011, at 19:00, Stephen J. Butler wrote:
Again, I think using lber is the best way to handle this data :) I
can't remember why, but once upon a time I wrote an encoder/decoder
and had to learn all the subtitles.
liblber can only decode the restricted BER defined for use with LDAP.
On 29 Mar 2011, at 12:26 PM, Chris Ridd wrote:
liblber can only decode the restricted BER defined for use with LDAP. In
particular, no indefinite length encoding, strings can't be constructed, etc.
The lber-decode man page mentions this at the top.
Given this is all likely to be part of
On Mar 29, 2011, at 12:54 PM, Wim Lewis wrote:
If the security data is in DER, then lber's restricted subset of BER might
still suffice. (I haven't looked.)
But yes, linking openssl and using d2i_ASN1_type_bytes() and either
ASN1_STRING_to_UTF8() or mapping the ASN.1 string types to
Am 28.03.2011 um 20:06 schrieb Sean McBride:
Are you aware that starting in 10.6, the OS provides 'file reference
URLs' which are much like FSRefs. See:
http://developer.apple.com/library/mac/#releasenotes/Cocoa/
Foundation.html
Good to know. I'm very interested in your experience
On Mar 29, 2011, at 13:03, Todd Heberlein wrote:
I thought my Mac Cocoa program was pretty much done, and that all I needed to
do was check off a box in Xcode's packaging or Apple's iTunes Connect web
site saying I want copy protection.
FWIW, my understanding of the reason it doesn't work
On Mar 29, 2011, at 1:24 PM, Quincey Morris wrote:
FWIW, my understanding of the reason it doesn't work that way is this:
...
That is pretty much what the Apple documentation says. I felt that they were
saying, This is left as an exercise for the reader. :)
The hacker community has had
Filed as rdar://9202933.
On 2011-03-29, at 11:21 AM, Indragie Karunaratne wrote:
Will do, thanks.
On 2011-03-28, at 1:15 PM, Aki Inoue wrote:
Looks like an issue with us.
Please file a bug with the reproducing steps.
Thanks,
Aki
On 2011/03/25, at 21:50, Indragie Karunaratne
David, Matt,
Thanks for the responses and pointing me towards UIControlEvents.
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
[[self nextResponder] touchesBegan:touches withEvent:event];
}
Don't do that. The way to pass touches up the responder chain is by calling
Hi All,
Some users are complaining that my application (MacHg) is causing their
MacBooks to switch from using the integrated Intel (lower power) card to the
NVIDIA (higher power) graphics card.
Eg some related articles I dug up:
Le 29 mars 2011 à 22:04, Peter Lübke a écrit :
Am 28.03.2011 um 20:06 schrieb Sean McBride:
Are you aware that starting in 10.6, the OS provides 'file reference
URLs' which are much like FSRefs. See:
http://developer.apple.com/library/mac/#releasenotes/Cocoa/Foundation.html
Good
On Mon, 28 Mar 2011 20:24:59 -0500, Brian Froisy said:
I want to duplicate UI functionality that appears in several Apple
products. I have not been able to determine if there is a standard view
(window, panel, etc.) to do this. It is a panel with a side arrow such
as the list seen when
On Mar 29, 2011, at 3:16 PM, Jason Harris wrote:
Hi All,
Some users are complaining that my application (MacHg) is causing their
MacBooks to switch from using the integrated Intel (lower power) card to the
NVIDIA (higher power) graphics card.
Eg some related articles I dug up:
Hi all,
Consider a Core Data app, with Employee and Department entities. The
Employee entity has 'name' and 'number' attributes. Department has a to-
many relationship to Employees.
I need a tableview of departments, where one column should show the
'name' of the employee who's 'number' is 0.
Am 29.03.2011 um 23:26 schrieb Jean-Daniel Dupas:
Am 28.03.2011 um 20:06 schrieb Sean McBride:
Are you aware that starting in 10.6, the OS provides 'file reference
URLs' which are much like FSRefs. See:
http://developer.apple.com/library/mac/#releasenotes/Cocoa/
Foundation.html
Good
On Mar 29, 2011, at 11:36 PM, Nick Zitzmann wrote:
On Mar 29, 2011, at 3:16 PM, Jason Harris wrote:
Hi All,
Some users are complaining that my application (MacHg) is causing their
MacBooks to switch from using the integrated Intel (lower power) card to the
NVIDIA (higher power)
Are you sure you're building the application the same way for both cases? If
one's a debug build and the other is a release build, then that could explain
that you're not getting all architectures in one case.
Yes, I am sure about that.
I built the screensaver, then put this very screensaver
1.double click to start my application (no additional command-line
arguments).
2.and start application from command-line with additional arguments.
3.i got wrong arguments
NSArray * argvs = [[NSProcessInfo processInfo] arguments];
argvs = (
Hi,
in IB I placed a horizontal line (NSBox) into my window. Now I want to change
the appearance of this line in my code.
In my delegate class I defined an IBOutlet NSBox *line and linked it in IB with
the correspondending horizontal line.
In the applicationDidFinishLaunching: method I change
countForFetchRequest seems to bog down on really big collections of
entities. For approx 170K entities it takes around 10 seconds on an iPhone
3GS to count them, which is a problem in a UITableView where you are trying
to display a list of entities and associated counts.
A GCD based solution,
I am new to Objective-C so please forgive me if this is obvious.
I come from Ruby, where extending built in classes is straight forward - you
do it, and it works. I expected the same in Obj-C but got a confusing
result: It works sometimes, but not others.
Here is what I did:
1 - Created a
On Tue, Mar 29, 2011 at 9:55 AM, Haibin Liu lhb...@gmail.com wrote:
NSArray * argvs = [[NSProcessInfo processInfo] arguments];
argvs = (
/Users/sara/studio/client/bin/Debug/Test.app/Contents/MacOS/Test,
-psn_0_2392648
)
The -psn_* argument is added by launch services. You'll have to
On Tue, Mar 29, 2011 at 6:16 PM, Jason Harris ja...@jasonfharris.com wrote:
Ahhh... yes I use core animation, but just very very lightly... some simple
static stuff like:
You might want to consider eschewing Core Animation. DVCSes are
particularly well-suited to use cases such as a laptop on a
On Mar 29, 2011, at 12:37, Dominic Dauer wrote:
in IB I placed a horizontal line (NSBox) into my window. Now I want to change
the appearance of this line in my code.
In my delegate class I defined an IBOutlet NSBox *line and linked it in IB
with the correspondending horizontal line.
In
On Tue, Mar 29, 2011 at 5:16 PM, WT jrca...@gmail.com wrote:
On Mar 29, 2011, at 4:25 PM, Matt Neuburg wrote:
On Tue, 29 Mar 2011 11:20:31 -0700, Lou Zell lzel...@gmail.com said:
I have a subclass of UIButton, call it MyButton, that I would like to
function as a vanilla UIButton but also
For thread-safety's sake why don't you just create a separate
NSManagedObjectContext for your asyncTask? They are cheap.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Tue, Mar 29, 2011 at 4:38 PM, Steve Mykytyn smyky...@gmail.com wrote:
43 matches
Mail list logo