my BS ver 1.0
-
I use iphone calendar and sync calendar to Snow Leopard, long live the beast!
-
No Google calendar.
| /* | |
| * Copyright (C) 2010 Neil Davies | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| #import <QuartzCore/QuartzCore.h> | |
| @interface ArrowLayer : CALayer | |
| @property (nonatomic) CGFloat thickness; | |
| @property (nonatomic) CGFloat startRadians; | |
| @property (nonatomic) CGFloat lengthRadians; | |
| @property (nonatomic) CGFloat headLengthRadians; | |
| @property (nonatomic, strong) UIColor *fillColor; |
| Can any one help me, how to create a php web service to send the web service request to iphone app. for example, | |
| iphone send the request to php web service it was working for me fine. but my need is php web service send the request to | |
| iphone app. Can please any one help for this scnerio. |
| // | |
| // FileUploader.swift | |
| // | |
| // Copyright (c) 2015 Narciso Cerezo Jiménez. All rights reserved. | |
| // Largely based on this stackoverflow question: http://stackoverflow.com/questions/26121827/uploading-file-with-parameters-using-alamofire/28467829// | |
| import Foundation | |
| import Alamofire | |
| private struct FileUploadInfo { |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>My awesome app</title> | |
| </head> | |
| <body> | |
| <h2>beta builds</h2> | |
| <a href="itms-services://?action=download-manifest&url=http://dl.dropbox.com/u/1001/manifest.plist">Awesome App v 0.0.16</a></body> | |
| <h2>alpha builds</h2> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>items</key> | |
| <array> | |
| <dict> | |
| <key>assets</key> | |
| <array> | |
| <dict> |
| import Foundation | |
| import Alamofire | |
| public enum Router:URLRequestConvertible { | |
| public static let baseUrlString:String = "http://testapi.example.com" | |
| case Upload(fieldName: String, fileName: String, mimeType: String, fileContents: NSData, boundaryConstant:String); | |
| var method: Alamofire.Method { | |
| switch self { | |
| case Upload: |
Read the blog at http://fokkezb.nl/2013/09/20/url-schemes-for-ios-and-android-2/
| <?php | |
| #API access key from Google API's Console | |
| define( 'API_ACCESS_KEY', 'YOUR-SERVER-API-ACCESS-KEY-GOES-HERE' ); | |
| $registrationIds = $_GET['id']; | |
| #prep the bundle | |
| $msg = array | |
| ( | |
| 'body' => 'Body Of Notification', |