Data dodania Pytanie
2017-03-06 07:03 How to pass json image data to collection view pinterest style in swift »
Am developing a app using swift 2.2 in my app am using collection view with pinterest style so that am followed a method: https://github.com/chiahsien...
(0) odpowiedzi
2017-03-05 05:03 How to share a link post to Facebook via the native share dialog? »
I'm trying to let users share content on Facebook from my app: let composeSheet = SLComposeViewController(forServiceType: SLServiceTypeFacebook) ...
(1) odpowiedzi
2017-03-04 18:03 How to open calendar and save an event? »
I am trying to save an event to the calendar, but I would like to open the calendar to allow the user to customize the fields. This is what I have so ...
(0) odpowiedzi
2017-03-04 08:03 getting error while grabing JSON in swift3 »
class Get { class func JSON(url:String,callback:@escaping (NSDictionary)->()) { requestJSON(url: url,callback: callback) } class func request...
(1) odpowiedzi
2017-03-03 21:03 Keyboard doesn't go away even after alert disappears. (even though textfield from uiAlertController resgins as firstresponder) »
I have an UIAlertController with a textfield that the user uses to type in the password. The alertController has two actions, and in one of them i pro...
(0) odpowiedzi
2017-03-02 19:03 No matching provisioning profiles found (None of the valid provisioning profiles allowed the specified entitlements) »
I am getting an error when archiving: Code Sign error: No matching provisioning profiles found: None of the valid provisioning profiles allowed the s...
(2) odpowiedzi
2017-03-02 08:03 iOS App Crashed for a few Device »
The app is working well for all the devices, but in a particular device, it crashes just after launch. I didn't get any crash log through BugFender fo...
(1) odpowiedzi
2017-03-01 14:03 Swift3 JSON Error - Cannot subscript value of type AnyObject »
Getting an error (Cannot subscript value of type 'AnyObject') in conversion from swift2 to swift3. The code is from monopoly game from github written ...
(1) odpowiedzi
2017-03-01 09:03 Check character in documentContextBeforeInput in Custom keyboard »
///Here is my Function for Button press @IBAction func keyPressed(_ button: UIButton) { var buttonTap = button.titleLabel!.text...
(1) odpowiedzi
2017-03-01 05:03 Swift iOS -How to pop to different SegmentControl Index using a NavigationController »
//Index=0 //contains buttonToSwitchTab to pop to TabOneVC TabZeroNavCnt...
(2) odpowiedzi
2017-02-28 22:02 <unknown>:0: error: type 'Key' constrained to non-protocol type 'String' »
Migrating to Swift 3 from 2.3 and am running into this issue. The error is traceable to a view controller. I do not see any extensions/protocols w...
(1) odpowiedzi
2017-02-28 10:02 UICollectionView Inside of UITableViewCell: Crashing in iPhone 6S Plus »
The Following is not Running Perfectly in iPhone 6S Plus. Runs in iPhone 5s as Expected. Its Just A sample Code.It is also having same issue. Rows: ...
(0) odpowiedzi
2017-02-27 19:02 SWIFT 2.3 - take out html tags from string taken from JSON url »
I It shows the raw HTML of the post. I would like to know how to convert the HTML into plain text for just the UITextView. Thanks! swift 2.3 ?? if a...
(1) odpowiedzi
2017-02-26 05:02 fetch only particular data from firebase »
I am using firebase in my swift 2 project. { 'Registration' { 'SomerandomkeyofuserID': { 'Car': { ...
(1) odpowiedzi
2017-02-26 04:02 How do I write this code according to the swift 3 syntax? »
I am trying to get my app to play a sound, and this code was a resource available on my Udemy Course (which is for Swift 2 :( ) func playSound(fileNa...
(1) odpowiedzi
2017-02-25 18:02 Query in Firebase database in swift 2 »
I am using Firebase database with Swift2 My database looks like this: Below code gives me all the data under car. But I want the particular data....
(0) odpowiedzi
2017-02-23 09:02 How to get low quality thumbnail of remote video instantly using AVAssetImageGenerator »
I'm receiving a high/medium quality thumbnail of remote video by AVAssetImageGenerator, but still it takes 10 to 15 seconds to get thumbnail out of it...
(1) odpowiedzi
2017-02-23 09:02 UITableview lost reference after pop view controller »
For example i have ViewController1 with UITableview object and data.Then i will push to another controller from ViewController1 to ViewController2 . ...
(1) odpowiedzi
2017-02-23 07:02 Swift 2: Populating a TableView with two CoreData entities »
This is my second question here on the site so any feedback is appreciated in regards to question format. With that being said here's my problem: I'm...
(1) odpowiedzi
2017-02-22 23:02 Ios Swift Toggle underline of attributed string »
I hav written two fuction to Add underline to a String and remove underline : I want to toggle underline with a button. So how do I check if NSMutabl...
(1) odpowiedzi
2017-02-22 10:02 Motion detection from camera live stream in iOS Swift »
I am making an application in which i have to open the camera and track the motion from camera live video/stream. and then detect the frame change and...
(0) odpowiedzi
2017-02-21 19:02 iOS: Swift 2 to Swift 3: Convert Strings to Data »
Help me to convert that peace of code from Swift 2 to Swift 3: func createBodyWithParameters(parameters: [String: String]?, filePathKey: String?, ima...
(2) odpowiedzi
2017-02-20 19:02 How to update tabBar badge value on receiving notification »
How can I make a background API call on receiving notification to update tab bar badge value in swift 2.3? I am using following code to update badge ...
(1) odpowiedzi
2017-02-20 09:02 How to load api in CHTCollectionViewWaterfallLayout in swift »
Hi am developing app using swift 2.2 in myapp i want to use Pinterest style collection view so that i followed a method https://github.com/chiahsien/C...
(0) odpowiedzi
2017-02-20 06:02 cellForItemAtIndexPath is not called when collectionVIew is reload »
I am using UICollectionView which has WebView. I have created CollectionView programmatically with UICollectionViewFlowLayout, like this coll...
(0) odpowiedzi
2017-02-19 09:02 try to find direction between two co-ordinates in safari map »
I am trying the below code.But apple map not able to show the location. for example url i am using is : http://maps.apple.com/?saddr=23.5203,73.8557...
(0) odpowiedzi
2017-02-19 08:02 Json parsing in swift2 »
below is the code used to fetch the location let urlPath: String = "https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=23.8670522,...
(1) odpowiedzi
2017-02-19 08:02 draw navigation route in google map for swift2 »
**Hello, I want to write the similar type of objective-C code in SWIFT-2 language to draw the route between two points** - (void)drawRoute ...
(0) odpowiedzi
2017-02-18 17:02 How to integrate SwiftyJSON Cocoapod into Xcode 7.3.1 Swift 2.2 »
I'm using cocoapods to install SwiftyJSON into Xcode 7.3.1 Swift 2.2 and I get 158 build errors. This is the pod I'm using: pod 'SwiftyJSON', :git =&...
(1) odpowiedzi
2017-02-18 06:02 Where to store API keys on Swift? »
I have a bunch of API keys and secrets (Stripe, Cloudinary etc), that are currently hard coded in my app. Where is the right place to store them? Shou...
(2) odpowiedzi
2017-02-17 22:02 Share to WhatsApp like Apple Music App »
So, the Music App from the iPhone shares with UIDocumentInteractionController and shares to WhatsApp internally, in other words, it doesn't take you t...
(0) odpowiedzi
2017-02-17 09:02 swift: returning a child node with the same position »
I have Two Sprite nodes in a function from a swift file. Both nodes are similar in size and position. Node2 is a child of node. When the nodes are a...
(1) odpowiedzi
2017-02-16 19:02 SQLite.swift. Swift Compile Error »
My Xcode project created in Xcode 8.1 with swift 2.3 runs correctly in simulator, but when I try to build and run the same project in Xcode 8.2 it sho...
(0) odpowiedzi
2017-02-16 13:02 PATCH with Alamofire (swift 2.3) »
I have a problem, i try to update with PATCH method using Alamofire, but no changes are reflected. I Think in one of those I am making some mistake. ...
(2) odpowiedzi
2017-02-15 23:02 Xcode 7 Swift 2.3 Project wont build in Xcode 8 Legacy Swift Setting »
I have a project that builds and runs in Xcode 7.3 Swift 2.3. Same project will not compile in Xcode 8.2 when I set the build to Swift to Legacy 2....
(0) odpowiedzi