|
Re: UIDocumentInteractionController with non-standard file types
Have you tried it on a real device to see if there is any difference in
Have you tried it on a real device to see if there is any difference in
|
By
Steve Christensen
·
#54
·
|
|
UIDocumentInteractionController with non-standard file types
My iOS app has 2 custom UTIs declared in the Imported UTIs section, and 3 Document Types (those 2, plus pdf). When I try to share a file (doesn't matter if the URL's UTI is one of the custom types or
My iOS app has 2 custom UTIs declared in the Imported UTIs section, and 3 Document Types (those 2, plus pdf). When I try to share a file (doesn't matter if the URL's UTI is one of the custom types or
|
By
Steve Mills
·
#53
·
|
|
Printing NSTextView puts text in middle of page - Solved
Sorry for noise. Found the solution 5mins after I sent the email.
Mark
Sorry for noise. Found the solution 5mins after I sent the email.
Mark
|
By
tridiak
·
#52
·
|
|
Re: NSInteger and NSUInteger
Xcode list 2013:
Date: Sun, 17 Nov 2013 15:38:22 -0500From: Andy Lee <aglee@...>To: "Gerriet M. Denkmann" <gerriet@...>Cc: Xcode Users <xcode-users@...>Subject: Re: printing NSUInteger in
Xcode list 2013:
Date: Sun, 17 Nov 2013 15:38:22 -0500From: Andy Lee <aglee@...>To: "Gerriet M. Denkmann" <gerriet@...>Cc: Xcode Users <xcode-users@...>Subject: Re: printing NSUInteger in
|
By
dhoerl
·
#51
·
|
|
Re: NSInteger and NSUInteger
Original post of this solution came from no other than Greg Parker!
Original post of this solution came from no other than Greg Parker!
|
By
dhoerl
·
#50
·
|
|
Printing NSTextView puts text in middle of page
Printing a NSTextView centres the text (if it is less than one page in size) vertically in the page, as opposed to the top.
What do you need to do to fix this?
let tv =
Printing a NSTextView centres the text (if it is less than one page in size) vertically in the page, as opposed to the top.
What do you need to do to fix this?
let tv =
|
By
tridiak
·
#49
·
|
|
Re: NSInteger and NSUInteger
General information on format specifiers is here:
https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/Strings/Articles/formatSpecifiers.html
I use %td for NSInteger and %tu for
General information on format specifiers is here:
https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/Strings/Articles/formatSpecifiers.html
I use %td for NSInteger and %tu for
|
By
Steve Christensen
·
#48
·
|
|
Re: NSInteger and NSUInteger
Probably this was posted on Apple’s CocoaDev mailing list by someone who surely knows about these things.
Gerriet.
Probably this was posted on Apple’s CocoaDev mailing list by someone who surely knows about these things.
Gerriet.
|
By
Gerriet M. Denkmann
·
#47
·
|
|
Re: NSInteger and NSUInteger
Hi,
Thanks a lot for this - where did you find it?
Cheers
Dave
Hi,
Thanks a lot for this - where did you find it?
Cheers
Dave
|
By
Dave
·
#46
·
|
|
Re: NSInteger and NSUInteger
Where did you find this info? I've seen mention of them, but never an official type doc that lists them.
--
Steve Mills
Drummer, Mac geek
Where did you find this info? I've seen mention of them, but never an official type doc that lists them.
--
Steve Mills
Drummer, Mac geek
|
By
Steve Mills
·
#45
·
|
|
Re: NSInteger and NSUInteger
Formats for NS(U)Integer:
%t… (%td, %to, %tu %tx, %tX) for unsigned results NSUInteger
%z… (%zd, %zo, %zu %zx, %zX) for signed results NSInteger
Gerriet.
Formats for NS(U)Integer:
%t… (%td, %to, %tu %tx, %tX) for unsigned results NSUInteger
%z… (%zd, %zo, %zu %zx, %zX) for signed results NSInteger
Gerriet.
|
By
Gerriet M. Denkmann
·
#44
·
|
|
NSInteger and NSUInteger
Hi,
I’m trying to use NSInteger and/or NSUInteger in a InitWithFormat statement, I’m using %ld as the specifier but this is producing warnings? Has this changed recently, because code that used
Hi,
I’m trying to use NSInteger and/or NSUInteger in a InitWithFormat statement, I’m using %ld as the specifier but this is producing warnings? Has this changed recently, because code that used
|
By
Dave
·
#43
·
|
|
Re: BundleDisplayName
My guess is that it asymmetric for historical and/or compatibility reasons. There’s also something about the Finder storing a “.Localized…” named file inside the bundle, but I don’t know if
My guess is that it asymmetric for historical and/or compatibility reasons. There’s also something about the Finder storing a “.Localized…” named file inside the bundle, but I don’t know if
|
By
Quincey Morris
·
#42
·
|
|
Re: BundleDisplayName
Here the result of my investigations so far:
1. The file-system-name (shown by ls command) = PRODUCT_NAME.
The PRODUCT_NAME is initially set to $(TARGET_NAME).
Changing the Target Name to: “New
Here the result of my investigations so far:
1. The file-system-name (shown by ls command) = PRODUCT_NAME.
The PRODUCT_NAME is initially set to $(TARGET_NAME).
Changing the Target Name to: “New
|
By
Gerriet M. Denkmann
·
#41
·
|
|
Re: How to write better Swift
The problem is that Swift doesn’t have any backing stores separate from properties. As you say (if effect), backing stores are implementation details. In Swift, if a property implementation wants to
The problem is that Swift doesn’t have any backing stores separate from properties. As you say (if effect), backing stores are implementation details. In Swift, if a property implementation wants to
|
By
Quincey Morris
·
#40
·
|
|
Re: How to write better Swift
In that case I think we've gotten deeper than whether a set handler solves Gerriet's problem. I'm beginning to think there is no other good way to express exactly what he wants to do because Swift
In that case I think we've gotten deeper than whether a set handler solves Gerriet's problem. I'm beginning to think there is no other good way to express exactly what he wants to do because Swift
|
By
Fritz Anderson
·
#39
·
|
|
Re: BundleDisplayName
I’m not sure I understand completely, but I think you’re missing one point.
As with the base localization, which (as you say) means that Xcode treats it as the “localization” for the
I’m not sure I understand completely, but I think you’re missing one point.
As with the base localization, which (as you say) means that Xcode treats it as the “localization” for the
|
By
Quincey Morris
·
#38
·
|
|
Re: BundleDisplayName
Finder (at least in macOS 12.5) seems to work like this:
When an app.bundle is copied into some folder (and only then), it reads TheApp.app/Contents/Resources/<system
Finder (at least in macOS 12.5) seems to work like this:
When an app.bundle is copied into some folder (and only then), it reads TheApp.app/Contents/Resources/<system
|
By
Gerriet M. Denkmann
·
#37
·
|
|
Re: How to write better Swift
(Also to others suggesting will/didSet)
That doesn’t solve Gerriet’s problem. You can’t *prevent* setting the backing store without writing an actual setter. Similarly, if you want to constrain
(Also to others suggesting will/didSet)
That doesn’t solve Gerriet’s problem. You can’t *prevent* setting the backing store without writing an actual setter. Similarly, if you want to constrain
|
By
Quincey Morris
·
#36
·
|
|
Re: How to write better Swift
I'm missing something, possibly because the example code is abbreviated. Is this not equivalent?
var status: StatusEnum = .uninitialized {
// Sorry, "magic number" literals
// make my teeth
I'm missing something, possibly because the example code is abbreviated. Is this not equivalent?
var status: StatusEnum = .uninitialized {
// Sorry, "magic number" literals
// make my teeth
|
By
Fritz Anderson
·
#35
·
|