You might want to include some of your code for loading the model, to make
this discussion less hypothetical.
Also, when you say that "ObjC works just fine", what does that mean?
Objective-C code in the same app that's trying to load the same model that
Swift code in that app can't load? Or some s
I am hoping to change the font for the buttons in a UIAlertController (not
the color, just the face as the styles give me what I want). It doesn’t
appear I can use an attributedString (takes String) - is there any action I
can take to achieve this besides subclassing?
Eric
What I mean is that if I create an App using ObjC and include my library and
bundle there is no error message. This message only happens with Swift based
apps. Apparently The Google Maps SDK had the same issue but their resolution
was sketchy.
> On Dec 15, 2015, at 9:41 AM, Sixten Otto wrote:
Yes, you can recursively iterate through the alert view's subviews and check
for a UILabel and set the font on it. It's hacky but I don't think there's
another way
Wysłane z iPhone'a
Dnia 15.12.2015 o godz. 15:44 Eric E. Dolecki napisał(a):
> I am hoping to change the font for the buttons in
> On Dec 15, 2015, at 8:53 AM, Wojciech Czekalski wrote:
>
> Yes, you can recursively iterate through the alert view's subviews and check
> for a UILabel and set the font on it. It's hacky but I don't think there's
> another way
Do NOT do things like this. The view hierarchy is considered pri
I dont recommend it either but it is possible to do it this way. It requires
extensive testing etc. If done properly however won't crash your app if
anything but will silently fail.
Wysłane z iPhone'a
Dnia 15.12.2015 o godz. 18:04 David Duncan napisał(a):
>
>> On Dec 15, 2015, at 8:53 AM, W
> On Dec 15, 2015, at 10:23 AM, Wojciech Czekalski wrote:
>
> I dont recommend it either but it is possible to do it this way. It requires
> extensive testing etc. If done properly however won't crash your app if
> anything but will silently fail.
What I’m saying is that UIKit won’t guarante
I will echo the sentiments NOT to poke around into view hierarchies which
aren’t public parts of the interface. It might work now but you will lose in
the long run when Apple changes something, which they will.
I suggest looking into using Appearance proxies. You can change just about any
style
It would appear that the UIAlertController (UIAlertAction) does not conform
to appearance proxies. Here is a list of controls that do (up to iOS 8.0)
On Tue, Dec 15, 2015 at 2:09 PM Doug Hill wrote:
> I will echo the sentiments NOT to poke around into view hierarchies which
> aren’t public parts
What I do is use the Appearance proxies to customize the button, not the
UIAlertController. For example, use the Appearance proxy to set font of a
button when contained in a UIAlertController.
Doug Hill
> On Dec 15, 2015, at 12:09 PM, Eric E. Dolecki wrote:
>
> It would appear that the UIAle
So you’re talking about iterating through the subviews to find the
UIButton. Which most feel is not the most prudent way to tackle this. If I
had direct access to buttons, I could just set the font for them and not
bother with appearance proxy.
Either I’ll live with the way the alerts look now and
Instead of changing a single instance, the appearance proxies change the style
for all instances of a control. So, calling:
[[UIButton appearance] setTitleColor:newColor]
would change the title color for all buttons in your app. I’m going to leave as
an exercise to the reader how to change the
I am trying to debug the following error.
: CGContextClipToRects: invalid context 0x0. This is a serious error.
This application, or a library it uses, is using an invalid context and is
thereby contributing to an overall degradation of system stability and
reliability. This notice is a courtes
I'm working on an OS X app that unfortunately has to call a series of bash and
python scripts for part of the processing it does. I was able to include the
scripts in my app's bundle, and invoke them there, but the environment is
different when launched via my app than when launched on the comma
14 matches
Mail list logo