Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

swift

  1. P

    iOS How can I move a GMSMarker like uber app car object?

    I'm working on a project in which I need to move my GMSMarker on map like uber app does. The problem I'm facing on crossroads were I need to change the heading as well as bearing(rotation) at the end of road. I want my marker should move like: Car first move P1 to vertex point(meeting point)...
  2. BeefCake 15

    Taylor Swift versus YouTube

    Taylor Swift is on a new adventure to take on the Tube! http://edition.cnn.com/2016/06/21/entertainment/taylor-swift-dmca-youtube/index.html
  3. arkmannj

    iOS Are there any basic REPL apps that run on iOS?

    As I am learning Swift, I find it would be nice if I could practice and run through concepts when I have down time "on-the-go" without my laptop. I know that in Mac OS X (er... OS X....er Mac OS :-p) I can use Playground, and can even use the terminal. Also, I know that Apple is developing...
  4. 9

    macOS Any Tips on Core Animation books with Swift and Mac Only...

    Hello Guys, do you have any tips for CA books for Mac (swift programming language). I have checked the offers on Amazon also googled it but it seems that there are plenty of books for iOS but the not for Mac...
  5. Analog Kid

    iOS simd documentation? Preferably for Swift...

    Is there any documentation available for the simd.h library that Apple advertises alongside the Accelerate Framework? I don't think it's part of Accelerate, but the last few WWDCs have discussed it in the same session. I can get to the header files, which are better than nothing, but it would...
  6. arkmannj

    iOS XCode Noob Question: IB linking to Code

    Hello, I am just starting to learn Swift and XCode, and I had a quick question. I'm just learning about linking items in the Interface Builder (From a storyboard or XIB) to code by Ctrl+Click & dragging from the item in IB into the code, where XCode then places some code beginning with...
  7. iosmike

    iOS How can I convert url into text file?

    In my app there is a webview. User can save any currenturl for later reading. And I have figured out how to save the webpage as text so users can review it when internet not available. But the problem is, how to get rid of all the <> tags ? I mean any web page.
  8. iosmike

    iOS Why my simulator iCould Drive is empty?

    I want user to access iCould to pick documents. But in my simulator the iCould Drive is always empty. I already clicked Simulator - Debug - Trigger iCould sync after logged in when the app was running. So I want to know if something wrong with my code. Please help to check. Thank you for your...
  9. iosmike

    iOS How to add a file n iCloud to an array?

    In my app I need to pick a file from iCloud and put it in an array. But I have no idea how to grab the file picked. Please see my code below and help to finish. Thank you for your time! For iCloud, I picked key-value storage and iCould Documents import UIKit import MobileCoreServices...
  10. iosmike

    iOS Best option for iOS Apps to access Google Drive

    I need my app to enable users to access iCloud, Google Drive and Dropbox, etc. I have done research and got information below. Which is the best option for my app? 1. Set up Google Drive API for iOS, set up iCloud, etc one by one 2. I have set up Firebase for mp app. I read some...
  11. iosmike

    iOS Google Drive API for iOS Swift

    I followed the Google Drive API for iOS Quicstart and created a sample project, everything works ok. But when I did exactly the same thing to an existing project and ran on simulator. On simulator screen it shows: The operation couldn't be completed. (com.google.HTTPStatus error 401). In...
  12. iosmike

    iOS How to retrieve data from Firebase?

    I am trying to retrieve every object stored in Firebase. Not sure how to go ahead. The following is my code and snap.value printed. I need to retrieve String "cbc" and "cp24" as well as values for datesaved and url. "cbc" and "cp24" are names I entered when saving. My code...
  13. chrono1081

    iOS Can someone please explain this Swift syntax to me (NSURL(string...) )

    Hi guys, I'm hung up on some Swift syntax that I'm not sure why it is the way it is: if let url = NSURL(string: "http://www.google.com")! I get that it has a ! because the init method returns an optional, but what is the "string: " for? Is it just an explicit parameter name? I was under the...
  14. M

    iOS General questions regarding Swift

    I came from C# development and even though I've been spending the past few months looking into iOS development and know enough to keep me busy for a while, all I've ever seen is people putting code directly into the ViewController leading to a fat controller. My coding experience has led me to...
  15. M

    iOS No Error message in the debugger area in Xcode7.2 swift, only "(lldb)" is displayed

    Currently, I am working on my first app, the app crashes showing this error message[http://i.stack.imgur.com/Hf5Ce.png] and only (lldb) is displayed in the debugger area. I have attached the backtrace below. Please help me out. lldb) bt * thread #1: tid = 0x8e27, 0x000000010d581fed...
  16. M

    iOS Cannot call value for non-function type element ('aka' (key:anyobject ,value:anyobject)..

    How to resolve this error? I am new to programming and got totally struck with this error in all llines of code attached below videoObj.videoid = video("snippet.videoid") as! String videoObj.videoTitle = video("snippet.title") as! String videoObj.videoDescription =...
  17. buttongerald

    iOS Best Place To Start?

    Good Day Folks, Over the last few weeks, I have really spiked an interest in programming. I would love to learn how to do it, but I have zero knowledge of code. Graphics, photography, and video? You bet. But programming languages? Nope, I don't really remember HTML or CSS either as the last...
  18. F

    iOS Creating New App

    Hi All, I am creating new app with Swift to learn IOS development. I want to make iphone app like attached image. In this app there is two section. One is left image buttons. When user click one of them then I will show details. Should I put two view into view controller? What is the best way?
  19. V

    iOS How to convert xml(soap) response into nsdictionary in swift

    Help needed in swift language to convert below nsmutable string into nsdictionary. //-----------nsmutablestring: <INFO> <Store> <StoreName>Colombian Jeans USA</StoreName> <StoreCity>Tamarac</StoreCity> <StoreAddress>4638 nw 58 CT</StoreAddress>...
  20. P

    iOS Any good and up to date HealthKit tutorials available?

    So I'm new to programming and I'm currently working on a pet project and I've gotten stuck pretty hard. The essentials of it are that I want to read the distanceWalkingRunning data from HealthKit on a user's phone, store that information, and be able to print it to a UILabel in either Miles or...