Search results for

show when run

112,682 results found

Post

Replies

Boosts

Views

Activity

Reply to Drawing a single character with Core Text
Thanks, it wasn't a location problem but this shows me what is happening. What I found by incrementing the font size was the font scales up to a certain point, then no longer shows up after I get past a certain size. Normally, I'm using NSString.sizeWithAttributes in a loop to find the largest font that will fit in my image rect. But, when I draw at that font size the character doesn't show up. The line height is about 69 and my image height is 75. There's plenty of space left and I'd like this one character to be drawn at around that ratio to the height. However, when I use your increment method, I can get all the way up to a font size with a line height of 62 centered as I want before the character will start disappearing. Any clue why?BTW, the largest font size I get up to is 38 if that means anything to you.
Topic: App & System Services SubTopic: General Tags:
Jun ’15
Reply to Apple ID username or password is "incorrect" while trying to install OS X 10.11
Yeah i am having the same problem.I can sign in alright on my iOS devices, but my Mac can't sign into icloud.I have experience the following instances:1) Installed 10.11 onto a machine, which didn't use my icloud account - I can't sign in (Don't have a screenshot for that)2) Upgraded a machine that was using my icloud as my account and it seems to have signed in, but then whenever I need use an app relying on it I get the following message. (Screenshot 1)and when I want to see my icloud account details I see this:Hope this gets fixed soon.(This post has images, but they do not always seem to load, I will check again in a little while)(May have to use my TM backup for the time being)**EDIT**Just in case someone does not know what I am talking about, here is a link to the images.For some reason, this forum, does not show them in the final version, but it does when I edit the post.http://imgur.com/a/einpu
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Moving function pointer code to Swift 2
My sqlite code doesn't compile anymore in Swift 2. The problem lines are this:let SQLITE_STATIC = sqlite3_destructor_type(COpaquePointer(bitPattern: 0)) let SQLITE_TRANSIENT = sqlite3_destructor_type(COpaquePointer(bitPattern: -1))Command clicking to Swift's import of sqlite shows this:typealias sqlite3_destructor_type = (UnsafeMutablePointer<Void>) -> VoidComing from the following in sqlite3.h:typedef void (*sqlite3_destructor_type)(void*); #define SQLITE_STATIC ((sqlite3_destructor_type)0) #define SQLITE_TRANSIENT ((sqlite3_destructor_type)-1)Anyone know how to create those two constants in Swift 2.0? Even better if there's some way to import sqlite in Swift 2 without this bridging header stuff.Rob
2
0
726
Jun ’15
Watch OS 2 Beta
Hello,i tried to update my Apple Watch on Watch OS 2 Beta, but it crashes an now i cant Reset my Apple Watch. It only shows a red exclamation Mark.Anyone other got this Problem?Is there a way to get Help in the Apple Store?
8
0
1.2k
Jun ’15
Xcode 7 bots 'Integration pending' message
Yesterday I successfully installed 10.10.4 and Server 4.1.51 along with Xcode 7 beta. Then I setup Xcode server and chose the Xcode 7 beta. I setup a simple single view iOS 9 app with one unit test and one UI test. Then I added the project to the Xcode server and created a bot to run on every commit. This worked perfectly - with each commit, the bot ran and produced a successful build with no failures. Today I installed the preview of 10.11. The installation went successfully, but now whenever I try to run my bot, I just get Integration pending... message for the integration in Xcode. I tried deleting the bot and recreating it. Still I get the same error. Why?
4
0
4.2k
Jun ’15
Reply to WWDC Platforms State of the Union Notes
/System/Library/LaunchDaemons com.apple.rootless.init.plistThere's also a LaunchD located above./System/Library/PrivateFrameworks/SIUFoundation.frameworkNew SIU framework that I haven't delved into./System/Library/PrivateFrameworks/WatchdogService.frameworkShowed Rich this earlier. Return of the Apple Server?/System/Library/CoreServices/Security Configuration.app/System/Library/CoreServices/Security Configuration.app/Contents/MacOS/Security ConfigurationYou can run this binary without going into the Recovery Partition, however there are not any CLI options./System/Library/CoreServices/XProtect.BundleNew bundle for XProtect
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
iOS 9 simulator black screen
I tried to run an existing app in the iOS 9 simulator but all I get is a black screen with a white apple logo and a progress bar. It looks like the simulator is downloading a new version of iOS? It's been sitting there for 15 minutes without moving. What's going on?
6
0
15k
Jun ’15
Bitcode and Assembly?
I work for a third party library vendor and we are pretty sure our customers will ask us for a Bitcode version of our library.We are very performance sensitive though, and we've optimized critical sections of our library in NEON assembly. When we compile to LLVM bitcode, we are assuming that NEON assembly will be encapsulated. Is that correct?We're also worried about writing code in assembly though. Bitcode seems to leave open the possibility that our application could end up running on a platform who's capabilities we did not optimize for in advance. It seems like it might be a good idea to make sure our software paths are working well. Would it also be a good idea to attempt to drop out of NEON directly and use the LLVM SIMD intrinsics? I believe Accelerate was also tried and found to be too high level for our stuff. We're also multiplatform.
19
0
30k
Jun ’15
Reply to Compound AND predicate for many to many relationship using SUBQUERY
In reverse order:Go to the Content link, https://forums.developer.apple.com/contentThe threads you've created should show up under 'Authored'. The threads you've posted in should show up under 'Participated'.For(SUBQUERY(events,$x, $x.event LIKE[d] %@))it's important to understand that it's an expression which evaluates to a collection, not a single boolean value. That means that(SUBQUERY(events,$x, $x.event LIKE[d] %@))by itself isn't a valid predicate because doesn't evaluate to a boolean value. You need to embed the subquery expression in a complete boolean expression like(SUBQUERY(events,$x, $x.event LIKE[d] %@)).@count > 0
Jun ’15