atomicbird / ios-extension-demo Goto Github PK
View Code? Open in Web Editor NEWDemonstration of creating iOS "today" and "share" extensions
License: MIT License
Demonstration of creating iOS "today" and "share" extensions
License: MIT License
Hello , sir
I'm really struggle on working in google chrome browser.
It is working fine in safari browser.
But not working in chrome browser.
How can I do?
In Chrome Browser , JS file is not working.
Can you give me some advice?
Regards.
PS: I will pay for this work.
When running DemoNotes on iOS 8.3 and 8.1 simulator, it crashes with "Cannot create an SQL store with a nil URL.".
Am I missing some setting or is the app still buggy?
I am using Xcode 6.3.1
Hi,
Thanks for your sharing ^^
I have an ask about your last commit : "Add change notifications based on the Darwin notification center."
In DemoManager, there is this C function in an ObjC Class :
void sharedDataChangedCallback(CFNotificationCenterRef postingCenter,
void * observer,
CFStringRef name,
void const * object,
CFDictionaryRef userInfo)
{
// Springboard from Darwin notification center to NSNotificationCenter.
// Note that most of the received arguments are NULL with the Darwin notification center.
[[NSNotificationCenter defaultCenter] postNotificationName:kDemoNotesSaveByAppNotification object:[DemoNoteManager sharedManager]];
}
In my Swift class, always this same C function :
func sharedDataChangedCallback(center: CFNotificationCenterRef,
observer: AnyObject,
name: CFString,
object: AnyObject,
userInfo: CFDictionaryRef)
{ NSNotificationCenter.defaultCenter().postNotificationName(kDemoNotesSaveByAppNotification , object: CoreDataStore.sharedInstance)
}
When I call CFNotificationCenterAddObserver() in startObservingChangeNotifications() (in DemoManager) like that :
CFNotificationCenterAddObserver(center, nil, sharedDataChangedCallback, self.observingSaveNotificationName() as CFString!, nil, CFNotificationSuspensionBehavior.DeliverImmediately)
My method sharedDataChangedCallback
in Swift isn't correct but I don't know how to solve my issue. Could you help me about that ?
Morever, you have never called "stopObservingChangeNotifications()" in DemoManager. In MastViewController, I think this code misses :
-(void) deinit {
DemoNoteManager *sharedManager = [DemoNoteManager sharedManager];
[sharedManager stopObservingChangeNotifications];
}
At least on 10.3.3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.