Search results for

Apple Maps Guides

149,482 results found

Post

Replies

Boosts

Views

Activity

How can I call a function when a specific condition is met ?
This is my first AppIm trying to create a similar user interface of the Apple Watch Home Screen for the iphone to practice.I created this application on which you can scroll, zoom and press the buttons. I was doing find until I was unable to resize the button that are touching the edges of the screen. I tried to use the objects CGpoints to find if they are at the edges but could not trigger a event which could call a function if this condition was met.Any Ideas ? 🙂Tell me if you dont understand my question 😊
2
0
219
Jun ’15
Reply to SIMD Vector Operations in Swift 2
You can now import simd to get access to the same functionality that C/C++/ObjC programs get via #include <simd/simd.h>The Swift syntax seems to be similar to the C++ syntax, except that some functions and initializers have named arguments:import simd let vec1 = float4(1.0, 2.0, 3.0, 4.0) let length1 = length(vec1) let vec2 = float4(1.0, 1.0, -1.0, -1.0) let dotProduct = dot(vec1, vec2) let elementwiseMultiplication = vec1*vec2 let matrix1 = float4x4([[0,1,1,1], [-1,2,0,3], [-3,0,-4,5],[-1,-1,2,2]]) let matrix2 = float4x4(diagonal:[1,2,3,4]) let matrix3 = matrix1 + matrix2 let matrix4 = matrix3.transposeI haven't found any Swift documentation yet (aside from option-clicking a symbol to get the popup description or command-clicking to get Xcode's pseudo-header thing), but through trial and error (and Xcode's autocompletion) it's pretty easy to figure out how the C++ version maps into Swift.Also, it looks like it's not done yet. while simd.vector and simd.matrix work fine, simd.logic doesn't seem
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Password expired when trying to log in to ADF
For me it give me some error about how this Apple ID can't use this service and that I should go make a new Apple ID. (Um, no. THIS is the Apple ID for which I pay my $99/year to access the developer program…)Anyway, it seems that the Log in link In the upper-left of forum pages is broken in some way. But if you've logged into any other part of the developer site (e.g., the Member Center link in the upper-right corner) then you can get into the Forum just fine. (Until your session cookie times out and it's time to log in again.)
Jun ’15
downgraded from ios9 to 8.3 - watch bricked
I hated ios9 so much that I downgraded it to 8.3. Didn't know that watch ios 2 won't pair with 8.3. so,..guess I'm stuck. Should I go back to ios9 on iphone or should I just wait it out and hope that eventually they'll offer watch 3.0 and that'll pair with 8.3? Not sure what to do! Not happy with Apple at all!!! What should I do? Which will happen faster, do you think? That ios9 will improvve or that watch 3 will be available and it'll pair with 8.3? What a drag. Help please!!
5
0
1.8k
Jun ’15
Reply to downgraded from ios9 to 8.3 - watch bricked
Dont know what you mean by watch 3. There won't be a watchOS 3 until next year.watchOS2.0 will never work with iOS 8.xright now your choices are:- live with a bricked watch- continue to use iOS 9 and hope it gets less buggy soon. For me this is not really an option.- Hope that Apple releases some way to downgrade the watch back to OS 1.x
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Apple watch simulator no longer runs after updating to Xcode 6.3.2 (6D2105)
I've updated my Xcode to Xcode 6.3.2 (6D2105). Now all my existing Apple Watch projects no longer open the Apple Watch simulator (but code runs).I've tried creeating a clean project as well and added the Watch target. The WatchKit App, Notifcation, and Glances targets run, but the Apple Watch simulator doesn't show up.Only the iPhone target sim appears (and runs when that target is selected).I'm I missing some new setting to configure the sim to appear?PS: Running iPhone 6 / iOS 8.3 (12F69) sim
1
0
743
Jun ’15
Reply to Do we have to support 3.5 inch screens?
I read somewhere that developers are now allowed to ship apps that require 64 bit hardware (I didn't see the WWDC video where this was announced, I read it on some blog so...it could be misinformation, though I have no reason to believe it is).In theory, Apple could release a 3.5 inch iPhone in the future with 64 bit support, so relying on that could cause problems in the future (and your app would also have to be universal...if it's iPhone-only it may still run on the iPad in compatibility mode...though I'd think by now they would change that to have the iPad scale up the iPhone 6 Plus layout instead.....I imagine that would look better than using the 3.5 inch).Handling the old 3.5 inch iPhone can be a pain for some designs...because it's smaller and the proportion isn't the same as the other iPhones so certain design things cannot be solved with math.
Jun ’15
ErrorType and userInfo dictionaries
NSError has a way to carry additional information around with it: the userInfo dictionary. This includes user-facing information like the localized description, of course, but it also includes tremendously useful details such as underlying errors, particular problem files, etc.ErrorType enums have a way to carry associated data too: values associated with the cases.Is there some way to bridge these two worlds? Obviously the ideal thing would be if Swift synthesized code that automatically mapped associated value tuple fields into userInfo keys, but even if I had to implement a function or computed property to do it myself, that'd be way better than nothing.
9
0
5.9k
Jun ’15
Reply to Does anyone have sample code for complications?
I've watched the Creating Complciations with WatchKit video and while I have a functioning 3rd-party complication I'm still unsure how and when the WatchKit extention is opened in the background to check if the data is stale. Apple doesn't seem to mention this in the videos and the documention seems to be pretty vauge on the topic only stating that the extention will be woken up. Anyone know if there is a delgate call or notificaiton that is triggered when ClockKit wakes up your extention?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to MKMapViewDelegate no longer supported?
There was a talk on What's New in Core Location yesterday that covered it:https://developer.apple.com/videos/wwdc/2015/?id=714Also, Apple have posted a sample project on how to do it with watchOS 2.0:https://developer.apple.com/library/prerelease/watchos/samplecode/PotLoc/Introduction/Intro.html#//apple_ref/doc/uid/TP40016176
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
app crashes during the review
Hello all,first time i am submiting an app.It is very simple app and for unexplained reason it crashed during apple review.i received the following details:During review, your app crashed on iPad running iOS 8.3 and iPhone running iOS 8.3 when we:1) launch app2) tap start button3) app crashesThis occurred when your app was used:- Offline- On Wi-Fi- On cellular networkI tested the app on my iphone and ipad,which has the same IOS version, also sent to other Iphone via Test Flight. Tested on simulators.The sent me a crash log but i can't find any usefull info or i can't read it right.Can anyone help please
5
0
2.7k
Jun ’15